ocssw
V2022
|
OutFile.h
Go to the documentation of this file.
24 #define INSTITUTION "NASA Goddard Space Flight Center, Ocean Ecology Laboratory, Ocean Biology Processing Group"
25 #define LICENSE "https://science.nasa.gov/earth-science/earth-science-data/data-information-policy/"
28 #define KEYWORDS_OC "Oceans > Ocean Chemistry > Chlorophyll; Oceans > Ocean Optics > Ocean Color"
virtual void setPixel(int32_t x, double val, int32_t prod=0)
Definition: OutFile.cpp:385
virtual int addProductNonDisplay(productInfo_t *productInfo)
Definition: OutFile.cpp:531
virtual void writeLine()=0
void setScaleOffset(double scale, double offset, ScaleType scaleType)
Definition: OutFile.cpp:158
Definition: meta_l3b.h:15
virtual void setPixelRGB(int32_t x, float red, float green, float blue)
Definition: OutFile.cpp:397
These are used to scale the SD before writing it to the HDF4 file The default is and which means the product is not scaled at all Since the product is usually stored as a float inside of this is a way to write the float out as a integer l2prod min
Definition: HOWTO_Add_a_product.txt:76
void calcOutputLineVals(void *lineBuffer) const
Definition: OutFile.cpp:247
virtual int addProduct(productInfo_t *productInfo)
Definition: OutFile.cpp:1977
virtual void setSize(int32_t width, int32_t height)
Definition: OutFile.cpp:2000
virtual void setSize(int32_t width, int32_t height)
Definition: OutFile.cpp:756
Definition: OutFile.h:68
ProductStuff(int32_t width, const productInfo_t *productInfo, double landPixelValue)
Definition: OutFile.cpp:75
std::unordered_map< size_t, size_t > slice_2d_in_wv3d
Definition: OutFile.h:109
virtual void setSize(int32_t width, int32_t height)
Definition: OutFile.cpp:1340
double calcOutputVal(double val) const
Definition: OutFile.cpp:177
virtual std::string getScaleTypeString(int32_t prod=0)
Definition: OutFile.cpp:346
double calcPhysicalVal(double val) const
Definition: OutFile.cpp:215
Definition: OutFile.h:295
Definition: OutFile.h:275
virtual void setMapProjection(std::string projection)
Definition: OutFile.cpp:579
virtual void setPixel(int32_t x, double val, int32_t prod=0)
Definition: OutFile.cpp:783
Definition: clo.h:126
virtual void setTiffColor()=0
virtual void setSize(int32_t width, int32_t height)
Definition: OutFile.cpp:1647
Definition: OutFile.h:402
void setScale(double min, double max, ScaleType scaleType)
Definition: OutFile.cpp:120
virtual void setResolution(std::string resolutionStr)
Definition: OutFile.h:45
virtual bool setPalette(const char *paletteName, bool applyMask)
Definition: OutFile.cpp:459
Definition: OutFile.h:337
virtual int addProduct(productInfo_t *productInfo)
Definition: OutFile.cpp:2500
Definition: OutFile.h:357
virtual void setSize(int32_t width, int32_t height)
Definition: OutFile.cpp:1430
virtual void setPixelRGB(int32_t x, float red, float green, float blue)
Definition: OutFile.cpp:1523
Definition: OutFile.h:367
Definition: OutFile.h:314
virtual void setSize(int32_t width, int32_t height)
Definition: OutFile.cpp:1462
virtual void setPixel(int32_t x, double val, int32_t prod=0)
Definition: OutFile.cpp:1103
virtual void setPixelRGB(int32_t x, float red, float green, float blue)
Definition: OutFile.cpp:1109
virtual void setPixelRGB(int32_t x, float red, float green, float blue)
Definition: OutFile.cpp:789
void setProj4Info(std::string projStr, double minX, double maxY)
Definition: OutFile.cpp:583
virtual void setPixel(int32_t x, double val, int32_t prod=0)
Definition: OutFile.cpp:1492
virtual void setSize(int32_t width, int32_t height)
Definition: OutFile.cpp:1012
Definition: OutFile.h:348
Definition: OutFile.h:266
std::unordered_map< std::string, size_t > prod2d_indexes_last_index
Definition: OutFile.h:110
std::unordered_map< std::string, size_t > product_3d_already_set
Definition: OutFile.h:110
Definition: OutFile.h:250
virtual bool close()=0
Definition: OutFile.h:383
virtual bool open()=0
virtual int32_t addProduct(productInfo_t *productInfo)
Definition: OutFile.cpp:512