Package noaa.coastwatch.io
Class NOAA1bReader.DataHeader
java.lang.Object
noaa.coastwatch.io.NOAA1bReader.DataHeader
- Direct Known Subclasses:
NOAA1bV1Reader.DataHeaderV1
,NOAA1bV2Reader.DataHeaderV2
- Enclosing class:
- NOAA1bReader
The data header class may be used to retrieve the header of the
dataset.
-
Field Summary
Modifier and TypeFieldDescriptionprotected ByteBuffer
The header data.static final int
The count of data gaps attribute (Integer).static final int
The number of data records attribute (Integer).static final int
The data type code attribute (String).static final int
The dataset name attribute (String).static final int
The dataset ending Julian day attribute: [1..366] (Integer).static final int
The dataset ending time in milliseconds attribute (Long).static final int
The dataset ending year attribute (Integer).static final int
The spacecraft ID attribute (String).static final int
The dataset starting Julian day attribute: [1..366] (Integer).static final int
The dataset starting time in milliseconds attribute (Long).static final int
The dataset starting year attribute (Integer). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Object
getAttribute
(int index) Gets a header attribute.Gets the raw header data.
-
Field Details
-
SPACECRAFT_ID
public static final int SPACECRAFT_IDThe spacecraft ID attribute (String).- See Also:
-
DATA_TYPE_CODE
public static final int DATA_TYPE_CODEThe data type code attribute (String).- See Also:
-
START_YEAR
public static final int START_YEARThe dataset starting year attribute (Integer).- See Also:
-
START_DAY
public static final int START_DAYThe dataset starting Julian day attribute: [1..366] (Integer).- See Also:
-
START_MILLISECOND
public static final int START_MILLISECONDThe dataset starting time in milliseconds attribute (Long).- See Also:
-
END_YEAR
public static final int END_YEARThe dataset ending year attribute (Integer).- See Also:
-
END_DAY
public static final int END_DAYThe dataset ending Julian day attribute: [1..366] (Integer).- See Also:
-
END_MILLISECOND
public static final int END_MILLISECONDThe dataset ending time in milliseconds attribute (Long).- See Also:
-
DATA_RECORDS
public static final int DATA_RECORDSThe number of data records attribute (Integer).- See Also:
-
DATA_GAPS
public static final int DATA_GAPSThe count of data gaps attribute (Integer).- See Also:
-
DATASET_NAME
public static final int DATASET_NAMEThe dataset name attribute (String).- See Also:
-
data
The header data.
-
-
Constructor Details
-
DataHeader
Creates a new dataset header.- Throws:
IOException
- if an error occurred reading the file data.
-
-
Method Details
-
getRawData
Gets the raw header data. -
getAttribute
Gets a header attribute.- Parameters:
index
- the attribute index.- Returns:
- the attribute as an object. Primitive types are wrapped in their corresponding objects.
-