|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib2.Grib2Product
public final class Grib2Product
Class which has all the necessary information about a record in a Grib2 File to extract the data.
Constructor Summary | |
---|---|
Grib2Product(String header,
Grib2IndicatorSection is,
Grib2IdentificationSection id,
String gdsKey,
Grib2ProductDefinitionSection pds,
long GdsOffset,
long PdsOffset)
Constructor. |
|
Grib2Product(String header,
Grib2IndicatorSection is,
Grib2IdentificationSection id,
String gdsKey,
int gdskey,
Grib2ProductDefinitionSection pds,
long GdsOffset,
long PdsOffset)
Constructor. |
Method Summary | |
---|---|
Date |
getBaseTime()
base time for this product as date. |
int |
getDiscipline()
Discipline number for this record. |
String |
getGDSkey()
GDSkey is a hashcode of the GDS for this record. |
int |
getGDSkeyInt()
GDSkey is a double of the hashcode of the GDS for this record. |
long |
getGdsOffset()
Actual GDS offset in the Grib2 file. |
Grib2IdentificationSection |
getID()
ID of this record. |
Grib2ProductDefinitionSection |
getPDS()
Actual PDS of this record. |
long |
getPdsOffset()
PDS offset in the file. |
long |
getRefTime()
Reference time for this product. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grib2Product(String header, Grib2IndicatorSection is, Grib2IdentificationSection id, String gdsKey, Grib2ProductDefinitionSection pds, long GdsOffset, long PdsOffset)
header
- Grib headeris
- Grib2IndicatorSectionid
- Grib2IdentificationSectiongdsKey
- gdsKeypds
- Grib2ProductDefinitionSectionGdsOffset
- GDS offset in Grib filePdsOffset
- PDS offset in Grib filepublic Grib2Product(String header, Grib2IndicatorSection is, Grib2IdentificationSection id, String gdsKey, int gdskey, Grib2ProductDefinitionSection pds, long GdsOffset, long PdsOffset)
header
- Grib headeris
- Grib2IndicatorSectionid
- Grib2IdentificationSectiongdsKey
- gdsKey as a Stringgdskey
- as a intpds
- Grib2ProductDefinitionSectionGdsOffset
- GDS offset in Grib filePdsOffset
- PDS offset in Grib fileMethod Detail |
---|
public final int getDiscipline()
public final Date getBaseTime()
public final long getRefTime()
public final String getGDSkey()
public final int getGDSkeyInt()
public final Grib2ProductDefinitionSection getPDS()
public final Grib2IdentificationSection getID()
public final long getGdsOffset()
public final long getPdsOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |