public class Grib2GDSVariables extends Object implements GribGDSVariablesIF
tenToNegSix, tenToNegThree, tenToSix, tenToThree| Constructor and Description |
|---|
Grib2GDSVariables(byte[] input)
Constructs a Grib2GDSVariables object from a byte[].
|
| Modifier and Type | Method and Description |
|---|---|
long |
calcCRC() |
int |
calculateNx()
Gets the Maximum number of points in a parallel for Quasi/Thin grids
|
float |
get80La1()
octet 47-50.
|
float |
get80Lo1()
octet 51-54.
|
int |
get80TypeGdsKey()
gdsKey for version 8.0
|
int |
getAngle()
octet 61-64.
|
int |
getBasicAngle()
octet 39-42.
|
float |
getDx()
octet 64-67.
|
float |
getDy()
octet 68-71.
|
float |
getEarthRadius()
EarthRadius
|
byte[] |
getGDSBytes()
GDS as byte[]
|
int |
getGdsKey()
.
|
int |
getGdtn()
Get type of grid.
|
String |
getGridUnits()
GridUnits
|
int |
getInt(int index)
Converts byte to int.
|
int |
getIolon()
octet 12
are extreme points in the quasi regular grid.
|
float |
getLa1()
octet 47-50.
|
float |
getLa2()
octet 56-59.
|
float |
getLaD()
octet 48-51.
|
float |
getLap()
octet 39-42.
|
float |
getLatin1()
octet 66-69.
|
float |
getLatin2()
octet 70-73.
|
int |
getLength() |
float |
getLo1()
octet 51-54.
|
float |
getLo2()
octet 60-63.
|
float |
getLop()
octet 43-46.
|
float |
getLoV()
octet 52-55.
|
float |
getMajorAxis()
MajorAxis
|
float |
getMinorAxis()
MinorAxis
|
int |
getN()
octet 61-62.
|
int |
getNp()
octet 68-71.
|
float |
getNr()
octet 69-72.
|
int |
getNumberPoints()
octets 7-10
number of data points .
|
int |
getNx()
octet 31-34.
|
int |
getNy()
octet 35-38.
|
int |
getOlon()
octet 11
olon > 0 is a quasi regular grid.
|
int[] |
getParallels()
Gets the number of points in each parallel for Quasi/Thin grids
|
float |
getPoleLat()
octet 85-88.
|
float |
getPoleLon()
octet 89-92.
|
int |
getProjectionFlag()
octet 64.
|
int |
getResolution()
octet 55.
|
float |
getRotationAngle()
octet 81-84.
|
int |
getScaleFactorMajor()
octet 21.
|
int |
getScaleFactorMinor()
octet 26.
|
int |
getScaleFactorRadius()
octet 16.
|
int |
getScaleValueMajor()
octet 22-25.
|
int |
getScaleValueMinor()
octet 27-30.
|
int |
getScaleValueRadius()
octet 17-20.
|
int |
getScanMode()
octet 72.
|
int |
getSection()
octet 5
Number of this section, should be 3.
|
int |
getShape()
octet 15.
|
int |
getSource()
octet 6
source of grid definition.
|
float |
getSpLat()
octet 73-76.
|
float |
getSpLon()
octet 77-80.
|
float |
getStretchingFactor()
octet 93-96.
|
int |
getSubDivisions()
octet 43-46.
|
int |
getUnscaledLa1()
octet 47-50.
|
int |
getUnscaledLo1()
octet 51-54.
|
float |
getXo()
octet 73-76.
|
float |
getXp()
octet 56-59.
|
float |
getYo()
octet 77-80.
|
float |
getYp()
octet 60-63.
|
public Grib2GDSVariables(byte[] input)
throws IOException
input - PDSIOException - if raf contains no valid GRIB filepublic byte[] getGDSBytes()
getGDSBytes in interface GribGDSVariablesIFpublic long calcCRC()
public final int getLength()
getLength in interface GribGDSVariablesIFpublic final int getSection()
getSection in interface GribGDSVariablesIFpublic final int getSource()
getSource in interface GribGDSVariablesIFpublic final int getNumberPoints()
getNumberPoints in interface GribGDSVariablesIFpublic final int getOlon()
getOlon in interface GribGDSVariablesIFpublic final int getIolon()
getIolon in interface GribGDSVariablesIFpublic final int getGdtn()
getGdtn in interface GribGDSVariablesIFpublic final int getShape()
getShape in interface GribGDSVariablesIFpublic final int getScaleFactorRadius()
public final int getScaleValueRadius()
public final int getScaleFactorMajor()
public final int getScaleValueMajor()
public final int getScaleFactorMinor()
public final int getScaleValueMinor()
public final int getNx()
getNx in interface GribGDSVariablesIFpublic final int getNy()
getNy in interface GribGDSVariablesIFpublic final float getLap()
getLap in interface GribGDSVariablesIFpublic final float getLop()
getLop in interface GribGDSVariablesIFpublic final int getBasicAngle()
public final int getSubDivisions()
getSubDivisions in interface GribGDSVariablesIFpublic final float getLa1()
getLa1 in interface GribGDSVariablesIFpublic final int getUnscaledLa1()
public final float get80La1()
public final float getLo1()
getLo1 in interface GribGDSVariablesIFpublic final int getUnscaledLo1()
public final float get80Lo1()
public final int getResolution()
getResolution in interface GribGDSVariablesIFpublic final float getLaD()
getLaD in interface GribGDSVariablesIFpublic final float getLoV()
getLoV in interface GribGDSVariablesIFpublic final float getLa2()
getLa2 in interface GribGDSVariablesIFpublic final float getLo2()
getLo2 in interface GribGDSVariablesIFpublic final float getDx()
getDx in interface GribGDSVariablesIFpublic final float getDy()
getDy in interface GribGDSVariablesIFpublic final float getXp()
getXp in interface GribGDSVariablesIFpublic final float getYp()
getYp in interface GribGDSVariablesIFpublic final int getNp()
getNp in interface GribGDSVariablesIFpublic final int getN()
public final int getProjectionFlag()
getProjectionFlag in interface GribGDSVariablesIFpublic final int getScanMode()
getScanMode in interface GribGDSVariablesIFpublic final float getLatin1()
getLatin1 in interface GribGDSVariablesIFpublic final float getLatin2()
getLatin2 in interface GribGDSVariablesIFpublic final int getAngle()
getAngle in interface GribGDSVariablesIFpublic final float getNr()
getNr in interface GribGDSVariablesIFpublic final float getXo()
getXo in interface GribGDSVariablesIFpublic final float getYo()
getYo in interface GribGDSVariablesIFpublic final float getSpLat()
getSpLat in interface GribGDSVariablesIFpublic final float getSpLon()
getSpLon in interface GribGDSVariablesIFpublic final float getRotationAngle()
getRotationAngle in interface GribGDSVariablesIFpublic final float getPoleLat()
getPoleLat in interface GribGDSVariablesIFpublic final float getPoleLon()
getPoleLon in interface GribGDSVariablesIFpublic final float getStretchingFactor()
getStretchingFactor in interface GribGDSVariablesIFpublic final float getMajorAxis()
getMajorAxis in interface GribGDSVariablesIFpublic final float getMinorAxis()
getMinorAxis in interface GribGDSVariablesIFpublic final float getEarthRadius()
getEarthRadius in interface GribGDSVariablesIFpublic final String getGridUnits()
getGridUnits in interface GribGDSVariablesIFpublic final int calculateNx()
public final int[] getParallels()
public final int getGdsKey()
GribGDSVariablesIFgetGdsKey in interface GribGDSVariablesIFpublic final int get80TypeGdsKey()
public final int getInt(int index)
index - in the byte[] to convertCopyright © 1999–2013 UCAR/Unidata. All rights reserved.