ucar.grib.grib1
Class Grib1Grid

java.lang.Object
  extended by ucar.grib.grib1.Grib1GridDefinitionSection
      extended by ucar.grib.grib1.Grib1Grid

public final class Grib1Grid
extends Grib1GridDefinitionSection

A class that represents a canned grid definition section (GDS) .


Field Summary
 
Fields inherited from class ucar.grib.grib1.Grib1GridDefinitionSection
checksum, dx, dy, gdskey, grid_units, lat1, lat2, lon1, lon2, lov, name, numPV, nx, ny, resolution, scan, type
 
Constructor Summary
Grib1Grid(Grib1ProductDefinitionSection pds)
          Constructs a Grib1Grid object from a pds.
 
Method Summary
static void populateGDS(GribGridDefRecord ggdr, int gdsKey)
          Populates a GridDefRecord according to gridNumber.
static void printGDS(int gdsKey)
          Prints out GDS for records with predefined GDS
 
Methods inherited from class ucar.grib.grib1.Grib1GridDefinitionSection
getAngle, getCheckSum, getDx, getDy, getGdsKey, getGdsVars, getGdtn, getGrid_units, getGridType, getIsThin, getLa1, getLa2, getLad, getLatin, getLatin1, getLatin2, getLength, getLo1, getLo2, getLov, getName, getName, getNp, getNumPV, getNx, getNy, getProjectionCenter, getResolution, getScanMode, getShape, getShapeMajorAxis, getShapeMinorAxis, getShapeName, getShapeName, getShapeRadius, getSpLat, getSpLon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grib1Grid

public Grib1Grid(Grib1ProductDefinitionSection pds)
Constructs a Grib1Grid object from a pds.

Parameters:
pds - Grib1ProductDefinitionSection to formulate grib
Method Detail

printGDS

public static void printGDS(int gdsKey)
Prints out GDS for records with predefined GDS

Parameters:
gdsKey -

populateGDS

public static void populateGDS(GribGridDefRecord ggdr,
                               int gdsKey)
Populates a GridDefRecord according to gridNumber.

Parameters:
ggdr - GridDefRecord
gdsKey - as int


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