Fletcher32 checksum setting for NetCDF variable
setting = netcdf.inqVarFletcher32(ncid,varid)
setting = netcdf.inqVarFletcher32(ncid,varid)
returns
the Fletcher32 checksum setting for the NetCDF variable specified
by varid
in the file or group specified by ncid
.
|
Identifier for NetCDF file, returned by |
|
Identifier of NetCDF variable. |
|
Character vector specifying whether the Fletcher32 checksum
is turned on for the specified variable.
|
This example opens the sample NetCDF file and gets information about the checksum setting for a variable.
ncid = netcdf.open('example.nc','NOWRITE'); varid = netcdf.inqVarID(ncid,'temperature'); setting = netcdf.inqVarFletcher32(ncid,varid); netcdf.close(ncid);
This function corresponds to the nc_inq_var_fletcher32
function
in the netCDF library C API.
For copyright information, read the netcdfcopyright.txt
and mexnccopyright.txt
for
more information.