Package com.luciad.format.grib
Class TLcdGRIBModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.format.raster.TLcdRasterModelDescriptor
com.luciad.format.grib.TLcdGRIBModelDescriptor
- All Implemented Interfaces:
ILcdGRIBConstants
,ILcdModelDescriptor
,Serializable
- Direct Known Subclasses:
TLcdGRIB2ModelDescriptor
@Deprecated
public class TLcdGRIBModelDescriptor
extends TLcdRasterModelDescriptor
implements ILcdModelDescriptor, ILcdGRIBConstants
Deprecated.
The NetCDF decoder should be used to decode GRIB data.
Model descriptor for GRIB models.
TLcdGRIBModelDescriptor
contains the values of D, R, E to
calculate the original value of a parameter with the formula:
Y * 10D = R + (X*2E)
where
- Y = original or unpacked value;
- D = decimal scale factor;
- R = reference value;
- X = internal value;
- E = binary scalefactor;
getActualValue
, getInternalValue
).
It also contains methods to get the IDs of many features of the GRIB file
(e.g. the parameter, the unit of the parameter, the level, originating
center, date, grid...). There are some methods that return the meaning of
those IDs in a String (getLevel
,
getGeneratingProcessOrModel
, getParameter
).
For others IDs, the meaning can be found in the tables of the GRIB
specification.
There are methods that return the value of the level or layer
(getLevelValue
, getLayerBottomValue
,
getLayerTopValue
) and the unit for that
value (getLevelValueUnit
).- Since:
- 6.5
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.String to indicate unknown values.Fields inherited from interface com.luciad.format.grib.ILcdGRIBConstants
LAYER_BETWEEN_ALTITUDES_ABOVE_MSL, LAYER_BETWEEN_DEPTHS_BELOW_LAND_SURFACE, LAYER_BETWEEN_ETA_LEVELS, LAYER_BETWEEN_HEIGHT_LEVELS_ABOVE_GROUND, LAYER_BETWEEN_HYBRID_LEVELS, LAYER_BETWEEN_ISENTROPIC_LEVELS, LAYER_BETWEEN_ISOBARIC_LEVELS, LAYER_BETWEEN_ISOBARIC_SURFACES_HIGH_PRECISION, LAYER_BETWEEN_ISOBARIC_SURFACES_MIXED_PRECISION, LAYER_BETWEEN_PRESSURE_DIFFERENCE_LEVELS_FROM_GROUND, LAYER_BETWEEN_SIGMA_LEVELS, LAYER_BETWEEN_SIGMA_LEVELS_HIGH_PRECISION, LAYER_ENTIRE_ATMOSPHERE, LAYER_ENTIRE_OCEAN, LEVEL_0_DEGREE_ISOTHERM, LEVEL_ADIABATIC_CONDENSATION, LEVEL_ALTITUDE_ABOVE_MSL, LEVEL_CLOUD_BASE, LEVEL_CLOUD_TOP, LEVEL_DEPTH_BELOW_LAND_SURFACE, LEVEL_DEPTH_BELOW_SEA, LEVEL_ETA, LEVEL_GROUND_OR_WATER, LEVEL_HEIGHT_ABOVE_GROUND, LEVEL_HEIGHT_ABOVE_GROUND_HIGH_PRECISION, LEVEL_HYBRID, LEVEL_ISENTROPIC, LEVEL_ISOBARIC, LEVEL_ISOBARIC_HIGH_PRECISION, LEVEL_ISOTHERMAL, LEVEL_MAXIMUM_WIND, LEVEL_MEAN_SEE, LEVEL_NOMINAL_TOP_OF_ATMOSPHERE, LEVEL_POTENTIAL_VORTICITY_SURFACE, LEVEL_PRESSURE_DIFFERENCE_FROM_GROUND, LEVEL_SEA_BOTTOM, LEVEL_SIGMA, LEVEL_TROPOPAUSE, MODEL_ALASKA_WATERS_REGIONAL__WAVE, MODEL_ANALYSIS_PRODUCT_FROM_NCEP_AWC, MODEL_AVIATION, MODEL_BACKUP_FROM_PREVIOUS_RUN, MODEL_BIAS_CORRECTED_MEDIUM_RANGE_FORECAST, MODEL_CAC_ENSEMBLE_FORECASTS, MODEL_COASTAL_OCEAN_CIRCULATION, MODEL_CPC_MANUAL_FORECAST_PRODUCT, MODEL_CURRENT_ICING_POTENTIAL_FROM_NCEP_AWC, MODEL_DOWNSCALED_GFS_FROM_ETA_EXTENSION, MODEL_EASTERN_NORTH_PACIFIC_REGIONAL__WAVE, MODEL_EPA_AIR_QUALITY_FORECAST, MODEL_ETA, MODEL_ETA_GENERIC_RESOLUTION, MODEL_FOG_FORECAST, MODEL_FORECAST_PRODUCT_FROM_NCEP_AWC, MODEL_FORECASTER_GENERATED_FIELD, MODEL_GLOBAL_FORECAST_SYSTEM, MODEL_GLOBAL_OCEAN_FORECAST, MODEL_GLOBAL_OPTIMUM_INTERPOLATION_ANALYSIS_FROM_FINAL_RUN, MODEL_GLOBAL_OPTIMUM_INTERPOLATION_ANALYSIS_FROM_GFS_MODEL, MODEL_GLOBAL_WIND_WAVE_FORECAST, MODEL_GULF_OF_ALASKA_WIND_WAVE, MODEL_GULF_OF_MEXICO_WIND_WAVE, MODEL_ICE_CONCENTRATION_ANALYSIS, MODEL_LAKE_ICE_FORECAST, MODEL_LAND_DATA_ASSIMILATION_AND_FORECAST_SYSTEM, MODEL_LFM_FOURTH_ORDER_FORECAST, MODEL_LIMITED_AREA_FINE_MESH_ANALYSIS, MODEL_MERGE_FROM_RUC_ETA_SPECTRAL, MODEL_MESO_ETA, MODEL_NATIONAL_CONVECTIVE_WEATHER_DIAGNOSTIC_FROM_NCEP_AWC, MODEL_NCEP_ARL_TRANSPORT_AND_DISPERSION, MODEL_NCEP_OPC_AUTOMATED_PRODUCT, MODEL_NDFD_PRODUCT_GENERATED_BY_NCEP_HPC, MODEL_NESTED_GRID_FORECAST, MODEL_NON_HYDROSTATIC_MESO, MODEL_NORTH_AMERICAN_REGIONAL_REANALYSIS, MODEL_NORTH_ATLANTIC_HURRICANE_WAVE, MODEL_NORTH_PACIFIC_HURRICANE_WAVE, MODEL_NWS_FLASH_FLOOD_GUIDANCE_SYSTEM, MODEL_NWS_RIVER_FORECAST_SYSTEM, MODEL_NWW3_OCEAN_WAVE, MODEL_OZONE_ANALYSIS_FROM_NIMBUS_7_OBSERVATIONS, MODEL_OZONE_ANALYSIS_FROM_TIROS_OBSERVATIONS, MODEL_PRODUCTS_FROM_NCEP_SREF_PROCESSING, MODEL_QUANTITATIVE_PRECIPITATION_FORECAST, MODEL_QUASI_LAGRANGIAN_HURRICANE, MODEL_REGIONAL_OPTIMUM_INTERPOLATION_ANALYSIS, MODEL_RIVER_FORECAST_CENTER_QUANTITATIVE_PRECIPITATION_ESTIMATE, MODEL_RIVER_FORECAST_CENTER_QUANTITATIVE_PRECIPITATION_FORECAST, MODEL_RUC, MODEL_RUC_FROM_FSL, MODEL_RUC_SURFACE_ANALYSIS_SCALE_40KM_40N, MODEL_RUC_SURFACE_ANALYSIS_SCALE_60KM_40N, MODEL_SATELLITE_DERIVED_PRECIPITATION_AND_TEMPERATURES, MODEL_SEA_ICE_FORECAST, MODEL_SEA_SURFACE_TEMPERATURE_ANALYSIS, MODEL_SNOW_COVER_ANALYSIS, MODEL_SPECTRAL_STATISTICAL_INTERPOLATION_ANALYSIS_FROM_FINAL_RUN, MODEL_SPECTRAL_STATISTICAL_INTERPOLATION_ANALYSIS_FROM_GFS_MODEL, MODEL_T126_L42_GLOBAL_SPECTRAL_FROM_MRF_RUN, MODEL_T170_L42_GLOBAL_SPECTRAL_FROM_MRF_RUN, MODEL_ULTRA_VIOLET_INDEX, MODEL_VALUE_ADDED_POST_PROCESSED_FIELD, MODEL_WAVE_126_TRIANGULAR_28_LAYER_SPECTRAL_FROM_GFS_MODEL, MODEL_WAVE_126_TRIANGULAR_28_LAYER_SPECTRAL_FROM_MEDIUM_RANGE_FORECAST, MODEL_WAVE_62_TRIANGULAR_28_LAYER_SPECTRAL_EXT_OF_GFS_MODEL, MODEL_WAVE_62_TRIANGULAR_28_LAYER_SPECTRAL_EXT_OF_MEDIUM_RANGE_FORECAST, MODEL_WAVE_62_TRIANGULAR_28_LAYER_SPECTRAL_FROM_MEDIUM_RANGE_FORECAST, MODEL_WAVE_62_TRIANGULAR_28_LAYER_SPECTRAL_FROM_T62_GDAS_OF_MEDIUM_RANGE_FORECAST, MODEL_WAVE_62_TRIANGULAR_28_LAYER_SPECTRALFROM_MEDIUM_RANGE_FORECAST, MODEL_WAVE_80_TRIANGULAR_18_LAYER_SPECTRAL_FROM_GFS_MODEL, MODEL_WAVE_80_TRIANGULAR_18_LAYER_SPECTRAL_FROM_MEDIUM_RANGE_FORECAST, MODEL_WESTERN_NORTH_ATLANTIC_REGIONAL_WAVE, MODEL_WRF_GENERIC_RESOLUTION, MODEL_WSR_88D_STAGE_2_PRECIPITATION_ANALYSIS, MODEL_WSR_88D_STAGE_3_PRECIPITATION_ANALYSIS, PAR_ALBEDO, PAR_ATMOSPHERE_REFERENCE_HEIGHT, PAR_BEST_LIFTED_INDEX, PAR_BOUNDARY_LAYER_DISSIPATION, PAR_CLOUD_COVER_CONVECTIVE, PAR_CLOUD_COVER_HIGH, PAR_CLOUD_COVER_LOW, PAR_CLOUD_COVER_MEDIUM, PAR_CLOUD_COVER_TOTAL, PAR_CLOUD_ICE, PAR_CLOUD_WATER, PAR_CURRENT_DIRECTION, PAR_CURRENT_SPEED, PAR_CURRENT_U_COMP, PAR_CURRENT_V_COMP, PAR_DENSITY, PAR_DEW_POINT_DEPRESSION, PAR_DEW_POINT_TEMPERATURE, PAR_DIVERGENCE_ABSOLUTE, PAR_DIVERGENCE_RELATIVE, PAR_EVAPORATION, PAR_GEOMETRIC_HEIGHT, PAR_GEOPOTENTIAL, PAR_GEOPOTENTIAL_HEIGHT, PAR_GEOPOTENTIAL_HEIGHT_ANOMALY, PAR_GLOBAL_RADIATION_FLUX, PAR_HEAT_LATENT_NET_FLUX, PAR_HEAT_SENSIBLE_NET_FLUX, PAR_HUMIDITY_MIXING_RATIO, PAR_HUMIDITY_RELATIVE, PAR_HUMIDITY_SPECIFIC, PAR_ICE_COVER, PAR_ICE_DIVERGENCE, PAR_ICE_DRIFT_DIRECTION, PAR_ICE_DRIFT_SPEED, PAR_ICE_DRIFT_U_COMP, PAR_ICE_DRIFT_V_COMP, PAR_ICE_GROWTH_RATE, PAR_ICE_THICKNESS, PAR_IMAGE_DATA, PAR_LAND_COVER, PAR_LAPSE_RATE, PAR_MIXED_LAYER_DEPTH, PAR_MOMENTUM_FLUX_U_COMP, PAR_MOMENTUM_FLUX_V_COMP, PAR_MONTGOMERY_STREAM_FUNCTION, PAR_OZONE, PAR_PARCEL_LIFTED_INDEX, PAR_POTENTIAL_VORTICITY, PAR_PRECIPITABLE_WATER, PAR_PRECIPITATION_CONVECTIVE, PAR_PRECIPITATION_LARGE_SCALE, PAR_PRECIPITATION_RATE, PAR_PRECIPITATION_TOTAL, PAR_PRESSURE, PAR_PRESSURE_ANOMALY, PAR_PRESSURE_MSL, PAR_PRESSURE_TENDENCY, PAR_PRIMARY_WAVE_DIRECTION, PAR_PRIMARY_WAVE_PERIOD, PAR_RADAR_SPECTRA_1, PAR_RADAR_SPECTRA_2, PAR_RADAR_SPECTRA_3, PAR_RADIANCE_WAVE_LENGTH, PAR_RADIANCE_WAVE_NUMBER, PAR_SALINITY, PAR_SATURATION_DEFICIT, PAR_SEA_LEVEL_DEVIATION, PAR_SECONDARY_WAVE_DIRECTION, PAR_SECONDARY_WAVE_PERIOD, PAR_SNOW_CONVECTIVE, PAR_SNOW_DEPTH, PAR_SNOW_DEPTH_WATER_EQUIVALENT, PAR_SNOW_LARGE_SCALE, PAR_SNOW_MELT, PAR_SNOWFALL_RATE_WATER_EQUIVALENT, PAR_SOIL_MOISTURE_CONTENT, PAR_SOIL_TEMPERATURE, PAR_STANDARD_DEVIATION_OF_HEIGHT, PAR_STREAM_FUNCTION, PAR_SURFACE_ROUGHNESS, PAR_SWELL_WAVES_DIRECTION, PAR_SWELL_WAVES_MEAN_PERIOD, PAR_SWELL_WAVES_SIGNIFICANT_HEIGHT, PAR_TEMPERATURE, PAR_TEMPERATURE_ANOMALY, PAR_TEMPERATURE_BRIGHTNESS, PAR_TEMPERATURE_MAX, PAR_TEMPERATURE_MIN, PAR_TEMPERATURE_POTENTIAL, PAR_TEMPERATURE_PSEUDO_ADIABATIC_OR_EQUIVALENT_POTENTIAL, PAR_TEMPERATURE_VIRTUAL, PAR_THERMOCLINE_ANOMALY_MAIN, PAR_THERMOCLINE_DEPTH_MAIN, PAR_THERMOCLINE_DEPTH_TRANSIENT, PAR_THUNDERSTORM_PROBABILITY, PAR_VAPOR_PRESSURE, PAR_VEGETATION, PAR_VELOCITY_POTENTIAL, PAR_VERTICAL_U_COMP_SHEAR, PAR_VERTICAL_V_COMP_SHEAR, PAR_VERTICAL_VELOCITY_GEOMETRIC, PAR_VERTICAL_VELOCITY_PRESSURE, PAR_VERTICAL_VELOCITY_SIGMA_COORDINATE, PAR_VISIBILITY, PAR_VORTICITY_ABSOLUTE, PAR_VORTICITY_RELATIVE, PAR_WATER_RUNOFF, PAR_WATER_TEMPERATURE, PAR_WAVE_LONG_RADIATION_FLUX, PAR_WAVE_NET_LONG_RADIATION_FLUX_SURFACE, PAR_WAVE_NET_LONG_RADIATION_FLUX_TOP_ATM, PAR_WAVE_NET_SHORT_RADIATION_FLUX_SURFACE, PAR_WAVE_NET_SHORT_RADIATION_FLUX_TOP_ATM, PAR_WAVE_SHORT_RADIATION_FLUX, PAR_WAVE_SPECTRA_1, PAR_WAVE_SPECTRA_2, PAR_WAVE_SPECTRA_3, PAR_WIND_DIRECTION, PAR_WIND_MIXING_ENERGY, PAR_WIND_SPEED, PAR_WIND_U_COMP, PAR_WIND_V_COMP, PAR_WIND_WAVES_DIRECTION, PAR_WIND_WAVES_MEAN_PERIOD, PAR_WIND_WAVES_SIGNIFICANT_HEIGHT, PAR_WIND_WAVES_SWELL_COMBINED_SIGNIFICANT_HEIGHT
-
Constructor Summary
ConstructorDescriptionTLcdGRIBModelDescriptor
(String aSourceName, String aDisplayName, String aTypeName) Deprecated.Creates a new TLcdGRIBModelDescriptor with the given names. -
Method Summary
Modifier and TypeMethodDescriptiondouble
getActualValue
(int aInternalValue) Deprecated.Converts a given parameter value that is stored internally in the GRIB file into into the actual value.int
Deprecated.Returns the binary scale factor E of the data in the GRIB file.int
Deprecated.Returns the number of bits into which a value is packed.int
Deprecated.Returns the century of the initial reference time.int
Deprecated.Returns the identification number of the data representation type.int
getDay()
Deprecated.Returns the day of the time of forecast or start of time period (for averaging or accumulation of analysis).int
Deprecated.Returns the decimal scale factor D of the data in the GRIB file.int
Deprecated.Returns the number of the forecast time unit.Deprecated.Returns the name of the generating process or model, or the constantUNKNOWN
if they are not known.int
Deprecated.Returns the identification number of the process or model generating the GRIB data.int
Deprecated.Returns the edition number of the GRIB format.int
Deprecated.Returns the identification number of the grid.int
getHour()
Deprecated.Returns the hour of the time of forecast or start of time period (for averaging or accumulation of analysis).int
getInternalValue
(double aOriginalValue) Deprecated.Converts a given actual parameter value into the value that is stored internally in the GRIB file.int
Deprecated.Returns the bottom value of the layer, if specified.int
Deprecated.Returns the top value of the layer, if specified.getLevel()
Deprecated.Returns the name of the level or layer of the GRIB file, or the constantUNKNOWN
if the level is not set.int
Deprecated.Returns the identification number of the level or layer.int
Deprecated.Returns the value of the level, if specified.Deprecated.Returns the unit in which the value is expressed, or the empty string if the level is not set.int
Deprecated.Returns the minute of the time of forecast or start of time period (for averaging or accumulation of analysis).int
getMonth()
Deprecated.Returns the month of the time of forecast or start of time period (for averaging or accumulation of analysis).int
Deprecated.Sets the number included in the average, when the time range indicator indicates an average or accumulation.int
Deprecated.Returns the number missing from averages or accumulations.Deprecated.Returns the name of the organization.int
Deprecated.Returns the identification number of the originating center.Deprecated.Returns the description (name) of the parameter of the model.Deprecated.Returns the abbreviation of the parameter of the model.int
Deprecated.Returns the number of the parameter.int
Deprecated.Returns the Parameter Table Version number.Deprecated.Returns the measurement unit of the parameter of the model.int
Deprecated.Returns the period of time P1, expressed as a number of time units.int
Deprecated.Returns the period of time P2, expressed as a number of time units.double
Deprecated.Returns the reference value R of the data in the GRIB file.int
Deprecated.Returns the identification number of the subcenter.int
Deprecated.Returns the time interval between successive analysis, successive initialized analysis, or forecasts, undergoing averaging or accumulation, expressed as a number of time units.int
Deprecated.Returns the time range indicator.getUsage()
Deprecated.Returns the text describing the usage of the parameter table.double[]
Deprecated.Returns the vertical coordinate parameters associated with hybrid vertical coordinate systemsint
getYear()
Deprecated.Returns the year of the time of forecast or start of time period (for averaging or accumulation of analysis).void
setBinaryScaleFactor
(int aBinaryScaleFactor) Deprecated.Sets the binary scale factor E of the data in the GRIB file.void
setBitCount
(int aBitCount) Deprecated.Sets the number of bits into which a value is packed.void
setCenturyOfInitialReferenceTime
(int aCenturyOfInitialReferenceTime) Deprecated.Sets the century of the initial reference time.void
setDataRepresentationType
(int aDataRepresentationType) Deprecated.Sets the identification number of the data representation type.void
setDay
(int aDay) Deprecated.Sets the day of the time of forecast or start of time period (for averaging or accumulation of analysis).void
setDecimalScaleFactor
(int aDecimalScaleFactor) Deprecated.Sets the decimal scale factor D of the data in the GRIB file.void
setForecastTimeUnit
(int aForecastTimeUnit) Deprecated.Sets the number of the forecast time unit.void
setGeneratingProcessOrModelID
(int aGeneratingProcessOrModelID) Deprecated.Sets the identification number of the process or model generating the GRIB data.void
setGRIBEdition
(int aGRIBEdition) Deprecated.Sets the edition number of the GRIB format.void
setGridID
(int aGridID) Deprecated.Sets the identification number of the grid.void
setHour
(int aHour) Deprecated.Sets the hour of the time of forecast or start of time period (for averaging or accumulation of analysis).void
setLayerBottomValue
(int aLayerBottomValue) Deprecated.Sets the bottom value of the layer.void
setLayerTopValue
(int aLayerTopValue) Deprecated.Sets the top value of the layer.void
setLevelIndicator
(int aLevelIndicator) Deprecated.Sets the identification number of the level or layer.void
setLevelValue
(int aLevelValue) Deprecated.Sets the value of the level.void
setLevelValues
(int aLayerBottomValue, int aLayerTopValue) Deprecated.Sets the bottom and top values of a layer, if they are specified.void
setMinute
(int aMinute) Deprecated.Sets the minute of the time of forecast or start of time period (for averaging or accumulation of analysis).void
setMonth
(int aMonth) Deprecated.Sets the month of the time of forecast or start of time period (for averaging or accumulation of analysis).void
setNumberIncludedInAverage
(int aNumberIncludedInAverage) Deprecated.Sets the number included in the average.void
setNumberMissingFromAveragesOrAccumulations
(int aNumberMissingFromAveragesOrAccumulations) Deprecated.Sets the number missing from averages or accumulations.void
setOrganization
(String aOrganization) Deprecated.Sets the name of the organization.void
setOriginatingCenterID
(int aOriginatingCenterID) Deprecated.Sets the identification number of the originating center.void
setParameter
(String aParameter) Deprecated.Sets the description (name) of the parameter of the model.void
setParameterAbbreviation
(String aParameterAbbreviation) Deprecated.Sets the abbreviation of the parameter of the model.void
setParameterIndicator
(int aParameterIndicator) Deprecated.Sets the number of the parameter.void
setParameterTableVersion
(int aParameterTableVersion) Deprecated.Sets the Parameter Table Version number.void
setParameterUnit
(String aParameterUnit) Deprecated.Sets the measurement unit of the parameter of the model.void
setPeriodOfTimeP1
(int aPeriodOfTimeP1) Deprecated.Sets the period of time P1, expressed as a number of time units.void
setPeriodOfTimeP2
(int aPeriodOfTimeP2) Deprecated.Sets the period of time P2, expressed as a number of time units.void
setReferenceValue
(double aReferenceValue) Deprecated.Sets the reference value R of the data in the GRIB file.void
setSubCenterID
(int aSubCenterID) Deprecated.Sets the identification number of the subcenter.void
setTimeInterval
(int aTimeInterval) Deprecated.Sets the time interval between successive analysis, successive initialized analysis, or forecasts, undergoing averaging or accumulation, expressed as a number of time units.void
setTimeRangeIndicator
(int aTimeRangeIndicator) Deprecated.Sets the time range indicator.void
Deprecated.Sets the text describing the usage of the parameter table.void
setVerticalCoordinateParameters
(double[] aVerticalCoordinateParameters) Deprecated.Sets the vertical coordinate parameters associated with hybrid vertical coordinate systems.void
setYear
(int aYear) Deprecated.Sets the year of the time of forecast or start of time period (for averaging or accumulation of analysis).Methods inherited from class com.luciad.format.raster.TLcdRasterModelDescriptor
isElevation, setElevation
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Field Details
-
UNKNOWN
Deprecated.String to indicate unknown values.- See Also:
-
-
Constructor Details
-
TLcdGRIBModelDescriptor
Deprecated.Creates a new TLcdGRIBModelDescriptor with the given names.- Parameters:
aSourceName
- the name of the data source.aDisplayName
- the display name of the data source.aTypeName
- the type name of the data source.
-
-
Method Details
-
getGRIBEdition
public int getGRIBEdition()Deprecated.Returns the edition number of the GRIB format. The only values that are currently supported are 1 and 2.- Returns:
- 1 or 2.
- See Also:
-
setGRIBEdition
public void setGRIBEdition(int aGRIBEdition) Deprecated.Sets the edition number of the GRIB format.- Parameters:
aGRIBEdition
- The edition number of the GRIB format. Should be 1 or 2.- See Also:
-
getParameterTableVersion
public int getParameterTableVersion()Deprecated.Returns the Parameter Table Version number. (Parameter table version numbers 128-254 are reserved for local use.)- Returns:
- The parameter table version number.
- See Also:
-
setParameterTableVersion
public void setParameterTableVersion(int aParameterTableVersion) Deprecated.Sets the Parameter Table Version number.- Parameters:
aParameterTableVersion
- The parameter table version number.- See Also:
-
getOriginatingCenterID
public int getOriginatingCenterID()Deprecated.Returns the identification number of the originating center. Table 0 of the GRIB specification defines the centers corresponding to the originating center IDs.- Returns:
- The identification number of the originating center.
- See Also:
-
setOriginatingCenterID
public void setOriginatingCenterID(int aOriginatingCenterID) Deprecated.Sets the identification number of the originating center.- Parameters:
aOriginatingCenterID
- The identification number of the originating center.- See Also:
-
getGeneratingProcessOrModelID
public int getGeneratingProcessOrModelID()Deprecated.Returns the identification number of the process or model generating the GRIB data. Table A of the GRIB specification defines the processes and models corresponding to the IDs.- Returns:
- The identification number of the process or model generating the data.
- See Also:
-
setGeneratingProcessOrModelID
public void setGeneratingProcessOrModelID(int aGeneratingProcessOrModelID) Deprecated.Sets the identification number of the process or model generating the GRIB data.- Parameters:
aGeneratingProcessOrModelID
- The identification number of the process or model generating the data.- See Also:
-
getGridID
public int getGridID()Deprecated.Returns the identification number of the grid. Table B of the GRIB specification defines the grids corresponding to the grid IDs.- Returns:
- The identification number of the grid.
- See Also:
-
setGridID
public void setGridID(int aGridID) Deprecated.Sets the identification number of the grid.- Parameters:
aGridID
- The identification number of the grid.- See Also:
-
getParameterIndicator
public int getParameterIndicator()Deprecated.Returns the number of the parameter. Table B of the GRIB specification defines the parameters corresponding to the parameter indicators.- Returns:
- The number of the parameter.
- See Also:
-
setParameterIndicator
public void setParameterIndicator(int aParameterIndicator) Deprecated.Sets the number of the parameter.- Parameters:
aParameterIndicator
- The number of the parameter.- See Also:
-
getYear
public int getYear()Deprecated.Returns the year of the time of forecast or start of time period (for averaging or accumulation of analysis).- Returns:
- The year of the time of forecast.
- See Also:
-
setYear
public void setYear(int aYear) Deprecated.Sets the year of the time of forecast or start of time period (for averaging or accumulation of analysis).- Parameters:
aYear
- The year of the time of forecast.- See Also:
-
getMonth
public int getMonth()Deprecated.Returns the month of the time of forecast or start of time period (for averaging or accumulation of analysis).- Returns:
- The month of the time of forecast,
- See Also:
-
setMonth
public void setMonth(int aMonth) Deprecated.Sets the month of the time of forecast or start of time period (for averaging or accumulation of analysis).- Parameters:
aMonth
- The month of the time of forecast.- See Also:
-
getDay
public int getDay()Deprecated.Returns the day of the time of forecast or start of time period (for averaging or accumulation of analysis).- Returns:
- The day of the time of forecast.
- See Also:
-
setDay
public void setDay(int aDay) Deprecated.Sets the day of the time of forecast or start of time period (for averaging or accumulation of analysis).- Parameters:
aDay
- The day of the time of forecast.- See Also:
-
getHour
public int getHour()Deprecated.Returns the hour of the time of forecast or start of time period (for averaging or accumulation of analysis).- Returns:
- The hour of the time of forecast.
- See Also:
-
setHour
public void setHour(int aHour) Deprecated.Sets the hour of the time of forecast or start of time period (for averaging or accumulation of analysis).- Parameters:
aHour
- The hour of the time of forecast.- See Also:
-
getMinute
public int getMinute()Deprecated.Returns the minute of the time of forecast or start of time period (for averaging or accumulation of analysis).- Returns:
- The minute of the time of forecast.
- See Also:
-
setMinute
public void setMinute(int aMinute) Deprecated.Sets the minute of the time of forecast or start of time period (for averaging or accumulation of analysis).- Parameters:
aMinute
- The minute of the time of forecast.- See Also:
-
getForecastTimeUnit
public int getForecastTimeUnit()Deprecated.Returns the number of the forecast time unit. Table 4 of the GRIB specification defines the forecast time units.- Returns:
- The number of the forecast time unit.
- See Also:
-
setForecastTimeUnit
public void setForecastTimeUnit(int aForecastTimeUnit) Deprecated.Sets the number of the forecast time unit.- Parameters:
aForecastTimeUnit
- The number of the forecast time unit.- See Also:
-
getPeriodOfTimeP1
public int getPeriodOfTimeP1()Deprecated.Returns the period of time P1, expressed as a number of time units. It is 0 for analysis or initialized analysis.- Returns:
- The period of time P1.
- See Also:
-
setPeriodOfTimeP1
public void setPeriodOfTimeP1(int aPeriodOfTimeP1) Deprecated.Sets the period of time P1, expressed as a number of time units.- Parameters:
aPeriodOfTimeP1
- The period of time P1.- See Also:
-
getPeriodOfTimeP2
public int getPeriodOfTimeP2()Deprecated.Returns the period of time P2, expressed as a number of time units. It is 0 for analysis or initialized analysis.- Returns:
- The period of time P2.
- See Also:
-
setPeriodOfTimeP2
public void setPeriodOfTimeP2(int aPeriodOfTimeP2) Deprecated.Sets the period of time P2, expressed as a number of time units.- Parameters:
aPeriodOfTimeP2
- The period of time P2.- See Also:
-
getTimeInterval
public int getTimeInterval()Deprecated.Returns the time interval between successive analysis, successive initialized analysis, or forecasts, undergoing averaging or accumulation, expressed as a number of time units.- Returns:
- The time interval between successive forecasts.
- See Also:
-
setTimeInterval
public void setTimeInterval(int aTimeInterval) Deprecated.Sets the time interval between successive analysis, successive initialized analysis, or forecasts, undergoing averaging or accumulation, expressed as a number of time units.- Parameters:
aTimeInterval
- The time interval between successive forecasts.- See Also:
-
getTimeRangeIndicator
public int getTimeRangeIndicator()Deprecated.Returns the time range indicator.- Returns:
- The time range indicator.
- See Also:
-
setTimeRangeIndicator
public void setTimeRangeIndicator(int aTimeRangeIndicator) Deprecated.Sets the time range indicator.- Parameters:
aTimeRangeIndicator
- the time range indicator.- See Also:
-
getLevelIndicator
public int getLevelIndicator()Deprecated.Returns the identification number of the level or layer. Table 3 of the GRIB specification defines the levels corresponding to the level IDs.- Returns:
- The identification number of the level or layer.
- See Also:
-
setLevelIndicator
public void setLevelIndicator(int aLevelIndicator) Deprecated.Sets the identification number of the level or layer.- Parameters:
aLevelIndicator
- The identification number of the level or layer.- See Also:
-
getLayerTopValue
public int getLayerTopValue()Deprecated.Returns the top value of the layer, if specified. Otherwise, it is 0.- Returns:
- The top value of the layer.
- See Also:
-
setLayerTopValue
public void setLayerTopValue(int aLayerTopValue) Deprecated.Sets the top value of the layer.- Parameters:
aLayerTopValue
- The top value of the layer.- See Also:
-
getLayerBottomValue
public int getLayerBottomValue()Deprecated.Returns the bottom value of the layer, if specified. Otherwise, it is 0.- Returns:
- The bottom value of the layer.
- See Also:
-
setLayerBottomValue
public void setLayerBottomValue(int aLayerBottomValue) Deprecated.Sets the bottom value of the layer.- Parameters:
aLayerBottomValue
- The bottom value of the layer.- See Also:
-
getLevelValue
public int getLevelValue()Deprecated.Returns the value of the level, if specified. Otherwise, it is 0.- Returns:
- The value of the level.
- See Also:
-
setLevelValue
public void setLevelValue(int aLevelValue) Deprecated.Sets the value of the level.- Parameters:
aLevelValue
- The value of the level.- See Also:
-
getNumberIncludedInAverage
public int getNumberIncludedInAverage()Deprecated.Sets the number included in the average, when the time range indicator indicates an average or accumulation. Otherwise, it is zero.- Returns:
- The number included in the average.
- See Also:
-
setNumberIncludedInAverage
public void setNumberIncludedInAverage(int aNumberIncludedInAverage) Deprecated.Sets the number included in the average.- Parameters:
aNumberIncludedInAverage
- The number included in the average.- See Also:
-
getNumberMissingFromAveragesOrAccumulations
public int getNumberMissingFromAveragesOrAccumulations()Deprecated.Returns the number missing from averages or accumulations.- Returns:
- The number missing from averages.
- See Also:
-
setNumberMissingFromAveragesOrAccumulations
public void setNumberMissingFromAveragesOrAccumulations(int aNumberMissingFromAveragesOrAccumulations) Deprecated.Sets the number missing from averages or accumulations.- Parameters:
aNumberMissingFromAveragesOrAccumulations
- The number missing from averages.- See Also:
-
getCenturyOfInitialReferenceTime
public int getCenturyOfInitialReferenceTime()Deprecated.Returns the century of the initial reference time. Note that it is 20 until Jan. 1, 2001.- Returns:
- The century of the initial reference time.
- See Also:
-
setCenturyOfInitialReferenceTime
public void setCenturyOfInitialReferenceTime(int aCenturyOfInitialReferenceTime) Deprecated.Sets the century of the initial reference time.- Parameters:
aCenturyOfInitialReferenceTime
- The century of initial reference time.- See Also:
-
getSubCenterID
public int getSubCenterID()Deprecated.Returns the identification number of the subcenter. Table C of the GRIB specification defines the subcenters corresponding to the subcenter IDs.- Returns:
- The identification number of the subcenter.
- See Also:
-
setSubCenterID
public void setSubCenterID(int aSubCenterID) Deprecated.Sets the identification number of the subcenter.- Parameters:
aSubCenterID
- The identification number of the subcenter.- See Also:
-
getDataRepresentationType
public int getDataRepresentationType()Deprecated.Returns the identification number of the data representation type. Table 6 of the GRIB specification defines the data presentation type.- Returns:
- The identification number of the data representation type.
- See Also:
-
setDataRepresentationType
public void setDataRepresentationType(int aDataRepresentationType) Deprecated.Sets the identification number of the data representation type.- Parameters:
aDataRepresentationType
- The identification number of the data representation type.- See Also:
-
getDecimalScaleFactor
public int getDecimalScaleFactor()Deprecated.Returns the decimal scale factor D of the data in the GRIB file.- Returns:
- The decimal scale factor D of the data.
- See Also:
-
setDecimalScaleFactor
public void setDecimalScaleFactor(int aDecimalScaleFactor) Deprecated.Sets the decimal scale factor D of the data in the GRIB file.- Parameters:
aDecimalScaleFactor
- the decimal scale factor D of the data.- See Also:
-
getBinaryScaleFactor
public int getBinaryScaleFactor()Deprecated.Returns the binary scale factor E of the data in the GRIB file.- Returns:
- The binary scale factor E of the data.
- See Also:
-
setBinaryScaleFactor
public void setBinaryScaleFactor(int aBinaryScaleFactor) Deprecated.Sets the binary scale factor E of the data in the GRIB file.- Parameters:
aBinaryScaleFactor
- The binary scale factor E of the data.- See Also:
-
getReferenceValue
public double getReferenceValue()Deprecated.Returns the reference value R of the data in the GRIB file.- Returns:
- The reference value R of the data.
- See Also:
-
setReferenceValue
public void setReferenceValue(double aReferenceValue) Deprecated.Sets the reference value R of the data in the GRIB file.- Parameters:
aReferenceValue
- The reference value R of the data.- See Also:
-
getBitCount
public int getBitCount()Deprecated.Returns the number of bits into which a value is packed.- Returns:
- The number of bits into which a value is packed.
- See Also:
-
setBitCount
public void setBitCount(int aBitCount) Deprecated.Sets the number of bits into which a value is packed.- Parameters:
aBitCount
- The number of bits into which a value is packed.- See Also:
-
getVerticalCoordinateParameters
public double[] getVerticalCoordinateParameters()Deprecated.Returns the vertical coordinate parameters associated with hybrid vertical coordinate systems- Returns:
- The vertical coordinate parameters associated with hybrid vertical coordinate systems.
- See Also:
-
setVerticalCoordinateParameters
public void setVerticalCoordinateParameters(double[] aVerticalCoordinateParameters) Deprecated.Sets the vertical coordinate parameters associated with hybrid vertical coordinate systems.- Parameters:
aVerticalCoordinateParameters
- The vertical coordinate parameters associated with hybrid vertical coordinate systems.- See Also:
-
getParameter
Deprecated.Returns the description (name) of the parameter of the model.- Returns:
- The description of the parameter of the model.
- See Also:
-
setParameter
Deprecated.Sets the description (name) of the parameter of the model.- Parameters:
aParameter
- The description of the parameter of the model.- See Also:
-
getParameterUnit
Deprecated.Returns the measurement unit of the parameter of the model.- Returns:
- The measurement unit of the parameter of the model.
- See Also:
-
setParameterUnit
Deprecated.Sets the measurement unit of the parameter of the model.- Parameters:
aParameterUnit
- The measurement unit of the parameter of the model.- See Also:
-
getParameterAbbreviation
Deprecated.Returns the abbreviation of the parameter of the model.- Returns:
- The abbreviation of the parameter of the model.
- See Also:
-
setParameterAbbreviation
Deprecated.Sets the abbreviation of the parameter of the model.- Parameters:
aParameterAbbreviation
- The abbreviation of the parameter of the model.- See Also:
-
getOrganization
Deprecated.Returns the name of the organization.- Returns:
- The name of the organization.
- See Also:
-
setOrganization
Deprecated.Sets the name of the organization.- Parameters:
aOrganization
- The name of the organization.- See Also:
-
getUsage
Deprecated.Returns the text describing the usage of the parameter table.- Returns:
- The text describing the usage of the parameter table.
- See Also:
-
setUsage
Deprecated.Sets the text describing the usage of the parameter table.- Parameters:
aUsage
- The text describing the usage of the parameter table.- See Also:
-
getGeneratingProcessOrModel
Deprecated.Returns the name of the generating process or model, or the constantUNKNOWN
if they are not known.- Returns:
- The name of the generating process or model.
- See Also:
-
setLevelValues
public void setLevelValues(int aLayerBottomValue, int aLayerTopValue) Deprecated.Sets the bottom and top values of a layer, if they are specified. Sets the value of a level, if it is specified. The values that are not specified are set to 0.- Parameters:
aLayerBottomValue
- The bottom value of the layer.aLayerTopValue
- The top value of the layer.- See Also:
-
getLevel
Deprecated.Returns the name of the level or layer of the GRIB file, or the constantUNKNOWN
if the level is not set.- Returns:
- The name of the level or layer of the GRIB file.
- See Also:
-
getLevelValueUnit
Deprecated.Returns the unit in which the value is expressed, or the empty string if the level is not set.- Returns:
- The unit in which the value is expressed.
- See Also:
-
getInternalValue
public int getInternalValue(double aOriginalValue) Deprecated.Converts a given actual parameter value into the value that is stored internally in the GRIB file.- Parameters:
aOriginalValue
- The value to convert.- Returns:
- The internal value corresponding with the given parameter value.
- See Also:
-
getActualValue
public double getActualValue(int aInternalValue) Deprecated.Converts a given parameter value that is stored internally in the GRIB file into into the actual value.- Parameters:
aInternalValue
- The value to convert.- Returns:
- The parameter value corresponding to the given internal value.
- See Also:
-