ucar.grib
Interface GribGDSVariablesIF

All Known Implementing Classes:
Grib1GDSVariables, Grib2GDSVariables

public interface GribGDSVariablesIF

A interface for handling Grib1 and Grib2 GDS variables from a byte[].


Field Summary
static float tenToNegSix
          scale factor for Lat/Lon variables in degrees.
static float tenToNegThree
          scale factor for dx and dy variables plus others
static float tenToSix
           
static float tenToThree
           
 
Method Summary
 int getAngle()
          .
 float getDx()
          Get x-increment/distance between two grid points.
 float getDy()
          Get y-increment/distance between two grid points.
 float getEarthRadius()
          .
 byte[] getGDSBytes()
          GDS as a byte[]
 int getGdsKey()
          .
 int getGdtn()
          Grid Definition Template Number .
 String getGridUnits()
          grid units
 int getIolon()
          are extreme points in the quasi regular grid.
 float getLa1()
          .
 float getLa2()
          .
 float getLaD()
          .
 float getLap()
          .
 float getLatin1()
          .
 float getLatin2()
          .
 int getLength()
           
 float getLo1()
          .
 float getLo2()
          .
 float getLop()
          .
 float getLoV()
          .
 float getMajorAxis()
          .
 float getMinorAxis()
          .
 int getNp()
          .
 float getNr()
          .
 int getNumberPoints()
          number of data points .
 int getNx()
          Get number of grid columns.
 int getNy()
          Get number of grid rows.
 int getOlon()
          olon > 0 is a quasi regular grid.
 float getPoleLat()
          .
 float getPoleLon()
          .
 int getProjectionFlag()
          .
 int getResolution()
          .
 float getRotationAngle()
          .
 int getScanMode()
          Get scan mode.
 int getSection()
          Number of this section .
 int getShape()
          .
 int getSource()
          source of grid definition.
 float getSpLat()
          .
 float getSpLon()
          .
 float getStretchingFactor()
          .
 int getSubDivisions()
          .
 float getXo()
          .
 float getXp()
          .
 float getYo()
          .
 float getYp()
          .
 

Field Detail

tenToNegSix

static final float tenToNegSix
scale factor for Lat/Lon variables in degrees.

See Also:
Constant Field Values

tenToSix

static final float tenToSix
See Also:
Constant Field Values

tenToNegThree

static final float tenToNegThree
scale factor for dx and dy variables plus others

See Also:
Constant Field Values

tenToThree

static final float tenToThree
See Also:
Constant Field Values
Method Detail

getGDSBytes

byte[] getGDSBytes()
GDS as a byte[]

Returns:
GDS bytes

getLength

int getLength()

getSection

int getSection()
Number of this section .

Returns:
section number

getSource

int getSource()
source of grid definition.

Returns:
source

getNumberPoints

int getNumberPoints()
number of data points .

Returns:
numberPoints

getOlon

int getOlon()
olon > 0 is a quasi regular grid.

Returns:
olon

getIolon

int getIolon()
are extreme points in the quasi regular grid.

Returns:
iolon

getGdtn

int getGdtn()
Grid Definition Template Number .

Returns:
gdtn

getShape

int getShape()
.

Returns:
shape as a int

getEarthRadius

float getEarthRadius()
.

Returns:
EarthRadius as a float

getMajorAxis

float getMajorAxis()
.

Returns:
MajorAxis as a float

getMinorAxis

float getMinorAxis()
.

Returns:
MinorAxis as a float

getNx

int getNx()
Get number of grid columns.

Returns:
number of grid columns

getNy

int getNy()
Get number of grid rows.

Returns:
number of grid rows.

getAngle

int getAngle()
.

Returns:
Angle as a int

getSubDivisions

int getSubDivisions()
.

Returns:
Subdivisionsangle as a int

getLa1

float getLa1()
.

Returns:
La1 as a float

getLo1

float getLo1()
.

Returns:
Lo1 as a float

getResolution

int getResolution()
.

Returns:
Resolution as a int

getLa2

float getLa2()
.

Returns:
La2 as a float

getLo2

float getLo2()
.

Returns:
Lo2 as a float

getLaD

float getLaD()
.

Returns:
Lad as a float

getLoV

float getLoV()
.

Returns:
Lov as a float

getDx

float getDx()
Get x-increment/distance between two grid points.

Returns:
x-increment

getDy

float getDy()
Get y-increment/distance between two grid points.

Returns:
y-increment

getGridUnits

String getGridUnits()
grid units

Returns:
grid_units

getProjectionFlag

int getProjectionFlag()
.

Returns:
ProjectionCenter as a int

getScanMode

int getScanMode()
Get scan mode.

Returns:
scan mode

getLatin1

float getLatin1()
.

Returns:
Latin1 as a float

getLatin2

float getLatin2()
.

Returns:
Latin2 as a float

getSpLat

float getSpLat()
.

Returns:
SpLat as a float

getSpLon

float getSpLon()
.

Returns:
SpLon as a float

getRotationAngle

float getRotationAngle()
.

Returns:
Rotationangle as a float

getPoleLat

float getPoleLat()
.

Returns:
PoleLat as a float

getPoleLon

float getPoleLon()
.

Returns:
PoleLon as a float

getStretchingFactor

float getStretchingFactor()
.

Returns:
Factor as a float

getNp

int getNp()
.

Returns:
Np as a int

getLap

float getLap()
.

Returns:
Lap as a float

getLop

float getLop()
.

Returns:
Lop as a float

getXp

float getXp()
.

Returns:
Xp as a float

getYp

float getYp()
.

Returns:
Yp as a float

getXo

float getXo()
.

Returns:
Xo as a float

getYo

float getYo()
.

Returns:
Yo as a float

getNr

float getNr()
.

Returns:
Nr as a float

getGdsKey

int getGdsKey()
.

Returns:
gdskey as a int


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