ucar.nc2.iosp.mcidas
Class Vis5DIosp.Vis5DLookup

java.lang.Object
  extended by ucar.nc2.iosp.mcidas.Vis5DIosp.Vis5DLookup
All Implemented Interfaces:
GridTableLookup
Enclosing class:
Vis5DIosp

public class Vis5DIosp.Vis5DLookup
extends Object
implements GridTableLookup

Get all the information about a Vis5D file


Field Summary
 
Fields inherited from interface ucar.grid.GridTableLookup
AlbersEqualArea, Curvilinear, GaussianLatLon, LambertAzimuthEqualArea, LambertConformal, Mercator, Orthographic, PolarStereographic, RotatedLatLon, UTM
 
Constructor Summary
Vis5DIosp.Vis5DLookup()
          Gets a representative grid for this lookup
 
Method Summary
 String getCategoryName(GridRecord gr)
          gets the CategoryName.
 String getComment()
          comment for CF conventions.
 String getDisciplineName(GridRecord gr)
          gets the DisciplineName.
 Date getFirstBaseTime()
          gets the BaseTime Forecastime.
 float getFirstMissingValue()
          gets the MissingValue.
 String getGridName(GridDefRecord gds)
          gets the grid type.
 String getGridType()
          Get the grid type for labelling
 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.
 GridParameter getParameter(GridRecord gr)
          gets parameter table, then grib1 parameter based on number.
 int getProjectionType(GridDefRecord gds)
          gets the ProjectionType.
 String getShapeName(GridDefRecord gds)
          .
 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)
          is this a VerticalCoordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vis5DIosp.Vis5DLookup

public Vis5DIosp.Vis5DLookup()
Gets a representative grid for this lookup

Method Detail

getShapeName

public String getShapeName(GridDefRecord gds)
.

Specified by:
getShapeName in interface GridTableLookup
Parameters:
gds -
Returns:
ShapeName.

getGridName

public final String getGridName(GridDefRecord gds)
gets the grid type.

Specified by:
getGridName in interface GridTableLookup
Parameters:
gds -
Returns:
GridName

getParameter

public final GridParameter getParameter(GridRecord gr)
gets parameter table, then grib1 parameter based on number.

Specified by:
getParameter in interface GridTableLookup
Parameters:
gr - GridRecord
Returns:
Parameter

getDisciplineName

public final String getDisciplineName(GridRecord gr)
gets the DisciplineName.

Specified by:
getDisciplineName in interface GridTableLookup
Parameters:
gr -
Returns:
DisciplineName

getCategoryName

public final String getCategoryName(GridRecord gr)
gets the CategoryName.

Specified by:
getCategoryName in interface GridTableLookup
Parameters:
gr -
Returns:
CategoryName

getLevelName

public final String getLevelName(GridRecord gr)
gets the LevelName.

Specified by:
getLevelName in interface GridTableLookup
Parameters:
gr -
Returns:
LevelName

getLevelDescription

public final String getLevelDescription(GridRecord gr)
gets the LevelDescription.

Specified by:
getLevelDescription in interface GridTableLookup
Parameters:
gr -
Returns:
LevelDescription

getLevelUnit

public final String getLevelUnit(GridRecord gr)
gets the LevelUnit.

Specified by:
getLevelUnit in interface GridTableLookup
Parameters:
gr -
Returns:
LevelUnit

getTimeRangeUnitName

public final String getTimeRangeUnitName(int tunit)
Description copied from interface: GridTableLookup
Get the first time range unit name

Specified by:
getTimeRangeUnitName in interface GridTableLookup
Returns:
the first time range unit name

getFirstBaseTime

public final Date getFirstBaseTime()
gets the BaseTime Forecastime.

Specified by:
getFirstBaseTime in interface GridTableLookup
Returns:
BaseTime

isLatLon

public final boolean isLatLon(GridDefRecord gds)
is this a LatLon grid.

Specified by:
isLatLon in interface GridTableLookup
Parameters:
gds -
Returns:
isLatLon

getProjectionType

public final int getProjectionType(GridDefRecord gds)
gets the ProjectionType.

Specified by:
getProjectionType in interface GridTableLookup
Parameters:
gds -
Returns:
ProjectionType

isVerticalCoordinate

public final boolean isVerticalCoordinate(GridRecord gr)
is this a VerticalCoordinate.

Specified by:
isVerticalCoordinate in interface GridTableLookup
Parameters:
gr -
Returns:
isVerticalCoordinate

isPositiveUp

public final boolean isPositiveUp(GridRecord gr)
is this a PositiveUp VerticalCoordinate.

Specified by:
isPositiveUp in interface GridTableLookup
Parameters:
gr -
Returns:
isPositiveUp

getFirstMissingValue

public final float getFirstMissingValue()
gets the MissingValue.

Specified by:
getFirstMissingValue in interface GridTableLookup
Returns:
MissingValue

isLayer

public boolean isLayer(GridRecord gr)
Is this a layer?

Specified by:
isLayer in interface GridTableLookup
Parameters:
gr - record to check
Returns:
true if a layer

getTitle

public final String getTitle()
gets the CF title.

Specified by:
getTitle in interface GridTableLookup
Returns:
title

getInstitution

public String getInstitution()
Institution for CF conventions

Specified by:
getInstitution in interface GridTableLookup
Returns:
Institution

getSource

public final String getSource()
gets the Source, Generating Process or Model.

Specified by:
getSource in interface GridTableLookup
Returns:
source

getComment

public final String getComment()
comment for CF conventions.

Specified by:
getComment in interface GridTableLookup
Returns:
comment

getGridType

public String getGridType()
Get the grid type for labelling

Specified by:
getGridType in interface GridTableLookup
Returns:
the grid type


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.