|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.iosp.gempak.GempakGridRecord
public class GempakGridRecord
A class to hold grid record information
Field Summary | |
---|---|
int |
gridNumber
grid number |
int |
ivcord
coordinate type |
int |
level1
Level 1 |
int |
level2
Level 2 |
NavigationBlock |
navBlock
packing type |
int |
packingType
packing type |
String |
param
parameter |
String |
time1
Time 1 |
String |
time2
Time 2 |
Constructor Summary | |
---|---|
GempakGridRecord(int number,
int[] header)
Create a grid header from the integer bits |
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 |
int |
getDecimalScale()
Get the decimal scale |
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 |
String |
getParameterDescription()
Get the parameter description |
String |
getParameterName()
Get the parameter name |
Date |
getReferenceTime()
Get the first reference time of this GridRecord |
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. |
Date |
getValidTime()
Get the valid time for this grid. |
int |
getValidTimeOffset()
Get valid time offset (minutes) of this GridRecord |
String |
toString()
Get a String representation of this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String time1
public String time2
public int level1
public int level2
public int ivcord
public String param
public int gridNumber
public int packingType
public NavigationBlock navBlock
Constructor Detail |
---|
public GempakGridRecord(int number, int[] header)
number
- grid numberheader
- integer bitsMethod 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 Date getReferenceTime()
getReferenceTime
in interface GridRecord
public Date getValidTime()
getValidTime
in interface GridRecord
public int getValidTimeOffset()
public String getParameterName()
getParameterName
in interface GridRecord
public String getParameterDescription()
getParameterDescription
in interface GridRecord
public String getGridDefRecordId()
getGridDefRecordId
in interface GridRecord
public int getGridNumber()
public int getDecimalScale()
getDecimalScale
in interface GridRecord
public int getTimeUnit()
GridRecord
getTimeUnit
in interface GridRecord
public String getTimeUdunitName()
GridRecord
getTimeUdunitName
in interface GridRecord
public int cdmVariableHash()
GridRecord
cdmVariableHash
in interface GridRecord
public String cdmVariableName(GridTableLookup lookup, boolean useLevel, boolean useStat)
GridRecord
cdmVariableName
in interface GridRecord
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |