|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.grib.grib2.Grib2GDSVariables
public class Grib2GDSVariables
Representing the grid definition section (GDS) of a GRIB record as variables are extracted from a byte[]. This is section 3 of a Grib record that contains information about the grid
| Field Summary |
|---|
| Fields inherited from interface ucar.grib.GribGDSVariablesIF |
|---|
tenToNegSix, tenToNegThree |
| Constructor Summary | |
|---|---|
Grib2GDSVariables(byte[] input)
Constructs a Grib2GDSVariables object from a byte[]. |
|
| Method Summary | |
|---|---|
int |
calculateNx()
Gets the Maximum number of points in a parallel for Quasi/Thin grids |
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. |
java.lang.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. |
float |
getXo()
octet 73-76. |
float |
getXp()
octet 56-59. |
float |
getYo()
octet 77-80. |
float |
getYp()
octet 60-63. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Grib2GDSVariables(byte[] input)
throws java.io.IOException
input - PDS
java.io.IOException - if raf contains no valid GRIB file| Method Detail |
|---|
public byte[] getGDSBytes()
getGDSBytes in interface GribGDSVariablesIFpublic 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 float getLo1()
getLo1 in interface GribGDSVariablesIFpublic 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 java.lang.String getGridUnits()
getGridUnits in interface GribGDSVariablesIFpublic final int calculateNx()
public final int[] getParallels()
public final int getGdsKey()
GribGDSVariablesIF
getGdsKey in interface GribGDSVariablesIFpublic final int getInt(int index)
index - in the byte[] to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||