OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <VcstViirsGeo.h>

Collaboration diagram for VcstViirsGeo:
[legend]

Public Member Functions

 VcstViirsGeo ()
 
virtual ~VcstViirsGeo ()
 
void cleanupDataItems ()
 
int initialize ()
 
int geolocate ()
 
int findNSEW (float **lat, float **lon, size_t ny, size_t x0, size_t nx, float NSEW[4], float lonRanges[4])
 
int findGring (float **lat, float **lon, size_t ny, size_t x0, size_t nx, float gringLat[4], float gringLon[4])
 
int updateBbox (GeoOutputs geotype, size_t x0, size_t nx)
 
int write_img (int iscan, viirsSdrGeoPtrs *geoPtrs_)
 
int write_mod (int iscan, viirsSdrGeoPtrs *geoPtrs_, bool modFromImg)
 
int write_dnb (int iscan, viirsSdrGeoPtrs *geoPtrs_)
 
void setHistory (string history)
 
string getHistory ()
 
void setSource (string source)
 
string getSource ()
 

Public Attributes

string platform_
 
string startDirection_
 
string endDirection_
 
string day_night_flag_
 
string time_coverage_start_
 
string time_coverage_end_
 
string pge_start_time_
 
string pge_end_time_
 
string versionid_
 
string history_
 
string source_files_
 
int filled_scans_
 
int orbit_number_
 
int format_version_
 
int instrument_number_
 
int extract_pixel_start_
 
int extract_pixel_stop_
 
int leapseconds93
 
double scan_time_fill_
 
double scan_time_valid_min_
 
double scan_time_valid_max_
 

Static Public Attributes

static string DISABLE_SERVO_CONTROL
 

Protected Member Functions

int doProcessing ()
 
int initialize_L1A_data ()
 
int initialize_L1B_data ()
 
int getLandWaterMask (GeoOutputs geotype, size_t x0, size_t nx)
 
int write_global_attributes (NcFile *nc_output, string type)
 
int write_scan_data (NcFile *nc_output)
 
int write_nav_data (NcFile *nc_output)
 

Detailed Description

Definition at line 171 of file VcstViirsGeo.h.

Constructor & Destructor Documentation

◆ VcstViirsGeo()

Constructor

◆ ~VcstViirsGeo()

virtual ~VcstViirsGeo ( )
virtual

Destructor

Member Function Documentation

◆ cleanupDataItems()

void cleanupDataItems ( )

Delete all allocated memory

◆ doProcessing()

int doProcessing ( )
protected

doProcessing - IDPS/ADL doProcessing

◆ findGring()

int findGring ( float **  lat,
float **  lon,
size_t  ny,
size_t  x0,
size_t  nx,
float  gringLat[4],
float  gringLon[4] 
)

findGring - find valid corners of input coord arrays

◆ findNSEW()

int findNSEW ( float **  lat,
float **  lon,
size_t  ny,
size_t  x0,
size_t  nx,
float  NSEW[4],
float  lonRanges[4] 
)

findNSEW - find the bounding box for input coords

◆ geolocate()

int geolocate ( )

Set the history class member geolocate - executes geolocation algorithm

◆ getHistory()

string getHistory ( )
inline

Definition at line 274 of file VcstViirsGeo.h.

◆ getLandWaterMask()

int getLandWaterMask ( GeoOutputs  geotype,
size_t  x0,
size_t  nx 
)
protected

getLandWaterMask() read LWM file and populate the landwater array

◆ getSource()

string getSource ( )
inline

Definition at line 282 of file VcstViirsGeo.h.

◆ initialize()

int initialize ( )

Initialize geolocation object class

◆ initialize_L1A_data()

int initialize_L1A_data ( )
protected

Initialize L1A data

◆ initialize_L1B_data()

int initialize_L1B_data ( )
protected

Initialize L1B data

◆ setHistory()

void setHistory ( string  history)
inline

Definition at line 270 of file VcstViirsGeo.h.

◆ setSource()

void setSource ( string  source)
inline

Definition at line 278 of file VcstViirsGeo.h.

◆ updateBbox()

int updateBbox ( GeoOutputs  geotype,
size_t  x0,
size_t  nx 
)

updateBbox - update the bounding box and gring with each scan

◆ write_dnb()

int write_dnb ( int  iscan,
viirsSdrGeoPtrs geoPtrs_ 
)

write_dnb - write dnb geolocation file

◆ write_global_attributes()

int write_global_attributes ( NcFile *  nc_output,
string  type 
)
protected

◆ write_img()

int write_img ( int  iscan,
viirsSdrGeoPtrs geoPtrs_ 
)

write_img - write img geolocation file

◆ write_mod()

int write_mod ( int  iscan,
viirsSdrGeoPtrs geoPtrs_,
bool  modFromImg 
)

write_mod - write mod geolocation file

◆ write_nav_data()

int write_nav_data ( NcFile *  nc_output)
protected

◆ write_scan_data()

int write_scan_data ( NcFile *  nc_output)
protected

Member Data Documentation

◆ day_night_flag_

string day_night_flag_

Definition at line 177 of file VcstViirsGeo.h.

◆ DISABLE_SERVO_CONTROL

string DISABLE_SERVO_CONTROL
static

Definition at line 198 of file VcstViirsGeo.h.

◆ endDirection_

string endDirection_

Definition at line 176 of file VcstViirsGeo.h.

◆ extract_pixel_start_

int extract_pixel_start_

Definition at line 189 of file VcstViirsGeo.h.

◆ extract_pixel_stop_

int extract_pixel_stop_

Definition at line 190 of file VcstViirsGeo.h.

◆ filled_scans_

int filled_scans_

Definition at line 185 of file VcstViirsGeo.h.

◆ format_version_

int format_version_

Definition at line 187 of file VcstViirsGeo.h.

◆ history_

string history_

Definition at line 183 of file VcstViirsGeo.h.

◆ instrument_number_

int instrument_number_

Definition at line 188 of file VcstViirsGeo.h.

◆ leapseconds93

int leapseconds93

Definition at line 191 of file VcstViirsGeo.h.

◆ orbit_number_

int orbit_number_

Definition at line 186 of file VcstViirsGeo.h.

◆ pge_end_time_

string pge_end_time_

Definition at line 181 of file VcstViirsGeo.h.

◆ pge_start_time_

string pge_start_time_

Definition at line 180 of file VcstViirsGeo.h.

◆ platform_

string platform_

Definition at line 174 of file VcstViirsGeo.h.

◆ scan_time_fill_

double scan_time_fill_

Definition at line 194 of file VcstViirsGeo.h.

◆ scan_time_valid_max_

double scan_time_valid_max_

Definition at line 196 of file VcstViirsGeo.h.

◆ scan_time_valid_min_

double scan_time_valid_min_

Definition at line 195 of file VcstViirsGeo.h.

◆ source_files_

string source_files_

Definition at line 184 of file VcstViirsGeo.h.

◆ startDirection_

string startDirection_

Definition at line 175 of file VcstViirsGeo.h.

◆ time_coverage_end_

string time_coverage_end_

Definition at line 179 of file VcstViirsGeo.h.

◆ time_coverage_start_

string time_coverage_start_

Definition at line 178 of file VcstViirsGeo.h.

◆ versionid_

string versionid_

Definition at line 182 of file VcstViirsGeo.h.


The documentation for this class was generated from the following file: