Package ucar.nc2.grib.grib2.table
Class NwsMetDevTables
- java.lang.Object
-
- ucar.nc2.grib.grib2.table.Grib2Tables
-
- ucar.nc2.grib.grib2.table.NwsMetDevTables
-
- All Implemented Interfaces:
thredds.featurecollection.TimeUnitConverter,GribTables
public class NwsMetDevTables extends Grib2Tables
Center = (7) US National Weather Service, National Centres for Environmental Prediction (NCEP) SubCenter = (14) NWS Meteorological Development Laboratory Master Table = 1 Local Table = 0- Since:
- 1/28/2016.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ucar.nc2.grib.GribTables
GribTables.Parameter
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Integer,Grib2Parameter>localParamsprotected ucar.nc2.grib.grib2.table.NcepLocalParamsncepLocalParams-
Fields inherited from class ucar.nc2.grib.grib2.table.Grib2Tables
config
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory(int discipline, int category)StringgetCodeTableValue(String tableName, int code)TimeCoordIntvDateValuegetForecastTimeInterval(Grib2Record gr)doublegetForecastTimeIntervalSizeInHours(Grib2Pds pds)Only use in GribVariable to decide on variable identity when intvMerge = false.StringgetGeneratingProcessName(int genProcess)StringgetLevelNameShort(int id)protected com.google.common.collect.ImmutableList<GribTables.Parameter>getLocalParameters()GribTables.ParametergetParameter(int discipline, int category, int number)GribTables.ParametergetParameterRaw(int discipline, int category, int number)Get the unprocessed parameter provided by this Grib2Table.com.google.common.collect.ImmutableList<GribTables.Parameter>getParameters()Get the list of parameters provided by this Grib2Table.StringgetParamTablePathUsedFor(int discipline, int category, int number)Get the name of the parameter table that is being used for this parameter.StringgetStatisticName(int id)StringgetStatisticNameShort(int id)GribStatTypegetStatType(int id)StringgetVariableName(int discipline, int category, int parameter)Make a IOSP Variable name, using the Parameter name is available, otherwise a synthesized name.VertCoordTypegetVertUnit(int code)Unit of vertical coordinate.-
Methods inherited from class ucar.nc2.grib.grib2.table.Grib2Tables
convertTimeUnit, factory, factory, getAllRegisteredTables, getCenterId, getConfigId, getForecastDate, getForecastTimeIntervalOffset, getGeneratingProcessTypeName, getLevelName, getName, getParameter, getParameter, getParameter, getPath, getProbabilityNameShort, getSubCenterName, getType, getVariableName, isLayer, isLevelUsed, isLocal, isLocal, isLocal, lookForProblems, makeParamCode, makeParamCode, makeParamId, setTimeUnitConverter, showDetails, showEntryDetails, showSpecialPdsInfo, unmakeParamId
-
-
-
-
Field Detail
-
ncepLocalParams
protected final ucar.nc2.grib.grib2.table.NcepLocalParams ncepLocalParams
-
localParams
protected Map<Integer,Grib2Parameter> localParams
-
-
Method Detail
-
getForecastTimeInterval
@Nullable public TimeCoordIntvDateValue getForecastTimeInterval(Grib2Record gr)
- Overrides:
getForecastTimeIntervalin classGrib2Tables
-
getForecastTimeIntervalSizeInHours
public double getForecastTimeIntervalSizeInHours(Grib2Pds pds)
Only use in GribVariable to decide on variable identity when intvMerge = false. By returning a constant, we dont intvMerge = false. Problem is we cant reconstruct interval length without reference time, which is not in the pds.- Overrides:
getForecastTimeIntervalSizeInHoursin classGrib2Tables- Parameters:
pds- must be a Grib2Pds.PdsInterval- Returns:
- interval size in units of hours LOOK generalize this to return a size and unit?
-
getParamTablePathUsedFor
public String getParamTablePathUsedFor(int discipline, int category, int number)
Description copied from class:Grib2TablesGet the name of the parameter table that is being used for this parameter.
-
getParameters
public com.google.common.collect.ImmutableList<GribTables.Parameter> getParameters()
Description copied from class:Grib2TablesGet the list of parameters provided by this Grib2Table.
-
getVariableName
public String getVariableName(int discipline, int category, int parameter)
Description copied from class:Grib2TablesMake a IOSP Variable name, using the Parameter name is available, otherwise a synthesized name.
-
getParameter
public GribTables.Parameter getParameter(int discipline, int category, int number)
-
getParameterRaw
public GribTables.Parameter getParameterRaw(int discipline, int category, int number)
Description copied from class:Grib2TablesGet the unprocessed parameter provided by this Grib2Table.
-
getCodeTableValue
public String getCodeTableValue(String tableName, int code)
- Overrides:
getCodeTableValuein classGrib2Tables
-
getVertUnit
public VertCoordType getVertUnit(int code)
Description copied from class:Grib2TablesUnit of vertical coordinate. from Grib2 code table 4.5. Only levels with units get a dimension added- Specified by:
getVertUnitin interfaceGribTables- Overrides:
getVertUnitin classGrib2Tables- Parameters:
code- code from table 4.5- Returns:
- level unit, default is empty unit string
-
getLevelNameShort
public String getLevelNameShort(int id)
- Specified by:
getLevelNameShortin interfaceGribTables- Overrides:
getLevelNameShortin classGrib2Tables
-
getStatisticNameShort
public String getStatisticNameShort(int id)
- Overrides:
getStatisticNameShortin classGrib2Tables
-
getStatType
@Nullable public GribStatType getStatType(int id)
- Specified by:
getStatTypein interfaceGribTables- Overrides:
getStatTypein classGrib2Tables
-
getStatisticName
@Nullable public String getStatisticName(int id)
- Overrides:
getStatisticNamein classGrib2Tables
-
getGeneratingProcessName
@Nullable public String getGeneratingProcessName(int genProcess)
- Specified by:
getGeneratingProcessNamein interfaceGribTables- Overrides:
getGeneratingProcessNamein classGrib2Tables
-
getCategory
@Nullable public String getCategory(int discipline, int category)
- Overrides:
getCategoryin classGrib2Tables
-
getLocalParameters
protected com.google.common.collect.ImmutableList<GribTables.Parameter> getLocalParameters()
-
-