Package ucar.nc2.iosp
Class NCheader
- java.lang.Object
-
- ucar.nc2.iosp.NCheader
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]CDF1HEADDeprecated.static byte[]CDF2HEADDeprecated.static byte[]CDF5HEADDeprecated.static byte[]H4HEADDeprecated.static byte[]H5HEADDeprecated.static intNC_FORMAT_64BITDeprecated.static intNC_FORMAT_64BIT_DATADeprecated.static intNC_FORMAT_64BIT_OFFSETDeprecated.static intNC_FORMAT_CDF5Deprecated.static intNC_FORMAT_CLASSICDeprecated.static intNC_FORMAT_HDF4Deprecated.static intNC_FORMAT_HDF5Deprecated.static intNC_FORMAT_NETCDF3Deprecated.static intNC_FORMAT_NETCDF4Deprecated.
-
Constructor Summary
Constructors Constructor Description NCheader()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static intcheckFileType(RandomAccessFile raf)Deprecated.Figure out what kind of netcdf-related file we have.static StringformatName(int format)Deprecated.
-
-
-
Field Detail
-
H5HEAD
public static final byte[] H5HEAD
Deprecated.
-
H4HEAD
public static final byte[] H4HEAD
Deprecated.
-
CDF1HEAD
public static final byte[] CDF1HEAD
Deprecated.
-
CDF2HEAD
public static final byte[] CDF2HEAD
Deprecated.
-
CDF5HEAD
public static final byte[] CDF5HEAD
Deprecated.
-
NC_FORMAT_NETCDF3
public static final int NC_FORMAT_NETCDF3
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_64BIT_OFFSET
public static final int NC_FORMAT_64BIT_OFFSET
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_NETCDF4
public static final int NC_FORMAT_NETCDF4
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_64BIT_DATA
public static final int NC_FORMAT_64BIT_DATA
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_HDF4
public static final int NC_FORMAT_HDF4
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_CLASSIC
public static final int NC_FORMAT_CLASSIC
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_64BIT
public static final int NC_FORMAT_64BIT
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_CDF5
public static final int NC_FORMAT_CDF5
Deprecated.- See Also:
- Constant Field Values
-
NC_FORMAT_HDF5
public static final int NC_FORMAT_HDF5
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
checkFileType
public static int checkFileType(RandomAccessFile raf) throws IOException
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
public static String formatName(int format)
Deprecated.
-
-