ucar.grib.grib2
Class Grib2ProductDefinitionSection

java.lang.Object
  extended by ucar.grib.grib2.Grib2ProductDefinitionSection

public final class Grib2ProductDefinitionSection
extends java.lang.Object

A class representing the product definition section (PDS) of a GRIB product. This is section 4 of a Grib record that contains information about the parameter


Constructor Summary
Grib2ProductDefinitionSection(ucar.unidata.io.RandomAccessFile raf)
          Constructs a Grib2ProductDefinitionSection object from a raf.
 
Method Summary
 int getAnalysisGenProcess()
          Deprecated.  
 int getBackGenProcess()
          Deprecated.  
 int getCoordinates()
          Deprecated.  
 java.util.Date getEndTI()
          Deprecated.  
 int getForecastTime()
          Deprecated.  
 int getHoursAfter()
          Deprecated.  
 int getIndicatorTU(int tr)
          Deprecated.  
 int getLength()
          Deprecated. length of PDS
 int getLenTimeRange(int tr)
          Deprecated.  
 int getMinutesAfter()
          Deprecated.  
 int getNumberForecasts()
          Deprecated. number of forecasts for this parameter
 int getParameterCategory()
          Deprecated.  
 int getParameterNumber()
          Deprecated.  
 Grib2PDSVariables getPdsVars()
          PDS as Grib2PDSVariables
 int getProductDefinition()
          Deprecated.  
 java.lang.String getProductDefinitionName()
          Deprecated.  
 int getStatProcess(int tr)
          Deprecated.  
 int[] getTimeIncrement()
          Deprecated.  
 int getTimeIncrement(int tr)
          Deprecated.  
 int getTimeRanges()
          Deprecated.  
 int getTimeRangeUnit()
          Deprecated.  
 int getTimeType(int tr)
          Deprecated.  
 int getTimeUnit(int tr)
          Deprecated.  
 int getTypeFirstFixedSurface()
          Deprecated.  
 java.lang.String getTypeFirstFixedSurfaceName()
          Deprecated.  
 java.lang.String getTypeGenProcess()
          Deprecated.  
 int getTypeGenProcessNumeric()
          Deprecated.  
 int getTypeSecondFixedSurface()
          Deprecated.  
 java.lang.String getTypeSecondFixedSurfaceName()
          Deprecated.  
 float getValueFirstFixedSurface()
          Deprecated.  
 float getValueSecondFixedSurface()
          Deprecated.  
static void main(java.lang.String[] args)
          main.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib2ProductDefinitionSection

public Grib2ProductDefinitionSection(ucar.unidata.io.RandomAccessFile raf)
                              throws java.io.IOException
Constructs a Grib2ProductDefinitionSection object from a raf.

Parameters:
raf - RandomAccessFile with PDS content
Throws:
java.io.IOException - if raf contains no valid GRIB file
Method Detail

getCoordinates

public final int getCoordinates()
Deprecated. 

Number of this coordinates.

Returns:
Coordinates number

getProductDefinition

public final int getProductDefinition()
Deprecated. 

productDefinition.

Returns:
ProductDefinition

getProductDefinitionName

public final java.lang.String getProductDefinitionName()
Deprecated. 

product Definition Name.

Returns:
ProductDefinitionName

getParameterCategory

public final int getParameterCategory()
Deprecated. 

parameter Category .

Returns:
parameterCategory as int

getParameterNumber

public final int getParameterNumber()
Deprecated. 

parameter Number.

Returns:
ParameterNumber

getTypeGenProcess

public final java.lang.String getTypeGenProcess()
Deprecated. 

type of Generating Process.

Returns:
GenProcess

getTypeGenProcessNumeric

public final int getTypeGenProcessNumeric()
Deprecated. 

type of Generating Process.

Returns:
GenProcess

getBackGenProcess

public final int getBackGenProcess()
Deprecated. 

backGenProcess.

Returns:
BackGenProcess

getAnalysisGenProcess

public final int getAnalysisGenProcess()
Deprecated. 

analysisGenProcess.

Returns:
analysisGenProcess

getHoursAfter

public final int getHoursAfter()
Deprecated. 

hoursAfter.

Returns:
HoursAfter

getMinutesAfter

public final int getMinutesAfter()
Deprecated. 

minutesAfter.

Returns:
MinutesAfter

getTimeRangeUnit

public final int getTimeRangeUnit()
Deprecated. 

returns timeRangeUnit .

Returns:
TimeRangeUnitName

getForecastTime

public final int getForecastTime()
Deprecated. 

forecastTime.

Returns:
ForecastTime

getTypeFirstFixedSurface

public final int getTypeFirstFixedSurface()
Deprecated. 

typeFirstFixedSurface.

Returns:
FirstFixedSurface as int

getTypeFirstFixedSurfaceName

public final java.lang.String getTypeFirstFixedSurfaceName()
Deprecated. 

typeFirstFixedSurface Name.

Returns:
FirstFixedSurfaceName

getValueFirstFixedSurface

public final float getValueFirstFixedSurface()
Deprecated. 

valueFirstFixedSurface.

Returns:
FirstFixedSurfaceValue

getTypeSecondFixedSurface

public final int getTypeSecondFixedSurface()
Deprecated. 

typeSecondFixedSurface.

Returns:
SecondFixedSurface as int

getTypeSecondFixedSurfaceName

public final java.lang.String getTypeSecondFixedSurfaceName()
Deprecated. 

typeSecondFixedSurface Name.

Returns:
SecondFixedSurfaceName

getValueSecondFixedSurface

public final float getValueSecondFixedSurface()
Deprecated. 

valueSecondFixedSurface.

Returns:
SecondFixedSurfaceValue

getEndTI

public final java.util.Date getEndTI()
Deprecated. 

Returns:
Date

getTimeRanges

public final int getTimeRanges()
Deprecated. 

Returns:
int

getTimeIncrement

public final int[] getTimeIncrement()
Deprecated. 

extra information about timeRanges

Returns:
int[]

getStatProcess

public final int getStatProcess(int tr)
Deprecated. 

Parameters:
tr - timeRange used for StatProcess
Returns:
int

getTimeType

public final int getTimeType(int tr)
Deprecated. 

Parameters:
tr - timeRange used for TimeType
Returns:
int

getTimeUnit

public final int getTimeUnit(int tr)
Deprecated. 

Parameters:
tr - timeRange used for TimeUnit
Returns:
int

getLenTimeRange

public final int getLenTimeRange(int tr)
Deprecated. 

Parameters:
tr - timeRange used for LenTimeRange
Returns:
int

getIndicatorTU

public final int getIndicatorTU(int tr)
Deprecated. 

Parameters:
tr - timeRange used for IndicatorTU
Returns:
int

getTimeIncrement

public final int getTimeIncrement(int tr)
Deprecated. 

Parameters:
tr - timeRange used for TimeIncrement
Returns:
int

getNumberForecasts

public final int getNumberForecasts()
Deprecated. number of forecasts for this parameter

Returns:
int

getLength

public int getLength()
Deprecated. length of PDS

Returns:
int length

getPdsVars

public Grib2PDSVariables getPdsVars()
PDS as Grib2PDSVariables

Returns:
Grib2PDSVariables PDS vars

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
main.

Parameters:
args - Grib name and PDS offset in Grib
Throws:
java.io.IOException - on io error