6.5 Learn About Fill Parameters for a Variable: NF90_INQ_VAR_FILL
The function NF90_INQ_VAR_FILL returns the fill settings for a
variable in a netCDF-4 file.
Usage
NF90_INQ_VAR_FILL(INTEGER NCID, INTEGER VARID, INTEGER NO_FILL, FILL_VALUE)
NCID
- NetCDF ID, from a previous call to NF90_OPEN or NF90_CREATE.
VARID
- Variable ID.
NO_FILL
- An integer which will get a 1 if no_fill mode is set for this
variable, and a zero if it is not set
FILL_VALUE
- This will get the fill value for this variable. This
parameter will be ignored if it is NULL.
Return Codes
NF90_NOERR
- No error.
NF90_BADID
- Bad ncid.
NF90_ENOTNC4
- Not a netCDF-4 file.
NF90_ENOTVAR
- Can't find this variable.
Example