ocssw V2020

#include <Input.h>

Inheritance diagram for Input:
[legend]
Collaboration diagram for Input:
[legend]

Public Member Functions

 Input (Granule *gran)
 
virtual ~Input ()
 
int initialize (dtdbInput *in, int lines)
 
int read_input (dtdbInput *input, int start, int lines)
 
int read_landmask (dtdbInput *in, int lines, int pixels)
 

Public Attributes

int num_lines_
 
int num_pixels_
 

Protected Member Functions

float westernmost (float lon1, float lon2)
 
float easternmost (float lon1, float lon2)
 
unsigned long int random_seed ()
 
float make_noise (float sigma)
 
int create_map (dtdbInput *in)
 
virtual float noise_model (float rfl, int iw, float snr_mult)
 
virtual int read_l1b (const string &filepath, dtdbInput *in, int start, int lines)
 
virtual int read_l1b_attributes (NcFile *nc_input, dtdbInput *in)
 
virtual int read_geo (const string &filepath, dtdbInput *in, int start, int lines)
 
virtual int read_geo_attributes (NcFile *nc_input, dtdbInput *in)
 

Protected Attributes

Granuleg_
 

Friends

class Pace
 
class Viirs
 
class Modis
 

Detailed Description

Definition at line 206 of file Input.h.

Constructor & Destructor Documentation

◆ Input()

Input ( Granule gran)

Class constructor

Definition at line 47 of file Input.cpp.

◆ ~Input()

~Input ( )
virtual

Class destructor

Definition at line 56 of file Input.cpp.

Member Function Documentation

◆ create_map()

int create_map ( dtdbInput in)
protected

Store datasets into STL maps

Definition at line 367 of file Input.cpp.

◆ easternmost()

float easternmost ( float  lon1,
float  lon2 
)
protected

Definition at line 292 of file Input.cpp.

◆ initialize()

int initialize ( dtdbInput in,
int  lines 
)

Initialize Input data

Definition at line 66 of file Input.cpp.

◆ make_noise()

float make_noise ( float  sigma)
protected

Definition at line 320 of file Input.cpp.

◆ noise_model()

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

Instrument-dependent noise model

Reimplemented in Modis, Viirs, and Pace.

Definition at line 337 of file Input.cpp.

◆ random_seed()

unsigned long int random_seed ( )
protected

Noise generation utilities

Definition at line 307 of file Input.cpp.

◆ read_geo()

int read_geo ( const string filepath,
dtdbInput in,
int  start,
int  lines 
)
protectedvirtual

Read geolocation file

Reimplemented in Modis, Viirs, and Pace.

Definition at line 584 of file Input.cpp.

◆ read_geo_attributes()

int read_geo_attributes ( NcFile *  nc_input,
dtdbInput in 
)
protectedvirtual

Read GEO attributes

Reimplemented in Viirs, and Pace.

Definition at line 595 of file Input.cpp.

◆ read_input()

int read_input ( dtdbInput input,
int  start,
int  lines 
)

Read input for aerosol dark target algorithm

Definition at line 144 of file Input.cpp.

◆ read_l1b()

int read_l1b ( const string filepath,
dtdbInput in,
int  start,
int  lines 
)
protectedvirtual

Read L1B file

Reimplemented in Modis, Viirs, and Pace.

Definition at line 347 of file Input.cpp.

◆ read_l1b_attributes()

int read_l1b_attributes ( NcFile *  nc_input,
dtdbInput in 
)
protectedvirtual

Read L1B attributes

Reimplemented in Viirs, and Pace.

Definition at line 357 of file Input.cpp.

◆ read_landmask()

int read_landmask ( dtdbInput in,
int  lines,
int  pixels 
)

Read Global Land Mask LUT

Definition at line 231 of file Input.cpp.

◆ westernmost()

float westernmost ( float  lon1,
float  lon2 
)
protected

Definition at line 283 of file Input.cpp.

Friends And Related Function Documentation

◆ Modis

friend class Modis
friend

Definition at line 241 of file Input.h.

◆ Pace

friend class Pace
friend

Definition at line 239 of file Input.h.

◆ Viirs

friend class Viirs
friend

Definition at line 240 of file Input.h.

Member Data Documentation

◆ g_

Granule* g_
protected

Definition at line 243 of file Input.h.

◆ num_lines_

int num_lines_

Definition at line 235 of file Input.h.

◆ num_pixels_

int num_pixels_

Definition at line 236 of file Input.h.


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