public abstract class NOAA1bReader.DataHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
data
The header data.
|
static int |
DATA_GAPS
The count of data gaps attribute (Integer).
|
static int |
DATA_RECORDS
The number of data records attribute (Integer).
|
static int |
DATA_TYPE_CODE
The data type code attribute (String).
|
static int |
DATASET_NAME
The dataset name attribute (String).
|
static int |
END_DAY
The dataset ending Julian day attribute: [1..366] (Integer).
|
static int |
END_MILLISECOND
The dataset ending time in milliseconds attribute (Long).
|
static int |
END_YEAR
The dataset ending year attribute (Integer).
|
static int |
SPACECRAFT_ID
The spacecraft ID attribute (String).
|
static int |
START_DAY
The dataset starting Julian day attribute: [1..366] (Integer).
|
static int |
START_MILLISECOND
The dataset starting time in milliseconds attribute (Long).
|
static int |
START_YEAR
The dataset starting year attribute (Integer).
|
Constructor and Description |
---|
DataHeader()
Creates a new dataset header.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
getAttribute(int index)
Gets a header attribute.
|
java.nio.ByteBuffer |
getRawData()
Gets the raw header data.
|
public static final int SPACECRAFT_ID
public static final int DATA_TYPE_CODE
public static final int START_YEAR
public static final int START_DAY
public static final int START_MILLISECOND
public static final int END_YEAR
public static final int END_DAY
public static final int END_MILLISECOND
public static final int DATA_RECORDS
public static final int DATA_GAPS
public static final int DATASET_NAME
protected java.nio.ByteBuffer data
public DataHeader() throws java.io.IOException
java.io.IOException
- if an error occurred reading the file data.public java.nio.ByteBuffer getRawData()
public abstract java.lang.Object getAttribute(int index)
index
- the attribute index.