OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <DDSensor.h>

Inheritance diagram for DDSensor:
[legend]

Public Member Functions

 DDSensor ()
 
virtual ~DDSensor ()
 
map< string, ddata * > create (vector< size_t > start, vector< size_t > count)
 
map< string, ddata * > read (vector< size_t > start, vector< size_t > count)
 
map< string, ddata * > read_landmask (map< string, ddata * > gmap, vector< size_t > start, vector< size_t > count)
 

Protected Member Functions

unsigned long int random_seed ()
 
float make_noise (float sigma)
 
map< string, ddata * > create_l2 (map< string, ddata * >)
 
virtual float noise_model (float rfl, int iw, float snr_mult)
 
virtual map< string, ddata * > read_l1b (const string &filepath, vector< size_t > start, vector< size_t > count)
 
virtual map< string, ddata * > read_l1b_attributes (NcFile *nc_input)
 
virtual map< string, ddata * > read_geo (const string &filepath, vector< size_t > start, vector< size_t > count)
 

Protected Attributes

bool brad_
 
float fsol_
 

Friends

class POCI
 
class VIIRS
 

Detailed Description

Definition at line 112 of file DDSensor.h.

Constructor & Destructor Documentation

◆ DDSensor()

DDSensor ( )

Class constructor

Definition at line 56 of file DDSensor.cpp.

◆ ~DDSensor()

~DDSensor ( )
virtual

Class destructor

Definition at line 65 of file DDSensor.cpp.

Member Function Documentation

◆ create()

map< string, ddata * > create ( vector< size_t >  start,
vector< size_t >  count 
)

Create l2 required data and return on map

Definition at line 74 of file DDSensor.cpp.

◆ create_l2()

map< string, ddata * > create_l2 ( map< string, ddata * >  gmap)
protected

Store datasets into STL maps

Definition at line 299 of file DDSensor.cpp.

◆ make_noise()

float make_noise ( float  sigma)
protected

Definition at line 242 of file DDSensor.cpp.

◆ noise_model()

float noise_model ( float  rfl,
int  iw,
float  snr_mult 
)
protectedvirtual

Instrument-dependent noise model

Reimplemented in VIIRS, and POCI.

Definition at line 259 of file DDSensor.cpp.

◆ random_seed()

unsigned long int random_seed ( )
protected

Noise generation utilities

Definition at line 229 of file DDSensor.cpp.

◆ read()

map< string, ddata * > read ( vector< size_t >  start,
vector< size_t >  count 
)

Read input and return on map

Definition at line 111 of file DDSensor.cpp.

◆ read_geo()

map< string, ddata * > read_geo ( const string filepath,
vector< size_t >  start,
vector< size_t >  count 
)
protectedvirtual

Read geolocation file

Reimplemented in VIIRS, and POCI.

Definition at line 560 of file DDSensor.cpp.

◆ read_l1b()

map< string, ddata * > read_l1b ( const string filepath,
vector< size_t >  start,
vector< size_t >  count 
)
protectedvirtual

Read L1B file

Reimplemented in VIIRS, and POCI.

Definition at line 268 of file DDSensor.cpp.

◆ read_l1b_attributes()

map< string, ddata * > read_l1b_attributes ( NcFile *  nc_input)
protectedvirtual

Read L1B attributes

Reimplemented in VIIRS, and POCI.

Definition at line 284 of file DDSensor.cpp.

◆ read_landmask()

map< string, ddata * > read_landmask ( map< string, ddata * >  gmap,
vector< size_t >  start,
vector< size_t >  count 
)

Read Global Land Mask LUT

Definition at line 165 of file DDSensor.cpp.

Friends And Related Function Documentation

◆ POCI

friend class POCI
friend

Definition at line 141 of file DDSensor.h.

◆ VIIRS

friend class VIIRS
friend

Definition at line 142 of file DDSensor.h.

Member Data Documentation

◆ brad_

bool brad_
protected

Definition at line 144 of file DDSensor.h.

◆ fsol_

float fsol_
protected

Definition at line 145 of file DDSensor.h.


The documentation for this class was generated from the following files:
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/dtdb/DDSensor.h
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/dtdb/DDSensor.cpp