|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGribRecordGDS
GribGDSLatLon
public final class GribGDSLatLon
A class that represents the grid definition section (GDS) of a GRIB record with a Lat/Lon grid projection.
Field Summary | |
---|---|
static int |
LATLON_GRID_TYPE
|
Fields inherited from class GribRecordGDS |
---|
adiacent_i, EARTH_RADIUS, grid_dx, grid_dy, grid_lat1, grid_lat2, grid_latsp, grid_lon1, grid_lon2, grid_lonsp, grid_mode, grid_nx, grid_ny, grid_rotang, grid_scan, grid_type, length |
Constructor Summary | |
---|---|
GribGDSLatLon()
GribGDSLatLon |
|
GribGDSLatLon(ImageInputStream in,
int[] header)
Constructs a GribRecordGDS object from a bit input stream. |
Method Summary | |
---|---|
boolean |
canProduce(int GDSType)
|
boolean |
equals(Object obj)
|
double[] |
getGridCoords()
Get grid coordinates in longitude/latitude pairs Longitude is returned in the range +/- 180 degrees |
Map |
getImplementationHints()
|
String |
getName()
|
Set<Integer> |
getSupportedTypes()
|
double[] |
getXCoords()
Get longitude coordinates converted to the range +/- 180 |
double[] |
getXCoords(boolean convertTo180)
Get longitide coordinates |
double[] |
getYCoords()
Get all latitude coordinates |
int |
hashCode()
|
boolean |
isAvailable()
|
String |
toString()
Get a string representation of this GDS. |
void |
writeTo(OutputStream out)
writeTo writes this section to an output stream |
Methods inherited from class GribRecordGDS |
---|
compare, getGridDX, getGridDY, getGridLat1, getGridLat2, getGridLatSP, getGridLon1, getGridLon2, getGridLonSP, getGridMode, getGridNX, getGridNY, getGridRotAngle, getGridScanmode, getGridType, getLength, isAdiacent_i_Or_j, setGridDX, setGridDY, setGridLat1, setGridLat2, setGridLatSP, setGridLon1, setGridLon2, setGridLonSP, setGridMode, setGridNX, setGridNY, setGridRotAngle, setGridScanmode, setGridType, setLength |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int LATLON_GRID_TYPE
Constructor Detail |
---|
public GribGDSLatLon(ImageInputStream in, int[] header) throws IOException
in
- bit input stream with GDS contentheader
- DOCUMENT ME!
IOException
- if stream can not be opened etc.
NoValidGribException
- if stream contains no valid GRIB file
NotSupportedException
- DOCUMENT ME!public GribGDSLatLon()
Method Detail |
---|
public int hashCode()
hashCode
in class GribRecordGDS
public boolean equals(Object obj)
equals
in class GribRecordGDS
public double[] getXCoords()
public double[] getXCoords(boolean convertTo180)
convertTo180
- DOCUMENT ME!
public double[] getYCoords()
public double[] getGridCoords()
getGridCoords
in class GribRecordGDS
public String toString()
toString
in class GribRecordGDS
public void writeTo(OutputStream out) throws IOException
writeTo
in class GribRecordGDS
out
- String
IOException
- DOCUMENT ME!public String getName()
public Set<Integer> getSupportedTypes()
public boolean isAvailable()
public boolean canProduce(int GDSType)
public Map getImplementationHints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |