ucar.grib.grib1
Class Grib1Grid
java.lang.Object
ucar.grib.grib1.Grib1GridDefinitionSection
ucar.grib.grib1.Grib1Grid
public final class Grib1Grid
- extends Grib1GridDefinitionSection
A class that represents a canned grid definition section (GDS) .
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 |
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 |
Grib1Grid
public Grib1Grid(Grib1ProductDefinitionSection pds)
- Constructs a Grib1Grid object from a pds.
- Parameters:
pds
- Grib1ProductDefinitionSection to formulate grib
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
- GridDefRecordgdsKey
- as int
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.