gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
gdncfiledatamode.f90 File Reference

netCDF ファイルをデータモードに切り替え More...

Go to the source code of this file.

Functions/Subroutines

integer function gdncfiledatamode (fileid)

Detailed Description

netCDF ファイルをデータモードに切り替え

Author
Yasuhiro MORIKAWA, Eizi TOYODA

Definition in file gdncfiledatamode.f90.

Function/Subroutine Documentation

◆ gdncfiledatamode()

integer function gdncfiledatamode ( integer, intent(in) fileid)

netCDF ファイルをデータモードに切り替え

nf90_enddef を呼び出して定義モードを終了します。 既にデータモードの場合はエラーではなく NF90_NOERR を返します。

Parameters
[in]fileidnetCDF ファイル ID
Returns
ステータスコード (成功時は NF90_NOERR)

Definition at line 35 of file gdncfiledatamode.f90.

36 use netcdf, only: nf90_enddef, nf90_enotindefine, nf90_noerr
37 use dc_trace, only: dbgmessage
38 implicit none
39 integer, intent(in):: fileid
40 character(*), parameter:: subname = "GDNcFileDataMode"
41continue
42 call dbgmessage(subname)
43 result = nf90_enddef(fileid)
44 if (result == nf90_enotindefine) result = nf90_noerr
デバッグ時の追跡用モジュール
Definition dc_trace.f90:150
subroutine, public dbgmessage(fmt, i, r, d, l, n, c1, c2, c3, ca)
Definition dc_trace.f90:680

References dc_trace::dbgmessage().

Here is the call graph for this function: