@Deprecated public class ISEAG extends Object
ISEAG
represents the Integerised Sinusoidal Equal Area Grid
used by MODIS and SeaWiFS Level-3 binning.
Note that this class is not yet public API and may change in future releases.
Modifier and Type | Class and Description |
---|---|
static class |
ISEAG.LL
Deprecated.
Represents a lat/lon position in the grid.
|
static class |
ISEAG.RC
Deprecated.
Represents a 1-based row/col position in the grid.
|
Constructor and Description |
---|
ISEAG(int nrows)
Deprecated.
Given the total row number.
|
Modifier and Type | Method and Description |
---|---|
void |
bin2ll(int bin,
ISEAG.LL ll)
Deprecated.
Given a bin number, return the center lat/lon of that bin number heuristic and binary search algorithm is used.
|
void |
bin2rc(int bin,
ISEAG.RC rc)
Deprecated.
Given a bin number, return the row and column (both are 1-relative) heuristic and binary search algorithm is used.
|
int |
getBinCount()
Deprecated.
|
int |
getColumnCount(int row)
Deprecated.
|
int |
getRowCount()
Deprecated.
|
int |
ll2bin(double lat,
double lon)
Deprecated.
Given the lat/lon, return the bin number.
|
int |
ll2bin(ISEAG.LL ll)
Deprecated.
Given the lat/lon, return the bin number.
|
void |
ll2rc(double lat,
double lon,
ISEAG.RC rc)
Deprecated.
Given the lat/lon, return the row, column.
|
void |
ll2rc(ISEAG.LL ll,
ISEAG.RC rc)
Deprecated.
Given the lat/lon, return the row, column.
|
int |
rc2bin(int row,
int col)
Deprecated.
Given a row/column number, return the bin number (1-relative)
|
int |
rc2bin(ISEAG.RC rc)
Deprecated.
Given a row/column number, return the bin number (1-relative)
|
void |
rc2ll(int row,
int col,
ISEAG.LL ll)
Deprecated.
Given row/column, return lat/lon.
|
void |
rc2ll(ISEAG.RC rc,
ISEAG.LL ll)
Deprecated.
Given row/column, return lat/lon.
|
public int getBinCount()
public int getRowCount()
public int getColumnCount(int row)
row
- 1-relativepublic void bin2ll(int bin, ISEAG.LL ll)
bin
- 1-relativepublic int ll2bin(ISEAG.LL ll)
ll
- ll.lon has to be in the range of -180.0 to 180.0public int ll2bin(double lat, double lon)
lat
- lon
- has to be in the range of -180.0 to 180.0public void ll2rc(ISEAG.LL ll, ISEAG.RC rc)
ll
- ll.lon has to be in the range of -180.0 to 180.0rc
- 1-relativepublic void ll2rc(double lat, double lon, ISEAG.RC rc)
lat
- lon
- has to be in the range of -180.0 to 180.0public void rc2ll(ISEAG.RC rc, ISEAG.LL ll)
rc
- 1-relativell
- public void rc2ll(int row, int col, ISEAG.LL ll)
row
- 1-relativecol
- 1-relativell
- public int rc2bin(ISEAG.RC rc)
public int rc2bin(int row, int col)
public void bin2rc(int bin, ISEAG.RC rc)
bin
- 1-relativerc
- 1-relativeCopyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.