public abstract class NOAA1bReader.ArchiveHeader
extends java.lang.Object
NOAA1bReader.isArchive()
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
data
The archive header data.
|
static int |
DATASET_NAME
The official archive dataset name attribute (String).
|
static int |
DURATION_MINUTES
The dataset duration in minutes attribute (Integer).
|
static int |
SENSOR_DATA_WORD_SIZE
The sensor data word size attribute: 8, 10, or 16 bits (Integer).
|
static int |
START_HOUR
The dataset starting hour attribute: [0..23] (Integer).
|
static int |
START_MINUTE
The dataset starting minute attribute: [00..59] (Integer).
|
Constructor and Description |
---|
ArchiveHeader()
Creates a new archive 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 DATASET_NAME
public static final int START_HOUR
public static final int START_MINUTE
public static final int DURATION_MINUTES
public static final int SENSOR_DATA_WORD_SIZE
protected java.nio.ByteBuffer data
public ArchiveHeader() 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.