|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.grib.GribGridRecord
public final class GribGridRecord
Represents index information for one record in the Grib file.
| Field Summary | |
|---|---|
boolean |
bmsExists
bms (Bit mapped section) Exists of record. |
int |
category
productType, discipline, category, paramNumber of record. |
int |
center
center subCenter table of record. |
int |
decimalScale
decimalScale for Grib1 data. |
int |
discipline
productType, discipline, category, paramNumber of record. |
int |
ensembleNumber
Ensemble number. |
int |
forecastTime
forecastTime as int. |
int |
gdsKey
gdsKey of record. |
boolean |
isEnsemble
is this record an Ensemble |
int |
levelType1
levelType1, levelType2 of record. |
int |
levelType2
levelType1, levelType2 of record. |
double |
levelValue1
levelValue1, levelValue2 of record. |
double |
levelValue2
levelValue1, levelValue2 of record. |
float |
lowerLimit
lowerLimit, upperLimit of Probability type |
int |
numberForecasts
numberForecasts of Ensemble. |
long |
offset1
offset1 of record. |
long |
offset2
offset2 of record. |
int |
paramNumber
productType, discipline, category, paramNumber of record. |
GribPDSVariablesIF |
pdsVars
Represents the PDS section of a Grib Messaage. |
int |
productType
productType, discipline, category, paramNumber of record. |
java.util.Date |
refTime
refTime as Date. |
int |
startOfInterval
if forecast time is an interval, this is the start of the interval |
int |
subCenter
center subCenter table of record. |
int |
table
center subCenter table of record. |
int |
timeUnit
time unit of forecast time |
int |
type
Type of ensemble or Probablity forecast |
int |
typeGenProcess
typeGenProcess of record. |
float |
upperLimit
lowerLimit, upperLimit of Probability type |
| Constructor Summary | |
|---|---|
GribGridRecord()
default constructor, used by GribReadIndex (binary indices) |
|
GribGridRecord(java.util.Calendar calendar,
int productType,
int discipline,
int category,
int param,
int typeGenProcess,
int levelType1,
float levelValue1,
int levelType2,
float levelValue2,
java.util.Date refTime,
int foreTime,
int gdsKey,
long offset1,
long offset2,
int decimalScale,
boolean bmsExists,
int center,
int subCenter,
int table)
constructor given all parameters native. |
|
| Method Summary | |
|---|---|
int |
getDecimalScale()
Get the decimal scale |
int |
getEnsembleNumber()
if ensemble, ensemble member number |
int |
getEnsembleType()
if ensemble, ensemble type |
java.lang.String |
getGridDefRecordId()
Get the grid def record id |
int |
getGridDefRecordIdInt()
Get the grid def record id |
int |
getGridNumber()
Get the grid number |
double |
getLevel1()
Get the first level of this GridRecord |
double |
getLevel2()
Get the second level of this GridRecord |
int |
getLevelType1()
Get the type for the first level of this GridRecord |
int |
getLevelType2()
Get the type for the second level of this GridRecord |
int |
getNumberForecasts()
total number of ensemble forecasts |
java.lang.String |
getParameterName()
Get the parameter name |
java.util.Date |
getReferenceTime()
Get the first reference time of this GridRecord |
java.util.Date |
getValidTime()
Get the valid time for this grid. |
int |
getValidTimeOffset()
Get valid time offset (minutes) of this GridRecord |
boolean |
isEnsemble()
is this an ensemble type record |
void |
setValidTime(java.util.Date t)
_more_ |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public GribPDSVariablesIF pdsVars
public int productType
public int discipline
public int category
public int paramNumber
public int typeGenProcess
public int levelType1
public int levelType2
public double levelValue1
public double levelValue2
public int gdsKey
public long offset1
public long offset2
public java.util.Date refTime
public int forecastTime
public int startOfInterval
public int timeUnit
public int decimalScale
public boolean bmsExists
public int center
public int subCenter
public int table
public boolean isEnsemble
public int ensembleNumber
public int numberForecasts
public int type
public float lowerLimit
public float upperLimit
| Constructor Detail |
|---|
public GribGridRecord()
public GribGridRecord(java.util.Calendar calendar,
int productType,
int discipline,
int category,
int param,
int typeGenProcess,
int levelType1,
float levelValue1,
int levelType2,
float levelValue2,
java.util.Date refTime,
int foreTime,
int gdsKey,
long offset1,
long offset2,
int decimalScale,
boolean bmsExists,
int center,
int subCenter,
int table)
productType - discipline - category - param - typeGenProcess - levelType1 - levelValue1 - levelType2 - levelValue2 - refTime - foreTime - gdsKey - offset1 - offset2 - decimalScale - bmsExists - either true or false bit-map existscenter - subCenter - table - | Method Detail |
|---|
public double getLevel1()
getLevel1 in interface GridRecordpublic double getLevel2()
getLevel2 in interface GridRecordpublic int getLevelType1()
getLevelType1 in interface GridRecordpublic int getLevelType2()
getLevelType2 in interface GridRecordpublic java.util.Date getReferenceTime()
getReferenceTime in interface GridRecordpublic java.util.Date getValidTime()
getValidTime in interface GridRecordpublic void setValidTime(java.util.Date t)
t - _more_public int getValidTimeOffset()
getValidTimeOffset in interface GridRecordpublic java.lang.String getParameterName()
getParameterName in interface GridRecordpublic int getGridDefRecordIdInt()
public java.lang.String getGridDefRecordId()
GridRecord
getGridDefRecordId in interface GridRecordpublic int getGridNumber()
public int getDecimalScale()
getDecimalScale in interface GridRecordpublic boolean isEnsemble()
public int getEnsembleType()
public int getEnsembleNumber()
public int getNumberForecasts()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||