public class Grib1SectionGridDefinition extends Object
| Constructor and Description |
|---|
Grib1SectionGridDefinition(byte[] rawData)
Set Grib Definition section from byte array.
|
Grib1SectionGridDefinition(Grib1SectionProductDefinition pds) |
Grib1SectionGridDefinition(ucar.unidata.io.RandomAccessFile raf)
Read Grib Definition section from raf.
|
| Modifier and Type | Method and Description |
|---|---|
long |
calcCRC()
Calculate the CRC of the entire byte array
|
Grib1Gds |
getGDS() |
int |
getGridTemplate()
Get Grid Template number (code table 6)
|
int |
getLength() |
long |
getOffset() |
int |
getPredefinedGridDefinition()
From pds.getGridDefinition
|
byte[] |
getRawBytes()
get the raw bytes of the GDS
|
boolean |
hasVerticalCoordinateParameters() |
boolean |
isThin()
is a "thin" grid
|
String |
toString() |
public Grib1SectionGridDefinition(ucar.unidata.io.RandomAccessFile raf)
throws IOException
raf - RandomAccessFile, with pointer at start of sectionIOException - on I/O errorIllegalArgumentException - if not a GRIB-2 recordpublic Grib1SectionGridDefinition(byte[] rawData)
rawData - the byte arraypublic Grib1SectionGridDefinition(Grib1SectionProductDefinition pds)
public byte[] getRawBytes()
public long calcCRC()
public int getLength()
public long getOffset()
public int getGridTemplate()
public int getPredefinedGridDefinition()
public Grib1Gds getGDS()
public final boolean isThin()
public boolean hasVerticalCoordinateParameters()