Package ucar.nc2.iosp.grid
Interface GridTableLookup
-
- All Known Implementing Classes:
GempakLookup,McIDASLookup
public interface GridTableLookupAbstracts lookup functionality for subclasses of Grid IOSP
-
-
Field Summary
Fields Modifier and Type Field Description static intAlbersEqualAreaAlbers Equal Areastatic intCurvilinearNCEP Curvilinear - needs 2D lat/lonstatic intGaussianLatLonGausian Lat/Lonstatic intLambertAzimuthEqualAreaLambert Azimuth Equal Areastatic intLambertConformalLambert Conformalstatic intMercatorMercatorstatic intOrthographicOrthographicstatic intPolarStereographicPolar Sterographicstatic intRotatedLatLonRotated Latitude Longitudestatic intUTMUniversal Transverse Mercator
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCategoryName(GridRecord gr)Get the grid category nameStringgetComment()Comment for CF conventionsStringgetDisciplineName(GridRecord gr)Get the grid discipline nameDategetFirstBaseTime()Get the first base timefloatgetFirstMissingValue().StringgetGridName(GridDefRecord gds)Get the grid nameStringgetGridType()Get the grid type (GRIB, GEMPAK, McIDAS, GRADS) for labellingStringgetInstitution()Institution for CF conventionsStringgetLevelDescription(GridRecord gr)Get the level descriptionStringgetLevelName(GridRecord gr)Get the level nameStringgetLevelUnit(GridRecord gr)Get the level unitGridParametergetParameter(GridRecord gr)Get the grid parameter that corresponds to this recordintgetProjectionType(GridDefRecord gds)Get the projection typeStringgetShapeName(GridDefRecord gds)Get the grid shape nameStringgetSource()Generating Process of model for CF conventionsStringgetTimeRangeUnitName(int tunit)Get the first time range unit nameStringgetTitle()Title for CF conventionsbooleanisLatLon(GridDefRecord gds)Is this a lat/lon gridbooleanisLayer(GridRecord gr)Check to see if this grid is a layer variablebooleanisPositiveUp(GridRecord gr)Is postitive up for the vertical coordinatebooleanisVerticalCoordinate(GridRecord gr)If vertical level should be made into a coordinate; dont do for surface, or levels without a meaningful coordinate value
-
-
-
Field Detail
-
PolarStereographic
static final int PolarStereographic
Polar Sterographic- See Also:
- Constant Field Values
-
LambertConformal
static final int LambertConformal
Lambert Conformal- See Also:
- Constant Field Values
-
Mercator
static final int Mercator
Mercator- See Also:
- Constant Field Values
-
UTM
static final int UTM
Universal Transverse Mercator- See Also:
- Constant Field Values
-
AlbersEqualArea
static final int AlbersEqualArea
Albers Equal Area- See Also:
- Constant Field Values
-
LambertAzimuthEqualArea
static final int LambertAzimuthEqualArea
Lambert Azimuth Equal Area- See Also:
- Constant Field Values
-
Orthographic
static final int Orthographic
Orthographic- See Also:
- Constant Field Values
-
GaussianLatLon
static final int GaussianLatLon
Gausian Lat/Lon- See Also:
- Constant Field Values
-
RotatedLatLon
static final int RotatedLatLon
Rotated Latitude Longitude- See Also:
- Constant Field Values
-
Curvilinear
static final int Curvilinear
NCEP Curvilinear - needs 2D lat/lon- See Also:
- Constant Field Values
-
-
Method Detail
-
getGridName
String getGridName(GridDefRecord gds)
Get the grid name- Parameters:
gds- Grid definition record- Returns:
- GridName.
-
getShapeName
String getShapeName(GridDefRecord gds)
Get the grid shape name- Parameters:
gds- Grid definition record- Returns:
- ShapeName.
-
getDisciplineName
String getDisciplineName(GridRecord gr)
Get the grid discipline name- Parameters:
gr- record to check- Returns:
- DisciplineName.
-
getCategoryName
String getCategoryName(GridRecord gr)
Get the grid category name- Parameters:
gr- record to check- Returns:
- CategoryName.
-
getParameter
GridParameter getParameter(GridRecord gr)
Get the grid parameter that corresponds to this record- Parameters:
gr- record to check- Returns:
- Parameter.
-
getLevelName
String getLevelName(GridRecord gr)
Get the level name- Parameters:
gr- record to check- Returns:
- LevelName.
-
getLevelDescription
String getLevelDescription(GridRecord gr)
Get the level description- Parameters:
gr- record to check- Returns:
- LevelDescription.
-
getLevelUnit
String getLevelUnit(GridRecord gr)
Get the level unit- Parameters:
gr- GridRecord with metadata- Returns:
- LevelUnit.
-
getFirstBaseTime
Date getFirstBaseTime()
Get the first base time- Returns:
- FirstBaseTime.
-
getTimeRangeUnitName
String getTimeRangeUnitName(int tunit)
Get the first time range unit name- Returns:
- the first time range unit name
-
isLatLon
boolean isLatLon(GridDefRecord gds)
Is this a lat/lon grid- Parameters:
gds- Grid definition record- Returns:
- is this a LatLon Grid
-
isVerticalCoordinate
boolean isVerticalCoordinate(GridRecord gr)
If vertical level should be made into a coordinate; dont do for surface, or levels without a meaningful coordinate value- Parameters:
gr- GridRecord with metadata- Returns:
- is this a VerticalCoordinate
-
isPositiveUp
boolean isPositiveUp(GridRecord gr)
Is postitive up for the vertical coordinate- Parameters:
gr- GridRecord with metadata- Returns:
- is this positive up level
-
getProjectionType
int getProjectionType(GridDefRecord gds)
Get the projection type- Parameters:
gds- Grid definition record- Returns:
- one of the enumerated types
-
getFirstMissingValue
float getFirstMissingValue()
.- Returns:
- FirstMissingValue.
-
isLayer
boolean isLayer(GridRecord gr)
Check to see if this grid is a layer variable- Parameters:
gr- record to check- Returns:
- true if a layer
-
getTitle
String getTitle()
Title for CF conventions- Returns:
- Title
-
getInstitution
String getInstitution()
Institution for CF conventions- Returns:
- Institution
-
getSource
String getSource()
Generating Process of model for CF conventions- Returns:
- source
-
getComment
String getComment()
Comment for CF conventions- Returns:
- comment
-
getGridType
String getGridType()
Get the grid type (GRIB, GEMPAK, McIDAS, GRADS) for labelling- Returns:
- the grid type
-
-