NASA Logo
Ocean Color Science Software

ocssw V2022
scaledNcVar.cpp File Reference
#include "scaledNcVar.hpp"
#include <ncVarAtt.h>
#include <math.h>
#include <limits>
Include dependency graph for scaledNcVar.cpp:

Go to the source code of this file.

Functions

size_t getDimsSize (std::vector< NcDim > dims)
 
netCDF::NcType::ncType productInfoType2ncType (string typeStr)
 
ScaledNcVar newScaledNcVar (const netCDF::NcGroup &group, const std::string &name, const std::vector< netCDF::NcDim > &dims, int sensorID)
 

Function Documentation

◆ getDimsSize()

size_t getDimsSize ( std::vector< NcDim >  dims)

Definition at line 138 of file scaledNcVar.cpp.

◆ newScaledNcVar()

ScaledNcVar newScaledNcVar ( const netCDF::NcGroup &  group,
const std::string name,
const std::vector< netCDF::NcDim > &  dims,
int  sensorID = DEFAULT_SENSOR 
)

Create a ScaledNcVar using the product.xml for definition.

Parameters
groupncGroup to put the variable in
namethe name of the variable
dimsdimentions of the varaible
sensorIDoptional sensor ID
Returns
a newly created ScaledNcVar class

Definition at line 504 of file scaledNcVar.cpp.

◆ productInfoType2ncType()

netCDF::NcType::ncType productInfoType2ncType ( string  typeStr)

Definition at line 482 of file scaledNcVar.cpp.