ucar.grib.grib2
Class Grib2ProductDefinitionSection

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

Deprecated. use Grib2Pds

public final class Grib2ProductDefinitionSection
extends 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


Field Summary
protected  int timeRangeUnit
          Deprecated. timeRangeUnit.
 
Constructor Summary
Grib2ProductDefinitionSection(RandomAccessFile raf, long refTime)
          Deprecated. Constructs a Grib2ProductDefinitionSection object from a raf.
 
Method Summary
 Date getEndTI()
          Deprecated.  
 int getForecastTime()
          Deprecated.  
 int getIndicatorTU(int tr)
          Deprecated.  
 int getLength()
          Deprecated. length of PDS
 int getLenTimeRange(int tr)
          Deprecated.  
 int getNumberForecasts()
          Deprecated. number of forecasts for this parameter
 Grib2Pds getPdsVars()
          Deprecated. PDS as Grib2PDSVariables
 int getStatProcess(int tr)
          Deprecated.  
 int[] getTimeIncrement()
          Deprecated.  
 int getTimeIncrement(int tr)
          Deprecated.  
 int getTimeRanges()
          Deprecated.  
 int getTimeType(int tr)
          Deprecated.  
 int getTimeUnit(int tr)
          Deprecated.  
 int getTypeFirstFixedSurface()
          Deprecated.  
 String getTypeFirstFixedSurfaceName()
          Deprecated.  
 int getTypeSecondFixedSurface()
          Deprecated.  
 String getTypeSecondFixedSurfaceName()
          Deprecated.  
 float getValueFirstFixedSurface()
          Deprecated.  
 float getValueSecondFixedSurface()
          Deprecated.  
static void main(String[] args)
          Deprecated. main.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeRangeUnit

protected int timeRangeUnit
Deprecated. 
timeRangeUnit.

Constructor Detail

Grib2ProductDefinitionSection

public Grib2ProductDefinitionSection(RandomAccessFile raf,
                                     long refTime)
                              throws IOException
Deprecated. 
Constructs a Grib2ProductDefinitionSection object from a raf.

Parameters:
raf - RandomAccessFile with PDS content
refTime - reference time in msecs
Throws:
IOException - if raf contains no valid GRIB file
Method Detail

getForecastTime

public final int getForecastTime()
Deprecated. 

forecastTime.

Returns:
ForecastTime

getTypeFirstFixedSurface

public final int getTypeFirstFixedSurface()
Deprecated. 

typeFirstFixedSurface.

Returns:
FirstFixedSurface as int

getTypeFirstFixedSurfaceName

public final 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 String getTypeSecondFixedSurfaceName()
Deprecated. 

typeSecondFixedSurface Name.

Returns:
SecondFixedSurfaceName

getValueSecondFixedSurface

public final float getValueSecondFixedSurface()
Deprecated. 

valueSecondFixedSurface.

Returns:
SecondFixedSurfaceValue

getEndTI

public final 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 Grib2Pds getPdsVars()
Deprecated. 
PDS as Grib2PDSVariables

Returns:
Grib2PDSVariables PDS vars

main

public static void main(String[] args)
                 throws IOException
Deprecated. 
main.

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


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