ocssw
V2022
|
#include <L3ShapeIsine.h>
Public Member Functions | |
L3ShapeIsine (int32_t numRows) | |
virtual | ~L3ShapeIsine () |
virtual void | constrainRowCol (int32_t &row, int32_t &col) const |
virtual int64_t | getBaseBin (int32_t row) const |
virtual int32_t | getNumCols (int32_t row) const |
virtual int32_t | bin2row (int64_t bin) |
virtual void | bin2rowcol (int64_t bin, int32_t &row, int32_t &col) |
virtual int64_t | rowcol2bin (int32_t row, int32_t col) const |
virtual void | rowcol2latlon (int32_t row, int32_t col, double &lat, double &lon) const |
virtual int32_t | lat2row (double lat) const |
virtual double | row2lat (int32_t row) const |
virtual void | latlon2rowcol (double lat, double lon, int32_t &row, int32_t &col) const |
virtual int64_t | latlon2bin (double lat, double lon) const |
virtual void | rowcol2bounds (int32_t row, int32_t col, double &north, double &south, double &east, double &west) const |
Public Member Functions inherited from L3Shape | |
L3Shape (int32_t numRows) | |
virtual | ~L3Shape () |
virtual int32_t | getNumRows () const |
virtual int64_t | getNumBins () const |
virtual void | constrainRow (int32_t &row) const |
virtual void | rowcol2latlon (int32_t row, int32_t col, float &lat, float &lon) const |
virtual void | bin2latlon (int64_t bin, double &lat, double &lon) |
virtual void | bin2latlon (int64_t bin, float &lat, float &lon) |
virtual void | rowcol2bounds (int32_t row, int32_t col, float &north, float &south, float &east, float &west) const |
virtual void | bin2bounds (int64_t bin, double &north, double &south, double &east, double &west) |
virtual void | bin2bounds (int64_t bin, float &north, float &south, float &east, float &west) |
Protected Attributes | |
int32_t * | numBin |
int64_t * | baseBin |
double * | latBin |
int32_t | oldRow |
Protected Attributes inherited from L3Shape | |
int64_t | totalBins |
int32_t | totalRows |
double | seamLon |
Detailed Description
Definition at line 16 of file L3ShapeIsine.h.
Constructor & Destructor Documentation
◆ L3ShapeIsine()
L3ShapeIsine | ( | int32_t | numRows | ) |
constructor for a integerized sine shaped l3 bin file
- Parameters
-
numRows number of rows in the bin file
Definition at line 16 of file L3ShapeIsine.cpp.
◆ ~L3ShapeIsine()
|
virtual |
destructor that frees the memory for this class
Definition at line 41 of file L3ShapeIsine.cpp.
Member Function Documentation
◆ bin2row()
|
virtual |
find the row that contains the given bin number
- Parameters
-
bin to look up
- Returns
- row this bin is in
Implements L3Shape.
Definition at line 102 of file L3ShapeIsine.cpp.
◆ bin2rowcol()
|
virtual |
get the row and col for the given bin
- Parameters
-
bin to look up row that contains the bin col for the bin
Implements L3Shape.
Definition at line 138 of file L3ShapeIsine.cpp.
◆ constrainRowCol()
|
virtual |
keep row and col in the valid range
- Parameters
-
row to modify if necessary col to modify if necessary
Implements L3Shape.
Definition at line 52 of file L3ShapeIsine.cpp.
◆ getBaseBin()
|
virtual |
get the bin number of the first column in the given row
- Parameters
-
row to look up
- Returns
- the first bin in this row
Implements L3Shape.
Definition at line 82 of file L3ShapeIsine.cpp.
◆ getNumCols()
|
virtual |
get the number of columns in the given row
- Parameters
-
row to look up
- Returns
- the number of cols in this row
Implements L3Shape.
Definition at line 92 of file L3ShapeIsine.cpp.
◆ lat2row()
|
virtual |
get the row for the given lat
- Parameters
-
lat to look up
- Returns
- row of containing bin
Implements L3Shape.
Definition at line 182 of file L3ShapeIsine.cpp.
◆ latlon2bin()
|
virtual |
get the bin number containing the given lat/lon
- Parameters
-
lat to look up lon to look up
- Returns
- bin number containing lat/lon
Implements L3Shape.
Definition at line 225 of file L3ShapeIsine.cpp.
◆ latlon2rowcol()
|
virtual |
get the row/col that contains the given lat/lon
- Parameters
-
lat to look up lon to look up row of containing bin col of containing bin
Implements L3Shape.
Definition at line 210 of file L3ShapeIsine.cpp.
◆ row2lat()
|
virtual |
get the center latitude of the given row
- Parameters
-
row of bin to look up
- Returns
- center latitude of the row
Implements L3Shape.
Definition at line 195 of file L3ShapeIsine.cpp.
◆ rowcol2bin()
|
virtual |
get the bin at the given row/col
- Parameters
-
row of the bin col of the bin
- Returns
- bin number at row/col
Implements L3Shape.
Definition at line 158 of file L3ShapeIsine.cpp.
◆ rowcol2bounds()
|
virtual |
get the boundaries of the bin at row/col
- Parameters
-
row of bin col of bin north extent of bin south extent of bin east extent of bin west extent of bin
Implements L3Shape.
Definition at line 241 of file L3ShapeIsine.cpp.
◆ rowcol2latlon()
|
virtual |
get the center lat/lon for the given row/col
- Parameters
-
row of bin col of bin lat center lat lon center lon
Implements L3Shape.
Definition at line 170 of file L3ShapeIsine.cpp.
Member Data Documentation
◆ baseBin
|
protected |
Definition at line 19 of file L3ShapeIsine.h.
◆ latBin
|
protected |
Definition at line 20 of file L3ShapeIsine.h.
◆ numBin
|
protected |
Definition at line 18 of file L3ShapeIsine.h.
◆ oldRow
|
protected |
Definition at line 22 of file L3ShapeIsine.h.
The documentation for this class was generated from the following files:
- /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/L3ShapeIsine.h
- /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/L3ShapeIsine.cpp