public final class Grib2GridTableLookup extends Object implements GridTableLookup
AlbersEqualArea, Curvilinear, GaussianLatLon, LambertAzimuthEqualArea, LambertConformal, Mercator, Orthographic, PolarStereographic, RotatedLatLon, UTM| Constructor and Description |
|---|
Grib2GridTableLookup(Grib2Record firstRecord)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCategoryName(GridRecord gr)
gets the CategoryName.
|
String |
getComment()
comment for CF conventions.
|
String |
getDisciplineName(GridRecord gr)
gets the DisciplineName.
|
Date |
getFirstBaseTime()
Get the first base time
|
String |
getFirstCenterName()
gets the CenterName.
|
float |
getFirstMissingValue()
gets the MissingValue.
|
String |
getFirstProductStatusName()
gets the ProductStatusName.
|
String |
getFirstProductTypeName()
gets the ProductTypeName.
|
String |
getFirstSignificanceOfRTName()
gets the SignificanceOfRTName.
|
String |
getFirstSubcenterName()
gets the Subcenter Name, dependant on center.
|
int |
getGenProcessType(GridRecord gr)
gets the Type of Gen Process.
|
String |
getGenProcessTypeName(GridRecord gr)
gets the Type of Gen Process Name.
|
String |
getGridName(GridDefRecord gds)
gets the grid type.
|
String |
getGridType()
gets the grid type.
|
String |
getInstitution()
Institution for CF conventions
|
String |
getLevelDescription(GridRecord gr)
gets the LevelDescription.
|
String |
getLevelName(GridRecord gr)
gets the LevelName.
|
String |
getLevelUnit(GridRecord gr)
gets the LevelUnit.
|
String |
getModel() |
GridParameter |
getParameter(GridRecord gr)
Get the grid parameter that corresponds to this record
Check for local parameters, default is NCEP so check it first.
|
int[] |
getParameterId(GridRecord gr) |
int |
getProductDefinition(GridRecord gr)
gets the ProductDefinition.
|
String |
getProductDefinitionName(GridRecord gr)
gets the ProductDefinitionName.
|
int |
getProjectionType(GridDefRecord gds)
gets the ProjectionType.
|
String |
getShapeName(GridDefRecord gds)
gets the ShapeName.
|
String |
getSource()
gets the Source, Generating Process or Model.
|
String |
getTimeRangeUnitName(int tunit)
gets the TimeRangeUnitName.
|
String |
getTitle()
gets the CF title.
|
boolean |
isLatLon(GridDefRecord gds)
is this a LatLon grid.
|
boolean |
isLayer(GridRecord gr)
Check to see if this grid is a layer variable
|
boolean |
isPositiveUp(GridRecord gr)
is this a PositiveUp VerticalCoordinate.
|
boolean |
isVerticalCoordinate(GridRecord gr)
is this a VerticalCoordinate.
|
public Grib2GridTableLookup(Grib2Record firstRecord)
firstRecord - in the Grib filepublic final String getGridName(GridDefRecord gds)
getGridName in interface GridTableLookupgds - Grib2GridDefinitionSectionpublic final String getShapeName(GridDefRecord gds)
getShapeName in interface GridTableLookupgds - Grib2GridDefinitionSectionpublic final String getDisciplineName(GridRecord gr)
getDisciplineName in interface GridTableLookupgr - GridRecordpublic final String getCategoryName(GridRecord gr)
getCategoryName in interface GridTableLookupgr - GridRecordpublic GridParameter getParameter(GridRecord gr)
getParameter in interface GridTableLookupgr - record to checkpublic int[] getParameterId(GridRecord gr)
gr - GridRecordpublic final String getProductDefinitionName(GridRecord gr)
gr - GridRecordpublic final int getProductDefinition(GridRecord gr)
gr - GridRecordpublic final String getSource()
getSource in interface GridTableLookuppublic final String getGenProcessTypeName(GridRecord gr)
gr - GridRecordpublic final int getGenProcessType(GridRecord gr)
gr - GridRecordpublic final String getLevelName(GridRecord gr)
getLevelName in interface GridTableLookupgr - GridRecordpublic final String getLevelDescription(GridRecord gr)
getLevelDescription in interface GridTableLookupgr - GridRecordpublic final String getLevelUnit(GridRecord gr)
getLevelUnit in interface GridTableLookupgr - GridRecordpublic final Date getFirstBaseTime()
getFirstBaseTime in interface GridTableLookuppublic final String getTimeRangeUnitName(int tunit)
getTimeRangeUnitName in interface GridTableLookuppublic final String getFirstCenterName()
public final String getFirstSubcenterName()
public String getInstitution()
getInstitution in interface GridTableLookuppublic final String getFirstProductStatusName()
public final String getComment()
getComment in interface GridTableLookuppublic final String getFirstProductTypeName()
public final String getTitle()
getTitle in interface GridTableLookuppublic final String getModel()
public final String getFirstSignificanceOfRTName()
public final boolean isLatLon(GridDefRecord gds)
isLatLon in interface GridTableLookupgds - GridDefRecordpublic final int getProjectionType(GridDefRecord gds)
getProjectionType in interface GridTableLookupgds - GridDefRecordpublic final boolean isVerticalCoordinate(GridRecord gr)
isVerticalCoordinate in interface GridTableLookupgr - GridRecordpublic final boolean isPositiveUp(GridRecord gr)
isPositiveUp in interface GridTableLookupgr - GridRecordpublic final float getFirstMissingValue()
getFirstMissingValue in interface GridTableLookuppublic final boolean isLayer(GridRecord gr)
isLayer in interface GridTableLookupgr - record to checkpublic final String getGridType()
getGridType in interface GridTableLookupCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.