public final class GribGridRecord extends Object implements GridRecord
| Constructor and Description |
|---|
GribGridRecord()
default constructor, used by GribReadIndex (binary indices)
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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
|
GridParameter |
getParameter() |
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() |
int |
getTimeUnit() |
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() |
public GribGridRecord()
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()
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 GridParameter getParameter()
public int getDecimalScale()
getDecimalScale in interface GridRecordpublic String getTimeUdunitName()
getTimeUdunitName in interface GridRecordpublic String getTimeUnitName()
public int getTimeUnit()
getTimeUnit in interface GridRecordpublic int cdmVariableHash()
cdmVariableHash in interface GridRecordpublic 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 Object getBelongs()
public void setBelongs(Object gv)
Copyright © 1999-2012 UCAR/Unidata. All Rights Reserved.