Package ucar.nc2.iosp
Class NCheader
- java.lang.Object
-
- ucar.nc2.iosp.NCheader
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]
CDF1HEAD
Deprecated.static byte[]
CDF2HEAD
Deprecated.static byte[]
CDF5HEAD
Deprecated.static byte[]
H4HEAD
Deprecated.static byte[]
H5HEAD
Deprecated.static int
NC_FORMAT_64BIT
Deprecated.static int
NC_FORMAT_64BIT_DATA
Deprecated.static int
NC_FORMAT_64BIT_OFFSET
Deprecated.static int
NC_FORMAT_CDF5
Deprecated.static int
NC_FORMAT_CLASSIC
Deprecated.static int
NC_FORMAT_HDF4
Deprecated.static int
NC_FORMAT_HDF5
Deprecated.static int
NC_FORMAT_NETCDF3
Deprecated.static int
NC_FORMAT_NETCDF4
Deprecated.
-
Constructor Summary
Constructors Constructor Description NCheader()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
checkFileType(RandomAccessFile raf)
Deprecated.Figure out what kind of netcdf-related file we have.static String
formatName(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.
-
-