ucar.grib.grib2
Class Grib2IdentificationSection

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

public final class Grib2IdentificationSection
extends Object

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


Constructor Summary
Grib2IdentificationSection(RandomAccessFile raf)
          Constructs a Grib2IdentificationSection object from a RandomAccessFile.
 
Method Summary
 Date getBaseTime()
          reference reference or base time as Dare.
 int getCenter_id()
          Identification of center.
 int getLength()
           
 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.
 String getProductStatusName()
          productStatusName.
 int getProductType()
          Product type.
 String getProductTypeName()
          Product type name.
 long getRefTime()
          return reference time of product in milliseconds.
 int getSignificanceOfRT()
          Model Run/Analysis/Reference time.
 String getSignificanceOfRTName()
          Model Run/Analysis/Reference time.
 int getSubcenter_id()
          Identification of subcenter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib2IdentificationSection

public Grib2IdentificationSection(RandomAccessFile raf)
                           throws IOException
Constructs a Grib2IdentificationSection object from a RandomAccessFile.

Parameters:
raf - RandomAccessFile with Section 1 content
Throws:
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 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 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 String getProductStatusName()
productStatusName.

Returns:
productStatus name

getProductType

public final int getProductType()
Product type.

Returns:
productType as int

getProductTypeName

public final String getProductTypeName()
Product type name.

Returns:
productType name

getLength

public int getLength()


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