Package ucar.nc2.iosp
Class NCheader
java.lang.Object
ucar.nc2.iosp.NCheader
Deprecated.
Will move to internal module in version 6.
Common header for netcdf3, netcdf4, hdf5, hdf4.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]Deprecated.static final byte[]Deprecated.static final byte[]Deprecated.static final byte[]Deprecated.static final byte[]Deprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intDeprecated.Figure out what kind of netcdf-related file we have.static StringformatName(int format) Deprecated.
-
Field Details
-
H5HEAD
public static final byte[] H5HEADDeprecated. -
H4HEAD
public static final byte[] H4HEADDeprecated. -
CDF1HEAD
public static final byte[] CDF1HEADDeprecated. -
CDF2HEAD
public static final byte[] CDF2HEADDeprecated. -
CDF5HEAD
public static final byte[] CDF5HEADDeprecated. -
NC_FORMAT_NETCDF3
public static final int NC_FORMAT_NETCDF3Deprecated.- See Also:
-
NC_FORMAT_64BIT_OFFSET
public static final int NC_FORMAT_64BIT_OFFSETDeprecated.- See Also:
-
NC_FORMAT_NETCDF4
public static final int NC_FORMAT_NETCDF4Deprecated.- See Also:
-
NC_FORMAT_64BIT_DATA
public static final int NC_FORMAT_64BIT_DATADeprecated.- See Also:
-
NC_FORMAT_HDF4
public static final int NC_FORMAT_HDF4Deprecated.- See Also:
-
NC_FORMAT_CLASSIC
public static final int NC_FORMAT_CLASSICDeprecated.- See Also:
-
NC_FORMAT_64BIT
public static final int NC_FORMAT_64BITDeprecated.- See Also:
-
NC_FORMAT_CDF5
public static final int NC_FORMAT_CDF5Deprecated.- See Also:
-
NC_FORMAT_HDF5
public static final int NC_FORMAT_HDF5Deprecated.- See Also:
-
-
Constructor Details
-
NCheader
public NCheader()Deprecated.
-
-
Method Details
-
checkFileType
Deprecated.Figure out what kind of netcdf-related file we have. Constraint: leave raf read pointer to point just after the magic number.- Parameters:
raf- to test type- Returns:
- integer that matches constants in netcdf-c/include/netcdf.h
- Throws:
IOException
-
formatName
Deprecated.
-