ocssw
V2022
|
#include <OutFile.h>
Public Member Functions | |
ProductStuff (int32_t width, const productInfo_t *productInfo) | |
ProductStuff (const OutFile::ProductStuff &pStuff) | |
~ProductStuff () | |
int32_t | getWidth () |
void | setScale (double min, double max, ScaleType scaleType) |
void | setScale (double min, double max, ScaleType scaleType, double minOutput, double maxOutput) |
void | setScaleOffset (double scale, double offset, ScaleType scaleType) |
void | setScaleOffset (double scale, double offset, ScaleType scaleType, double minOutput, double maxOutput) |
double | calcOutputVal (double val) const |
double | calcPhysicalVal (double val) const |
void | calcOutputLineVals (void *lineBuffer) const |
Public Attributes | |
int32_t | width |
productInfo_t * | productInfo |
DataStorage | dataStorage |
ScaleType | scaleType |
double | scale |
double | offset |
double | minOutputVal |
double | maxOutputVal |
double | minVal |
double | maxVal |
double | missingValue |
double * | lineData |
Detailed Description
Constructor & Destructor Documentation
◆ ProductStuff() [1/2]
ProductStuff | ( | int32_t | width, |
const productInfo_t * | productInfo | ||
) |
Definition at line 32 of file OutFile.cpp.
◆ ProductStuff() [2/2]
ProductStuff | ( | const OutFile::ProductStuff & | pStuff | ) |
Definition at line 50 of file OutFile.cpp.
◆ ~ProductStuff()
~ProductStuff | ( | ) |
Definition at line 67 of file OutFile.cpp.
Member Function Documentation
◆ calcOutputLineVals()
void calcOutputLineVals | ( | void * | lineBuffer | ) | const |
Definition at line 210 of file OutFile.cpp.
◆ calcOutputVal()
double calcOutputVal | ( | double | val | ) | const |
Definition at line 138 of file OutFile.cpp.
◆ calcPhysicalVal()
double calcPhysicalVal | ( | double | val | ) | const |
Definition at line 177 of file OutFile.cpp.
◆ getWidth()
◆ setScale() [1/2]
void setScale | ( | double | min, |
double | max, | ||
ScaleType | scaleType | ||
) |
set the scale factors. note that default minOutputVal=0, maxOutputVal=255
- Parameters
-
min min geophysical value max max geophysical value log do you want log10 scaling
Definition at line 78 of file OutFile.cpp.
◆ setScale() [2/2]
void setScale | ( | double | min, |
double | max, | ||
ScaleType | scaleType, | ||
double | minOutput, | ||
double | maxOutput | ||
) |
Definition at line 105 of file OutFile.cpp.
◆ setScaleOffset() [1/2]
void setScaleOffset | ( | double | scale, |
double | offset, | ||
ScaleType | scaleType | ||
) |
set the scale factors. note that default minOutputVal=0, maxOutputVal=255
- Parameters
-
scale slope offset intercept scaleType type of scaling to calculate
Definition at line 118 of file OutFile.cpp.
◆ setScaleOffset() [2/2]
void setScaleOffset | ( | double | scale, |
double | offset, | ||
ScaleType | scaleType, | ||
double | minOutput, | ||
double | maxOutput | ||
) |
Definition at line 131 of file OutFile.cpp.
Member Data Documentation
◆ dataStorage
DataStorage dataStorage |
◆ lineData
◆ maxOutputVal
◆ maxVal
◆ minOutputVal
◆ minVal
◆ missingValue
◆ offset
◆ productInfo
◆ scale
◆ scaleType
◆ width
The documentation for this class was generated from the following files:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/l3mapgen/OutFile.h
- /gfs-oceanweb/web/ocssw/ocssw_src/src/l3mapgen/OutFile.cpp