ocssw
V2022
|
scaledNcVarTest.cpp
Go to the documentation of this file.
14 const int TEST_COMPRESS_VALUE = (TEST_VALUE - TEST_OFFSET) / TEST_SCALE; // expected raw data value
56 // If ScaledNcVar has a user-defined "bad value", then, when it finds a fill value in a file, it should
130 // Also populating from product.xml, this product has a scale and offset. Should NOT ignore scale/offset
ScaledNcVar newScaledNcVar(const netCDF::NcGroup &group, const std::string &name, const std::vector< netCDF::NcDim > &dims, int sensorID)
Create a ScaledNcVar using the product.xml for definition.
Definition: scaledNcVar.cpp:504
void getVar(float *dataValues)
Takes in a pointer whose memory will be modified. Assumes values found there are integers and perform...
Definition: scaledNcVar.cpp:165
void setScaleFactors(double scale, double offset, double fillValue=BAD_FLT)
Populate scale factor and add offset manually. Throws an invalid_argument
Definition: scaledNcVar.cpp:440
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude data
Definition: HISTORY.txt:356
Definition: scaledNcVar.hpp:18