public final class Grib1Product extends Object
| Constructor and Description |
|---|
Grib1Product(String header,
Grib1ProductDefinitionSection pds,
String gdsKey,
int gdskey,
long offset,
long size)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCategory()
get category of this product as int.
|
int |
getDiscipline()
get the discipline of product as int.
|
String |
getGDSkey()
gets GDS key for this product.
|
int |
getGDSkeyInt() |
String |
getHeader() |
long |
getOffset1()
offset1 usually is the Gds offset for this record.
|
long |
getOffset2()
offset2 usually is the BMS or Data section offset.
|
Grib1ProductDefinitionSection |
getPDS()
get the PDS for this product.
|
void |
setGDSkey(String aGDSkey)
sets the GDS key for this product.
|
public Grib1Product(String header, Grib1ProductDefinitionSection pds, String gdsKey, int gdskey, long offset, long size)
header - pds - gdsKey - offset - size - offset2 in filepublic final String getHeader()
public final int getDiscipline()
public final int getCategory()
public final String getGDSkey()
public final int getGDSkeyInt()
public final void setGDSkey(String aGDSkey)
aGDSkey - MD5 checksum as textpublic final Grib1ProductDefinitionSection getPDS()
public final long getOffset1()
public final long getOffset2()
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.