@Immutable
public abstract class GribDataReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GribDataReader.DataReceiver |
static interface |
GribDataReader.DataReceiverIF |
static class |
GribDataReader.DataRecord |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
currentDataRafFilename |
static GribCollectionImmutable.Record |
currentDataRecord |
protected GribCollectionImmutable |
gribCollection |
static GribDataValidator |
validator |
Modifier | Constructor and Description |
---|---|
protected |
GribDataReader(GribCollectionImmutable gribCollection,
GribCollectionImmutable.VariableIndex vindex) |
Modifier and Type | Method and Description |
---|---|
static GribDataReader |
factory(GribCollectionImmutable gribCollection,
GribCollectionImmutable.VariableIndex vindex) |
protected abstract float[] |
readData(RandomAccessFile rafData,
GribDataReader.DataRecord dr) |
Array |
readData(SectionIterable want)
Read the section of data described by want
|
Array |
readData2(CoordsSet want,
RangeIterator yRange,
RangeIterator xRange) |
protected abstract void |
show(RandomAccessFile rafData,
long dataPos) |
public static GribCollectionImmutable.Record currentDataRecord
public static GribDataValidator validator
public static java.lang.String currentDataRafFilename
protected final GribCollectionImmutable gribCollection
protected GribDataReader(GribCollectionImmutable gribCollection, GribCollectionImmutable.VariableIndex vindex)
public static GribDataReader factory(GribCollectionImmutable gribCollection, GribCollectionImmutable.VariableIndex vindex)
protected abstract float[] readData(RandomAccessFile rafData, GribDataReader.DataRecord dr) throws java.io.IOException
java.io.IOException
protected abstract void show(RandomAccessFile rafData, long dataPos) throws java.io.IOException
java.io.IOException
public Array readData(SectionIterable want) throws java.io.IOException, InvalidRangeException
want
- which data do you want?java.io.IOException
InvalidRangeException
public Array readData2(CoordsSet want, RangeIterator yRange, RangeIterator xRange) throws java.io.IOException
java.io.IOException