public final class Grib1Data extends Object
| Constructor and Description |
|---|
Grib1Data(RandomAccessFile raf)
Constructs a Grib2Data object from a stream.
|
| Modifier and Type | Method and Description |
|---|---|
float[] |
getData(long offset,
int decimalScale,
boolean bmsExists)
This code should not be used any more, old code left for old indexes <8
Reads the Grib data
|
float[] |
getData(long gdsOffset,
long dataOffset,
int decimalScale,
boolean bmsExists)
Reads the Grib data
|
static void |
setExpandGrib1ThinGrids(boolean b) |
public Grib1Data(RandomAccessFile raf)
raf - ucar.unidata.io.RandomAccessFile with GRIB content.public final float[] getData(long gdsOffset,
long dataOffset,
int decimalScale,
boolean bmsExists)
throws IOException
gdsOffset - PDS offset into file.dataOffset - GDS offset into file.IOExceptionpublic final float[] getData(long offset,
int decimalScale,
boolean bmsExists)
throws IOException
offset - offset into file.decimalScale - bmsExists - NotSupportedExceptionIOExceptionpublic static void setExpandGrib1ThinGrids(boolean b)
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.