|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib1.Grib1GridDefinitionSection
public class Grib1GridDefinitionSection
A class that represents the grid definition section (GDS) of a GRIB record.
Field Summary | |
---|---|
protected String |
checksum
checksum value for this gds. |
protected double |
dx
x-distance between two grid points can be delta-Lon or delta x. |
protected double |
dy
y-distance of two grid points can be delta-Lat or delta y. |
protected int |
gdskey
|
protected String |
grid_units
units of the dx and dy variables |
protected double |
lat1
Latitude of grid start point. |
protected double |
lat2
Latitude of grid last point. |
protected double |
lon1
Longitude of grid start point. |
protected double |
lon2
Longitude of grid last point. |
protected double |
lov
orientation of the grid. |
protected String |
name
Grid name. |
protected int[] |
numPV
_more_ |
protected int |
nx
Number of grid columns. |
protected int |
ny
Number of grid rows. |
protected int |
resolution
Resolution of grid (See table 7). |
protected int |
scan
Scanning mode (See table 8). |
protected int |
type
Type of grid (See table 6)ie 1 == Mercator Projection Grid. |
Constructor Summary | |
---|---|
Grib1GridDefinitionSection()
constructor |
|
Grib1GridDefinitionSection(RandomAccessFile raf)
Constructs a Grib1GridDefinitionSection object from a raf. |
Method Summary | |
---|---|
double |
getAngle()
Deprecated. |
String |
getCheckSum()
Deprecated. |
double |
getDx()
Deprecated. |
double |
getDy()
Deprecated. |
int |
getGdsKey()
. |
Grib1GDSVariables |
getGdsVars()
GDS as Grib2GDSVariables |
int |
getGdtn()
Deprecated. |
String |
getGrid_units()
Deprecated. |
int |
getGridType()
Deprecated. |
boolean |
getIsThin()
Deprecated. |
double |
getLa1()
Deprecated. |
double |
getLa2()
Deprecated. |
double |
getLad()
Deprecated. |
double |
getLatin()
Deprecated. |
double |
getLatin1()
Deprecated. |
double |
getLatin2()
Deprecated. |
int |
getLength()
Deprecated. |
double |
getLo1()
Deprecated. |
double |
getLo2()
Deprecated. |
double |
getLov()
Deprecated. |
String |
getName()
Deprecated. |
static String |
getName(int type)
Deprecated. |
double |
getNp()
Deprecated. |
int[] |
getNumPV()
Deprecated. |
int |
getNx()
Deprecated. |
int |
getNy()
Deprecated. |
int |
getProjectionCenter()
Deprecated. |
int |
getResolution()
Deprecated. |
int |
getScanMode()
Deprecated. |
int |
getShape()
Deprecated. |
static double |
getShapeMajorAxis()
Deprecated. |
static double |
getShapeMinorAxis()
Deprecated. |
String |
getShapeName()
Deprecated. |
static String |
getShapeName(int code)
Deprecated. |
static double |
getShapeRadius()
Deprecated. |
double |
getSpLat()
Deprecated. |
double |
getSpLon()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] numPV
protected int type
protected String name
protected int nx
protected int ny
protected double lat1
protected double lon1
protected double lat2
protected double lon2
protected double lov
protected int resolution
protected double dx
protected double dy
protected String grid_units
protected int scan
protected String checksum
protected int gdskey
Constructor Detail |
---|
public Grib1GridDefinitionSection()
public Grib1GridDefinitionSection(RandomAccessFile raf) throws IOException, NoValidGribException
raf
- RandomAccessFile with GDS content
IOException
- if RandomAccessFile has error.
NoValidGribException
- if raf contains no valid GRIB infoMethod Detail |
---|
public final int getLength()
public final boolean getIsThin()
public final int[] getNumPV()
public final int getGridType()
public final int getGdtn()
public final String getName()
public static String getName(int type)
type
-
public final int getNx()
public final int getNy()
public final double getLa1()
public final double getLo1()
public final int getResolution()
public final int getShape()
public final String getShapeName()
public static String getShapeName(int code)
code
- grid shape code
public static final double getShapeRadius()
public static final double getShapeMajorAxis()
public static final double getShapeMinorAxis()
public final double getLa2()
public final double getLo2()
public final double getLov()
public final double getLad()
public final double getDx()
public final double getDy()
public String getGrid_units()
public final double getNp()
public final int getScanMode()
public final int getProjectionCenter()
public final double getLatin()
public final double getLatin1()
public final double getLatin2()
public final double getSpLat()
public final double getSpLon()
public final double getAngle()
public final String getCheckSum()
public final int getGdsKey()
public Grib1GDSVariables getGdsVars()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |