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:
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>
localParams
protected ucar.nc2.grib.grib2.table.NcepLocalParams
ncepLocalParams
-
Fields inherited from class ucar.nc2.grib.grib2.table.Grib2Tables
config
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory(int discipline, int category)
String
getCodeTableValue(String tableName, int code)
TimeCoordIntvDateValue
getForecastTimeInterval(Grib2Record gr)
double
getForecastTimeIntervalSizeInHours(Grib2Pds pds)
Only use in GribVariable to decide on variable identity when intvMerge = false.String
getGeneratingProcessName(int genProcess)
String
getLevelNameShort(int id)
protected com.google.common.collect.ImmutableList<GribTables.Parameter>
getLocalParameters()
GribTables.Parameter
getParameter(int discipline, int category, int number)
GribTables.Parameter
getParameterRaw(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.String
getParamTablePathUsedFor(int discipline, int category, int number)
Get the name of the parameter table that is being used for this parameter.String
getStatisticName(int id)
String
getStatisticNameShort(int id)
GribStatType
getStatType(int id)
String
getVariableName(int discipline, int category, int parameter)
Make a IOSP Variable name, using the Parameter name is available, otherwise a synthesized name.VertCoordType
getVertUnit(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:
getForecastTimeInterval
in 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:
getForecastTimeIntervalSizeInHours
in 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:Grib2Tables
Get 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:Grib2Tables
Get the list of parameters provided by this Grib2Table.
-
getVariableName
public String getVariableName(int discipline, int category, int parameter)
Description copied from class:Grib2Tables
Make 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:Grib2Tables
Get the unprocessed parameter provided by this Grib2Table.
-
getCodeTableValue
public String getCodeTableValue(String tableName, int code)
- Overrides:
getCodeTableValue
in classGrib2Tables
-
getVertUnit
public VertCoordType getVertUnit(int code)
Description copied from class:Grib2Tables
Unit of vertical coordinate. from Grib2 code table 4.5. Only levels with units get a dimension added- Specified by:
getVertUnit
in interfaceGribTables
- Overrides:
getVertUnit
in classGrib2Tables
- Parameters:
code
- code from table 4.5- Returns:
- level unit, default is empty unit string
-
getLevelNameShort
public String getLevelNameShort(int id)
- Specified by:
getLevelNameShort
in interfaceGribTables
- Overrides:
getLevelNameShort
in classGrib2Tables
-
getStatisticNameShort
public String getStatisticNameShort(int id)
- Overrides:
getStatisticNameShort
in classGrib2Tables
-
getStatType
@Nullable public GribStatType getStatType(int id)
- Specified by:
getStatType
in interfaceGribTables
- Overrides:
getStatType
in classGrib2Tables
-
getStatisticName
@Nullable public String getStatisticName(int id)
- Overrides:
getStatisticName
in classGrib2Tables
-
getGeneratingProcessName
@Nullable public String getGeneratingProcessName(int genProcess)
- Specified by:
getGeneratingProcessName
in interfaceGribTables
- Overrides:
getGeneratingProcessName
in classGrib2Tables
-
getCategory
@Nullable public String getCategory(int discipline, int category)
- Overrides:
getCategory
in classGrib2Tables
-
getLocalParameters
protected com.google.common.collect.ImmutableList<GribTables.Parameter> getLocalParameters()
-
-