|
||||||||||
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
product definition template, param category, param number |
int |
center
center subCenter table of record. |
int |
decimalScale
decimalScale for Grib1 data. |
int |
discipline
discipline (from indicator section) |
int |
ensembleNumber
Ensemble number. |
int |
forecastTime
forecastTime as int. |
int |
gdsKey
gdsKey of record. |
int |
intervalStatType
|
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
product definition template, param category, param number |
int |
productTemplate
product definition template, param category, param number |
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) |
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 |
java.lang.String |
getIntervalTypeName()
|
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 |
static java.lang.String |
getProbabilityVariableNameSuffix(float lowerLimit,
float upperLimit,
int type)
|
java.util.Date |
getReferenceTime()
Get the first reference time of this GridRecord |
java.util.Date |
getValidTime()
Get the valid time for this record. |
int |
getValidTimeOffset()
Get valid time offset (minutes) of this GridRecord |
boolean |
isEnsemble()
is this an ensemble type record |
boolean |
isInterval()
|
java.lang.String |
makeIntervalName()
Makes an interval name for template between 8 and 15 inclusive. |
java.lang.String |
makeSuffix()
Makes a Ensemble, Derived, Probability or error Suffix |
void |
setValidTime(java.util.Date t)
Set the valid time for this record. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int discipline
public java.util.Date refTime
public int center
public int subCenter
public int table
public int productTemplate
public int category
public int paramNumber
public int typeGenProcess
public int levelType1
public int levelType2
public double levelValue1
public double levelValue2
public int forecastTime
public int startOfInterval
public int timeUnit
public int decimalScale
public boolean isEnsemble
public int ensembleNumber
public int numberForecasts
public int type
public float lowerLimit
public float upperLimit
public int intervalStatType
public boolean bmsExists
public int gdsKey
public long offset1
public long offset2
Constructor Detail |
---|
public GribGridRecord()
Method Detail |
---|
public double getLevel1()
getLevel1
in interface GridRecord
public double getLevel2()
getLevel2
in interface GridRecord
public int getLevelType1()
getLevelType1
in interface GridRecord
public int getLevelType2()
getLevelType2
in interface GridRecord
public java.util.Date getReferenceTime()
getReferenceTime
in interface GridRecord
public java.util.Date getValidTime()
getValidTime
in interface GridRecord
public void setValidTime(java.util.Date t)
t
- valid timepublic int getValidTimeOffset()
getValidTimeOffset
in interface GridRecord
public java.lang.String getParameterName()
getParameterName
in interface GridRecord
public int getGridDefRecordIdInt()
public java.lang.String getGridDefRecordId()
GridRecord
getGridDefRecordId
in interface GridRecord
public int getGridNumber()
public int getDecimalScale()
getDecimalScale
in interface GridRecord
public boolean isEnsemble()
public int getEnsembleType()
public int getEnsembleNumber()
public int getNumberForecasts()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String makeIntervalName()
public boolean isInterval()
public java.lang.String getIntervalTypeName()
public java.lang.String makeSuffix()
public static java.lang.String getProbabilityVariableNameSuffix(float lowerLimit, float upperLimit, int type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |