public final class GempakLookup extends 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 |
|---|---|
String |
getCategoryName(GridRecord gr)
Get the grid category name
|
String |
getComment()
comment for CF conventions.
|
String |
getDisciplineName(GridRecord gr)
Get the grid discipline name
|
Date |
getFirstBaseTime()
gets the BaseTime Forecastime.
|
float |
getFirstMissingValue()
gets the MissingValue.
|
String |
getGridName(GridDefRecord gds)
Get the grid name
|
String |
getGridType()
Get the grid type for labelling
|
String |
getInstitution()
Institution for CF conventions
|
String |
getLevelDescription(GridRecord gr)
Get the level description
|
String |
getLevelName(GridRecord gr)
Get the level name
|
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
|
String |
getShapeName(GridDefRecord gds)
Get the grid shape name
|
String |
getSource()
gets the Source, Generating Process or Model.
|
String |
getTimeRangeUnitName(int tunit)
Get the first time range unit name
|
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 String getShapeName(GridDefRecord gds)
GridTableLookupgetShapeName in interface GridTableLookupgds - Grid definition recordpublic final String getGridName(GridDefRecord gds)
GridTableLookupgetGridName in interface GridTableLookupgds - Grid definition recordpublic final GridParameter getParameter(GridRecord gr)
getParameter in interface GridTableLookupgr - GridRecordpublic final String getDisciplineName(GridRecord gr)
GridTableLookupgetDisciplineName in interface GridTableLookupgr - record to checkpublic final String getCategoryName(GridRecord gr)
GridTableLookupgetCategoryName in interface GridTableLookupgr - record to checkpublic final String getLevelName(GridRecord gr)
GridTableLookupgetLevelName in interface GridTableLookupgr - record to checkpublic final String getLevelDescription(GridRecord gr)
GridTableLookupgetLevelDescription in interface GridTableLookupgr - record to checkpublic final String getLevelUnit(GridRecord gr)
GridTableLookupgetLevelUnit in interface GridTableLookupgr - GridRecord with metadatapublic final String getTimeRangeUnitName(int tunit)
GridTableLookupgetTimeRangeUnitName in interface GridTableLookuppublic final Date getFirstBaseTime()
getFirstBaseTime in interface GridTableLookuppublic final boolean isLatLon(GridDefRecord gds)
isLatLon in interface GridTableLookupgds - Grid definition recordpublic final int getProjectionType(GridDefRecord gds)
GridTableLookupgetProjectionType in interface GridTableLookupgds - Grid definition recordpublic final boolean isVerticalCoordinate(GridRecord gr)
GridTableLookupisVerticalCoordinate in interface GridTableLookupgr - GridRecord with metadatapublic final boolean isPositiveUp(GridRecord gr)
isPositiveUp in interface GridTableLookupgr - GridRecord with metadatapublic final float getFirstMissingValue()
getFirstMissingValue in interface GridTableLookuppublic boolean isLayer(GridRecord gr)
isLayer in interface GridTableLookupgr - record to checkpublic final String getTitle()
getTitle in interface GridTableLookuppublic String getInstitution()
getInstitution in interface GridTableLookuppublic final String getSource()
getSource in interface GridTableLookuppublic final String getComment()
getComment in interface GridTableLookuppublic String getGridType()
getGridType in interface GridTableLookup