public final class McIDASLookup extends java.lang.Object implements GridTableLookup
AlbersEqualArea, Curvilinear, GaussianLatLon, LambertAzimuthEqualArea, LambertConformal, Mercator, Orthographic, PolarStereographic, RotatedLatLon, UTM
Constructor and Description |
---|
McIDASLookup(McIDASGridRecord sample)
Gets a representative grid for this lookup
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategoryName(GridRecord gr)
gets the CategoryName.
|
java.lang.String |
getComment()
comment for CF conventions.
|
java.lang.String |
getDisciplineName(GridRecord gr)
gets the DisciplineName.
|
java.util.Date |
getFirstBaseTime()
gets the BaseTime Forecastime.
|
float |
getFirstMissingValue()
gets the MissingValue.
|
java.lang.String |
getGridName(GridDefRecord gds)
gets the grid type.
|
java.lang.String |
getGridType()
Get the grid type for labelling
|
java.lang.String |
getInstitution()
Institution for CF conventions
|
java.lang.String |
getLevelDescription(GridRecord gr)
gets the LevelDescription.
|
java.lang.String |
getLevelName(GridRecord gr)
gets the LevelName.
|
java.lang.String |
getLevelUnit(GridRecord gr)
gets the LevelUnit.
|
GridParameter |
getParameter(GridRecord gr)
gets parameter table, then grib1 parameter based on number.
|
int |
getProjectionType(GridDefRecord gds)
gets the ProjectionType.
|
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)
is this a VerticalCoordinate.
|
public McIDASLookup(McIDASGridRecord sample)
public java.lang.String getShapeName(GridDefRecord gds)
GridTableLookup
getShapeName
in interface GridTableLookup
gds
- Grid definition recordpublic final java.lang.String getGridName(GridDefRecord gds)
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)
getDisciplineName
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getCategoryName(GridRecord gr)
getCategoryName
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getLevelName(GridRecord gr)
getLevelName
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getLevelDescription(GridRecord gr)
getLevelDescription
in interface GridTableLookup
gr
- record to checkpublic final java.lang.String getLevelUnit(GridRecord gr)
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)
getProjectionType
in interface GridTableLookup
gds
- Grid definition recordpublic final boolean isVerticalCoordinate(GridRecord gr)
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