|
|
|||
|
||||
NF_INQ_VAR_FLETCHER32The function NF_INQ_VAR_FLETCHER32 returns the fletcher32 settings for a variable in a netCDF-4 file.
NF_INQ_VAR_FLETCHER32(INTEGER NCID, INTEGER VARID, INTEGER FLETCHER32);
NCIDVARIDFLETCHER32NF_INQ_VAR_FLETCHER32 returns the value NF_NOERR if no errors occurred. Otherwise, the returned status indicates an error.
Possible return codes include:
NF_NOERRNF_BADIDNF_ENOTNC4NF_ENOTVARIn this example from nf_test/ftst_vars.F the fletcher32 filter is checked for a file. Since it was turned on for this variable, the fletcher32 variable is set to 1.
retval = nf_inq_var_fletcher32(ncid, varid, fletcher32)
if (retval .ne. nf_noerr) call handle_err(retval)
if (fletcher32 .ne. 1) stop 2
| Contact Us Site Map Search Terms and Conditions Privacy Policy Participation Policy | ||||||
|
||||||