|
||||||||||
| 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 information for one record in the Grib file.
| Constructor Summary | |
|---|---|
GribGridRecord()
default constructor, used by GribReadIndex (binary indices) |
|
| Method Summary | |
|---|---|
int |
cdmVariableHash()
A hash code to group records into a CDM variable |
String |
cdmVariableName(GridTableLookup lookup,
boolean useLevel,
boolean useStat)
A unique name for the CDM variable, must be consistent with cdmVariableHash |
Object |
getBelongs()
|
int |
getCenter()
|
int |
getDecimalScale()
Get the decimal scale |
int |
getDiscipline()
|
int |
getEdition()
|
int |
getGdsKey()
|
long |
getGdsOffset()
|
String |
getGridDefRecordId()
Get the grid def record id |
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 |
String |
getParameterDescription()
Get the parameter description |
String |
getParameterName()
Get the parameter name |
int |
getParameterNumber()
|
GribPds |
getPds()
|
long |
getPdsOffset()
|
static String |
getProbabilityVariableNameSuffix(double lowerLimit,
double upperLimit,
int type)
|
Date |
getReferenceTime()
Get the first reference time of this GridRecord |
long |
getReferenceTimeInMsecs()
|
int |
getStatisticalProcessType()
Get interval type, GRIB-2 code table 4.10 |
String |
getStatisticalProcessTypeName()
|
String |
getStatisticalProcessTypeNameShort()
|
int |
getSubCenter()
|
int |
getTableVersion()
|
String |
getTimeUdunitName()
Get the time unit as a String. |
int |
getTimeUnit()
Get the time unit as a code, which should be Grib2 table 4.4. |
String |
getTimeUnitName()
|
Date |
getValidTime()
Get the valid time for this record. |
boolean |
isBmsExists()
|
boolean |
isInterval()
|
String |
makeSuffix()
|
void |
setBelongs(Object gv)
|
String |
toString()
|
String |
toString2()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GribGridRecord()
| Method Detail |
|---|
public GribPds getPds()
public int getEdition()
public int getDiscipline()
public int getCenter()
public int getSubCenter()
public int getTableVersion()
public long getGdsOffset()
public long getPdsOffset()
public int getGdsKey()
public boolean isBmsExists()
public String getGridDefRecordId()
GridRecord
getGridDefRecordId in interface GridRecordpublic double getLevel1()
getLevel1 in interface GridRecordpublic double getLevel2()
getLevel2 in interface GridRecordpublic int getLevelType1()
getLevelType1 in interface GridRecordpublic int getLevelType2()
getLevelType2 in interface GridRecordpublic Date getReferenceTime()
getReferenceTime in interface GridRecordpublic long getReferenceTimeInMsecs()
public Date getValidTime()
getValidTime in interface GridRecordpublic int getParameterNumber()
public String getParameterName()
getParameterName in interface GridRecordpublic String getParameterDescription()
getParameterDescription in interface GridRecordpublic int getDecimalScale()
getDecimalScale in interface GridRecordpublic String getTimeUdunitName()
GridRecord
getTimeUdunitName in interface GridRecordpublic String getTimeUnitName()
public int getTimeUnit()
GridRecord
getTimeUnit in interface GridRecordpublic int cdmVariableHash()
cdmVariableHash in interface GridRecord
public String cdmVariableName(GridTableLookup lookup,
boolean useLevel,
boolean useStat)
cdmVariableName in interface GridRecordpublic String makeSuffix()
public static String getProbabilityVariableNameSuffix(double lowerLimit,
double upperLimit,
int type)
public boolean isInterval()
public String getStatisticalProcessTypeName()
public String getStatisticalProcessTypeNameShort()
public int getStatisticalProcessType()
public String toString2()
public String toString()
toString in class Objectpublic Object getBelongs()
public void setBelongs(Object gv)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||