public class GempakGridRecord
extends java.lang.Object
implements ucar.grid.GridRecord
| Modifier and Type | Field and Description |
|---|---|
int |
gridNumber
grid number
|
int |
ivcord
coordinate type
|
int |
level1
Level 1
|
int |
level2
Level 2
|
NavigationBlock |
navBlock
packing type
|
int |
packingType
packing type
|
java.lang.String |
param
parameter
|
java.lang.String |
time1
Time 1
|
java.lang.String |
time2
Time 2
|
| Constructor and Description |
|---|
GempakGridRecord(int number,
int[] header)
Create a grid header from the integer bits
|
| Modifier and Type | Method and Description |
|---|---|
int |
cdmVariableHash() |
java.lang.String |
cdmVariableName(ucar.grid.GridTableLookup lookup,
boolean useLevel,
boolean useStat) |
int |
getDecimalScale()
Get the decimal scale
|
java.lang.String |
getGridDefRecordId()
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
|
java.lang.String |
getParameterDescription()
Get the parameter description
|
java.lang.String |
getParameterName()
Get the parameter name
|
java.util.Date |
getReferenceTime()
Get the first reference time of this GridRecord
|
java.lang.String |
getTimeUdunitName() |
int |
getTimeUnit() |
java.util.Date |
getValidTime()
Get the valid time for this grid.
|
int |
getValidTimeOffset()
Get valid time offset (minutes) of this GridRecord
|
java.lang.String |
toString()
Get a String representation of this object
|
public java.lang.String time1
public java.lang.String time2
public int level1
public int level2
public int ivcord
public java.lang.String param
public int gridNumber
public int packingType
public NavigationBlock navBlock
public GempakGridRecord(int number,
int[] header)
number - grid numberheader - integer bitspublic double getLevel1()
getLevel1 in interface ucar.grid.GridRecordpublic double getLevel2()
getLevel2 in interface ucar.grid.GridRecordpublic int getLevelType1()
getLevelType1 in interface ucar.grid.GridRecordpublic int getLevelType2()
getLevelType2 in interface ucar.grid.GridRecordpublic java.util.Date getReferenceTime()
getReferenceTime in interface ucar.grid.GridRecordpublic java.util.Date getValidTime()
getValidTime in interface ucar.grid.GridRecordpublic int getValidTimeOffset()
public java.lang.String getParameterName()
getParameterName in interface ucar.grid.GridRecordpublic java.lang.String getParameterDescription()
getParameterDescription in interface ucar.grid.GridRecordpublic java.lang.String getGridDefRecordId()
getGridDefRecordId in interface ucar.grid.GridRecordpublic int getGridNumber()
public int getDecimalScale()
getDecimalScale in interface ucar.grid.GridRecordpublic int getTimeUnit()
getTimeUnit in interface ucar.grid.GridRecordpublic java.lang.String getTimeUdunitName()
getTimeUdunitName in interface ucar.grid.GridRecordpublic int cdmVariableHash()
cdmVariableHash in interface ucar.grid.GridRecordpublic java.lang.String cdmVariableName(ucar.grid.GridTableLookup lookup,
boolean useLevel,
boolean useStat)
cdmVariableName in interface ucar.grid.GridRecordpublic java.lang.String toString()
toString in class java.lang.Object