The NCDF_CONTROL procedure performs miscellaneous netCDF operations.
Different options are controlled by keywords. Only one keyword can be specified in any call to NCDF_CONTROL, unless the OLDFILL keyword is specified.
Set this keyword to close a netCDF file that is not in define mode. If the file is being created and is still in define mode, the file is deleted. If define mode was entered by a call to NCDF_CONTROL with the REDEF keyword, the netCDF file is restored to its state before definition mode was entered, and the file is closed.
Set this keyword so that data in the netCDF file is pre-filled with default fill values. The default values (which cannot be changed) are:
Set this keyword so that data in the netCDF file is not pre-filled. This option saves time when it is certain that variable values will be written before a read is attempted.
Set this keyword to suppress the printing of netCDF error messages. Cdfid is required but not used.
This keyword specifies a named variable in which the previous fill value is returned. This keyword can only be used in combination with the FILL or NOFILL keywords. For example:
See the examples under NCDF_ATTINQ and NCDF_VARPUT .