OB.DAAC Logo
NASA Logo
Ocean Color Science Software

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

Definition at line 67 of file OutFile.h.

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]

Definition at line 50 of file OutFile.cpp.

◆ ~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()

int32_t getWidth ( )
inline

Definition at line 87 of file OutFile.h.

◆ setScale() [1/2]

void setScale ( double  min,
double  max,
ScaleType  scaleType 
)

set the scale factors. note that default minOutputVal=0, maxOutputVal=255

Parameters
minmin geophysical value
maxmax geophysical value
logdo 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
scaleslope
offsetintercept
scaleTypetype 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

Definition at line 72 of file OutFile.h.

◆ lineData

double* lineData

Definition at line 81 of file OutFile.h.

◆ maxOutputVal

double maxOutputVal

Definition at line 77 of file OutFile.h.

◆ maxVal

double maxVal

Definition at line 79 of file OutFile.h.

◆ minOutputVal

double minOutputVal

Definition at line 76 of file OutFile.h.

◆ minVal

double minVal

Definition at line 78 of file OutFile.h.

◆ missingValue

double missingValue

Definition at line 80 of file OutFile.h.

◆ offset

double offset

Definition at line 75 of file OutFile.h.

◆ productInfo

productInfo_t* productInfo

Definition at line 71 of file OutFile.h.

◆ scale

double scale

Definition at line 74 of file OutFile.h.

◆ scaleType

ScaleType scaleType

Definition at line 73 of file OutFile.h.

◆ width

int32_t width

Definition at line 70 of file OutFile.h.


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