Previous: NcML Next: Other NetCDF Utilities Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Utilities: ncdump and ncgen

5.13 Special attributes for netCDF-4 data
To display new characterisitics of netCDF-4 data, such as compression and chunking:

The special attributes include:

_ChunkSizes a list of chunk sizes for each dimension of the variable
_DeflateLevel an integer between 0 and 9 inclusive if compression was specified for the variable
_Endianness either `little' or `big', depending on how the variable was stored when first written
_Fletcher32 `true' if the checksum property was set for the variable
_Format a global attribute specifying the netCDF format variant, one of `classic', `64-bit offset', `netCDF-4', or `netCDF-4 classic model'
_NoFill `true' if the persistent NoFill property was set for the variable when it was defined
_Shuffle `true' if use of the shuffle filter was specified for the variable
_Storage `contiguous' or `chunked', depending on how the variable's data is stored
$ ncdump -s -h mslp.nc
netcdf mslp {
dimensions:
	lat = 6 ;
	lon = 4 ;
	time = UNLIMITED ; // (2 currently)
variables:
	float lat(lat) ;
		lat:units = "degrees_north" ;
	float lon(lon) ;
		lon:units = "degrees_east" ;
	double time(time) ;
		time:units = "seconds since 2009-01-01" ;
	float pr(time, lat, lon) ;
		pr:standard_name = "air_pressure_at_sea_level" ;
		pr:units = "hPa" ;
// global attributes:
		:title = "example for workshop" ;
		:_Format = "classic" ;
}

 


Previous: NcML Next: Other NetCDF Utilities Table of contents Frames User guide
2009 Unidata NetCDF Workshop for Developers and Data Providers > NetCDF Utilities: ncdump and ncgen