ocssw
V2022
|
#include <L3Shape.h>
Public Member Functions | |
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 | constrainRowCol (int32_t &row, int32_t &col) const =0 |
virtual int64_t | getBaseBin (int32_t row) const =0 |
virtual int32_t | getNumCols (int32_t row) const =0 |
virtual int32_t | bin2row (int64_t bin)=0 |
virtual void | bin2rowcol (int64_t bin, int32_t &row, int32_t &col)=0 |
virtual int64_t | rowcol2bin (int32_t row, int32_t col) const =0 |
virtual void | rowcol2latlon (int32_t row, int32_t col, double &lat, double &lon) const =0 |
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 int32_t | lat2row (double lat) const =0 |
virtual double | row2lat (int32_t row) const =0 |
virtual void | latlon2rowcol (double lat, double lon, int32_t &row, int32_t &col) const =0 |
virtual int64_t | latlon2bin (double lat, double lon) const =0 |
virtual void | rowcol2bounds (int32_t row, int32_t col, double &north, double &south, double &east, double &west) const =0 |
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 | |
int64_t | totalBins |
int32_t | totalRows |
double | seamLon |
Detailed Description
Constructor & Destructor Documentation
◆ L3Shape()
L3Shape | ( | int32_t | numRows | ) |
constructor for a integerized sine shaped l3 bin file
- Parameters
-
numRows number of rows in the bin file
Definition at line 39 of file L3Shape.cpp.
◆ ~L3Shape()
|
virtual |
destructor that frees the memory for this class
Definition at line 48 of file L3Shape.cpp.
Member Function Documentation
◆ bin2bounds() [1/2]
|
virtual |
get the boundaries of the bin number
- Parameters
-
bin to look up north extent of bin south extent of bin east extent of bin west extent of bin
Definition at line 148 of file L3Shape.cpp.
◆ bin2bounds() [2/2]
|
virtual |
get the boundaries of the bin number
- Parameters
-
bin to look up north extent of bin south extent of bin east extent of bin west extent of bin
Definition at line 164 of file L3Shape.cpp.
◆ bin2latlon() [1/2]
|
virtual |
get the center lat/lon for the given bin number
- Parameters
-
bin to look up lat center lat lon center lon
Definition at line 99 of file L3Shape.cpp.
◆ bin2latlon() [2/2]
|
virtual |
get the center lat/lon for the given bin number
- Parameters
-
bin to look up lat center lat lon center lon
Definition at line 112 of file L3Shape.cpp.
◆ bin2row()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ bin2rowcol()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ constrainRow()
|
virtual |
keep the row within 0 to number of rows
- Parameters
-
row to change if necessary
Definition at line 71 of file L3Shape.cpp.
◆ constrainRowCol()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ getBaseBin()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ getNumBins()
|
virtual |
get the total number of bins in this shape
- Returns
- number of rows
Definition at line 63 of file L3Shape.cpp.
◆ getNumCols()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ getNumRows()
|
virtual |
get the number of rows in this shape
- Returns
- number of rows
Definition at line 55 of file L3Shape.cpp.
◆ lat2row()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ latlon2bin()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ latlon2rowcol()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ row2lat()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ rowcol2bin()
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ rowcol2bounds() [1/2]
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ rowcol2bounds() [2/2]
|
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
Definition at line 128 of file L3Shape.cpp.
◆ rowcol2latlon() [1/2]
|
pure virtual |
Implemented in L3ShapeIsine, and L3ShapeSMI.
◆ rowcol2latlon() [2/2]
|
virtual |
get the center lat/lon for the given row/col
- Parameters
-
row of bin col of bin lat center lat lon center lon
Definition at line 85 of file L3Shape.cpp.
Member Data Documentation
◆ seamLon
◆ totalBins
◆ totalRows
The documentation for this class was generated from the following files:
- /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/L3Shape.h
- /gfs-oceanweb/web/ocssw/ocssw_src/oel_hdf4/libbin/L3Shape.cpp