Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Next: , Previous: NF90_DEF_VAR_FLETCHER32, Up: Variables


6.9 Learn About Fletcher32 Parameters for a Variable: NF90_INQ_VAR_FLETCHER32

The function NF90_INQ_VAR_FLETCHER32 returns the fletcher32 settings for a variable in a netCDF-4 file.

Usage

       function nf90_inq_var_fletcher32(ncid, varid, fletcher32)
         integer, intent(in) :: ncid
         integer, intent(in) :: varid
         integer, intent(out) :: fletcher32
         integer :: nf90_inq_var_fletcher32
NCID
NetCDF ID, from a previous call to NF90_OPEN or NF90_CREATE.
VARID
Variable ID.
FLETCHER32
NF90_INQ_VAR_FLETCHER32 will set this to 1 if the fletcher32 filter is turned on for this variable, and 0 if it is not.

Errors

NF90_INQ_VAR_FLETCHER32 returns the value NF90_NOERR if no errors occurred. Otherwise, the returned status indicates an error.

Possible return codes include:

NF90_NOERR
No error.
NF90_BADID
Bad ncid.
NF90_ENOTNC4
Not a netCDF-4 file.
NF90_ENOTVAR
Can't find this variable.

Example


       
 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690