6.9 Learn About Fill Parameters for a Variable: NF_INQ_VAR_FILL
The function NF_INQ_VAR_FILL returns the fill settings for a
variable in a netCDF-4 file.
Usage
NF_INQ_VAR_FILL(INTEGER NCID, INTEGER VARID, INTEGER NO_FILL, FILL_VALUE)
NCID
- NetCDF ID, from a previous call to NF_OPEN or NF_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
NF_NOERR
- No error.
NF_BADID
- Bad ncid.
NF_ENOTNC4
- Not a netCDF-4 file.
NF_ENOTVAR
- Can't find this variable.
Example