ucar.grib.grib2
Class Grib2IdentificationSection

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

public final class Grib2IdentificationSection
extends java.lang.Object

A class representing the IdentificationSection section 1 of a GRIB record. Information about center, tables, and reference times.


Constructor Summary
Grib2IdentificationSection(ucar.unidata.io.RandomAccessFile raf)
          Constructs a Grib2IdentificationSection object from a RandomAccessFile.
 
Method Summary
 java.util.Date getBaseTime()
          reference reference or base time as Dare.
 int getCenter_id()
          Identification of center.
 int getLocal_table_version()
          local table version number.
 int getMaster_table_version()
          Parameter Table Version number.
 int getProductStatus()
          productStatus values are operational, test, research, etc.
 java.lang.String getProductStatusName()
          productStatusName.
 int getProductType()
          Product type.
 java.lang.String getProductTypeName()
          Product type name.
 long getRefTime()
          return reference time of product in milliseconds.
 int getSignificanceOfRT()
          Model Run/Analysis/Reference time.
 java.lang.String getSignificanceOfRTName()
          Model Run/Analysis/Reference time.
 int getSubcenter_id()
          Identification of subcenter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib2IdentificationSection

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

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

getCenter_id

public final int getCenter_id()
Identification of center.

Returns:
center id as int

getSubcenter_id

public final int getSubcenter_id()
Identification of subcenter.

Returns:
subcenter as int

getMaster_table_version

public final int getMaster_table_version()
Parameter Table Version number.

Returns:
master_table_version as int

getLocal_table_version

public final int getLocal_table_version()
local table version number.

Returns:
local_table_version as int

getSignificanceOfRT

public final int getSignificanceOfRT()
Model Run/Analysis/Reference time.

Returns:
significanceOfRT as int

getSignificanceOfRTName

public final java.lang.String getSignificanceOfRTName()
Model Run/Analysis/Reference time.

Returns:
significanceOfRT Name

getRefTime

public final long getRefTime()
return reference time of product in milliseconds.

Returns:
referenceTime

getBaseTime

public final java.util.Date getBaseTime()
reference reference or base time as Dare.

Returns:
baseTime

getProductStatus

public final int getProductStatus()
productStatus values are operational, test, research, etc.

Returns:
productStatus as int

getProductStatusName

public final java.lang.String getProductStatusName()
productStatusName.

Returns:
productStatus name

getProductType

public final int getProductType()
Product type.

Returns:
productType as int

getProductTypeName

public final java.lang.String getProductTypeName()
Product type name.

Returns:
productType name