OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
DDataset.hpp File Reference
#include <string>
#include <vector>
#include <netcdf>
#include <boost/array.hpp>
#include <boost/multi_array.hpp>
#include <boost/lexical_cast.hpp>
Include dependency graph for DDataset.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ddata
 
class  ddstr
 
class  ddval< T >
 
class  ddma< T, ndim >
 

Enumerations

enum  dtype {
  BYTE = NC_BYTE, CHAR = NC_CHAR, SHORT = NC_SHORT, INT = NC_INT,
  FLOAT = NC_FLOAT, DOUBLE = NC_DOUBLE, UBYTE = NC_UBYTE, USHORT = NC_USHORT,
  UINT = NC_UINT, INT64 = NC_INT64, UINT64 = NC_UINT64, STRING = NC_STRING
}
 

Functions

template<typename U , size_t rank>
boost::array< U, rankstl2boost (const vector< U > &vec)
 

Variables

constexpr float DFILL_FLOAT = -32767.0
 
constexpr float DFILL_TEST = -999
 
constexpr short DFILL_SHORT = -32767
 
constexpr unsigned char DFILL_UBYTE = 255
 
constexpr short MAX_SHORT = 32765
 

Enumeration Type Documentation

◆ dtype

enum dtype
strong
Enumerator
BYTE 

signed 1 byte integer

CHAR 

ISO/ASCII character.

SHORT 

signed 2 byte integer

INT 

signed 4 byte integer

FLOAT 

single precision floating point number

DOUBLE 

double precision floating point number

UBYTE 

unsigned 1 byte int

USHORT 

unsigned 2-byte int

UINT 

unsigned 4-byte int

INT64 

signed 8-byte int

UINT64 

unsigned 8-byte int

STRING 

string

Definition at line 31 of file DDataset.hpp.

Function Documentation

◆ stl2boost()

boost::array<U, rank> stl2boost ( const vector< U > &  vec)

Definition at line 48 of file DDataset.hpp.

Variable Documentation

◆ DFILL_FLOAT

constexpr float DFILL_FLOAT = -32767.0
constexpr

Definition at line 25 of file DDataset.hpp.

◆ DFILL_SHORT

constexpr short DFILL_SHORT = -32767
constexpr

Definition at line 27 of file DDataset.hpp.

◆ DFILL_TEST

constexpr float DFILL_TEST = -999
constexpr

Definition at line 26 of file DDataset.hpp.

◆ DFILL_UBYTE

constexpr unsigned char DFILL_UBYTE = 255
constexpr

Definition at line 28 of file DDataset.hpp.

◆ MAX_SHORT

constexpr short MAX_SHORT = 32765
constexpr

Definition at line 29 of file DDataset.hpp.