public final class GempakLookup extends java.lang.Object implements GridTableLookup
AlbersEqualArea, Curvilinear, GaussianLatLon, LambertAzimuthEqualArea, LambertConformal, Mercator, Orthographic, PolarStereographic, RotatedLatLon, UTM
Constructor and Description |
---|
GempakLookup(GempakGridRecord sample)
Gets a representative grid for this lookup
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategoryName(GridRecord gr)
Get the grid category name
|
java.lang.String |
getComment()
comment for CF conventions.
|
java.lang.String |
getDisciplineName(GridRecord gr)
Get the grid discipline name
|
java.util.Date |
getFirstBaseTime()
gets the BaseTime Forecastime.
|
float |
getFirstMissingValue()
gets the MissingValue.
|
java.lang.String |
getGridName(GridDefRecord gds)
Get the grid name
|
java.lang.String |
getGridType()
Get the grid type for labelling
|
java.lang.String |
getInstitution()
Institution for CF conventions
|
java.lang.String |
getLevelDescription(GridRecord gr)
Get the level description
|
java.lang.String |
getLevelName(GridRecord gr)
Get the level name
|
java.lang.String |
getLevelUnit(GridRecord gr)
Get the level unit
|
GridParameter |
getParameter(GridRecord gr)
gets parameter table, then grib1 parameter based on number.
|
int |
getProjectionType(GridDefRecord gds)
Get the projection type
|
java.lang.String |
getShapeName(GridDefRecord gds)
Get the grid shape name
|
java.lang.String |
getSource()
gets the Source, Generating Process or Model.
|
java.lang.String |
getTimeRangeUnitName(int tunit)
Get the first time range unit name
|
java.lang.String |
getTitle()
gets the CF title.
|
boolean |
isLatLon(GridDefRecord gds)
is this a LatLon grid.
|
boolean |
isLayer(GridRecord gr)
Is this a layer?
|
boolean |
isPositiveUp(GridRecord gr)
is this a PositiveUp VerticalCoordinate.
|
boolean |
isVerticalCoordinate(GridRecord gr)
If vertical level should be made into a coordinate;
dont do for surface, or levels without a meaningful coordinate value
|
public GempakLookup(GempakGridRecord sample)
public java.lang.String getShapeName(GridDefRecord gds)
GridTableLookup
getShapeName
in interface GridTableLookup
gds
- Grid definition recordpublic final java.lang.String getGridName(GridDefRecord gds)
GridTableLookup
getGridName
in interface GridTableLookup
gds
- Grid definition recordpublic final GridParameter getParameter(GridRecord gr)
getParameter
in interface GridTableLookup
gr
- GridRecordpublic final java.lang.String getDisciplineName(GridRecord gr)
GridTableLookup
getDisciplineName
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getCategoryName(GridRecord gr)
GridTableLookup
getCategoryName
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getLevelName(GridRecord gr)
GridTableLookup
getLevelName
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getLevelDescription(GridRecord gr)
GridTableLookup
getLevelDescription
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getLevelUnit(GridRecord gr)
GridTableLookup
getLevelUnit
in interface GridTableLookup
gr
- GridRecord with metadatapublic final java.lang.String getTimeRangeUnitName(int tunit)
GridTableLookup
getTimeRangeUnitName
in interface GridTableLookup
public final java.util.Date getFirstBaseTime()
getFirstBaseTime
in interface GridTableLookup
public final boolean isLatLon(GridDefRecord gds)
isLatLon
in interface GridTableLookup
gds
- Grid definition recordpublic final int getProjectionType(GridDefRecord gds)
GridTableLookup
getProjectionType
in interface GridTableLookup
gds
- Grid definition recordpublic final boolean isVerticalCoordinate(GridRecord gr)
GridTableLookup
isVerticalCoordinate
in interface GridTableLookup
gr
- GridRecord with metadatapublic final boolean isPositiveUp(GridRecord gr)
isPositiveUp
in interface GridTableLookup
gr
- GridRecord with metadatapublic final float getFirstMissingValue()
getFirstMissingValue
in interface GridTableLookup
public boolean isLayer(GridRecord gr)
isLayer
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getTitle()
getTitle
in interface GridTableLookup
public java.lang.String getInstitution()
getInstitution
in interface GridTableLookup
public final java.lang.String getSource()
getSource
in interface GridTableLookup
public final java.lang.String getComment()
getComment
in interface GridTableLookup
public java.lang.String getGridType()
getGridType
in interface GridTableLookup