NASA Logo
Ocean Color Science Software

ocssw V2022
l1c Namespace Reference

Classes

class  bin_L1C
 
class  L1C
 
class  l1c_filehandle
 
class  L1C_input
 
class  l1c_str
 
class  l2_str
 

Functions

void cross_product_double (double vector_a[], double vector_b[], double temp[])
 
double cross_product_norm_double (double vector_a[], double vector_b[])
 
int sunz_swt (int ix1_swt, int ix2_swt, int16_t *hour_swt, int16_t *day_swt, int16_t *year_swt, double *olat, double *olon)
 
int32_t load_l1c_filehandle4 (l1c_filehandle *l1cfile, L1C_input *l1cinput)
 
int32_t ect_swt (l1c_filehandle *l1cfile, int ix1, int ix2, double *tswt_tot, double *latswt_tot, double *lonswt_tot, double *ovel_tot, double *gvel_tot, double *tswt, double *latswt, double *lonswt, float *tcross, float *loncross, double *ovel, double *gvel)
 
int32_t create_time_swt (int num_gridlines, double tfile_ini_sec, double *tmgvf, double tswt_ini_sec, double tswt_end_sec, std::string *tswt_ini, std::string *tswt_ini_file, std::string *tswt_mid, std::string *tswt_end)
 
int32_t swtime_swt2 (int swt, L1C_input *l1cinput, l1c_filehandle *l1cfile, int32_t norbs, double *tswt, double tcross, double mgv, double *tmgv)
 
int32_t swtime_swt2_segment (int swt, L1C_input *l1cinput, l1c_filehandle *l1cfile, int32_t norbs, double *tswt, double tcross, double mgv, double *tmgv)
 
int32_t write_L1C_granule2 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, double *tmgv, float **lat_gd, float **lon_gd, float **alt_gd, double *orb_time_tot)
 
int32_t open_l1atol1c3 (L1C_input *l1cinput, l1c_filehandle *l1cfile)
 
int search_l1cgen (L1C_input *l1cinput, l1c_str *l1cstr, l1c_filehandle *l1cfile, short **gdindex)
 
int32_t create_SOCEA2 (int swtd, L1C_input *l1cinput, l1c_filehandle *l1cfile, float **lat_gd, float **lon_gd, float **altitude, double *tswt)
 
int32_t openL1Cgrid3 (l1c_str *l1cstr, l1c_filehandle *l1cfile, L1C_input *l1cinput)
 
int32_t add_proc_group_l1c (L1C_input *l1cinput, l1c_filehandle *l1cfile, const char *filename)
 
int32_t open_binvars (bin_L1C *binstr, l1c_filehandle *l1cfile)
 
int32_t read_binvars (bin_L1C *binstr, l1c_filehandle *l1cfile, int32_t recnum)
 
int32_t close_binvars_l1c (bin_L1C *binstr, l1c_filehandle *l1cfile)
 
void printProducts ()
 
int32_t l1c_inputmain (int argc, char **argv, L1C_input *l1cinput, l1c_filehandle *l1cfile, const char *prog, const char *version)
 
int32_t l1c_init_options (clo_optionList_t *list, const char *prog, const char *version)
 
int32_t l1c_load_input (clo_optionList_t *list, L1C_input *l1cinput)
 
int32_t l1c_usage (const char *prog, const char *version)
 
int32_t l1c_input_init (L1C_input *l1cinput)
 
int32_t openl1b_ocis_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t readl1b_ocis_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile, int32_t recnum)
 
int32_t closel1b_ocis_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t openl1b_oci_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t closel1b_oci_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t openl1b_spex_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t readl1b_spex_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile, int32_t recnum)
 
int32_t closel1b_spex_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t openl1b_harp2_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t readl1b_harp2_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile, int32_t recnum)
 
int32_t closel1b_harp2_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile)
 
int32_t openl1b_misr_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile, filehandle *l1file)
 
int32_t readl1b_misr_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile, filehandle *l1file, int32_t recnum)
 
int32_t closel1b_misr_l1c (l1c_str *l1cstr, l1c_filehandle *l1cfile, filehandle *l1file)
 
int32_t readl1b_ocis_3lines (l1c_str *l1cstr, l1c_filehandle *l1cfile, int32_t recnum)
 
int32_t writel1c_ocis (l1c_str *l1cstr, bin_str *binl1c, netCDF::NcFile *nc_output, float **Ltfrac, float **areafrac, short **obs_view, int band_ix, int view_ix)
 
int32_t openl2_ocis_l1c (L1C_input *l1cinput, l2_str *l2str, l1c_filehandle *l1cfile, int16_t *file_id)
 
int32_t readl2_ocis_l1c (l2_str *l2str, l1c_filehandle *l1cfile, int16_t *file_id, int32_t recnum)
 
int32_t closel2_ocis_l1c (l2_str *l2str, l1c_filehandle *l1cfile)
 

Function Documentation

◆ add_proc_group_l1c()

int32_t l1c::add_proc_group_l1c ( L1C_input l1cinput,
l1c_filehandle l1cfile,
const char *  filename 
)

◆ close_binvars_l1c()

int32_t l1c::close_binvars_l1c ( bin_L1C binstr,
l1c_filehandle l1cfile 
)

◆ closel1b_harp2_l1c()

int32_t l1c::closel1b_harp2_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ closel1b_misr_l1c()

int32_t l1c::closel1b_misr_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile,
filehandle *  l1file 
)

◆ closel1b_oci_l1c()

int32_t l1c::closel1b_oci_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ closel1b_ocis_l1c()

int32_t l1c::closel1b_ocis_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ closel1b_spex_l1c()

int32_t l1c::closel1b_spex_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ closel2_ocis_l1c()

int32_t l1c::closel2_ocis_l1c ( l2_str l2str,
l1c_filehandle l1cfile 
)

◆ create_SOCEA2()

int32_t l1c::create_SOCEA2 ( int  swtd,
L1C_input l1cinput,
l1c_filehandle l1cfile,
float **  lat_gd,
float **  lon_gd,
float **  altitude,
double *  tswt 
)

◆ create_time_swt()

int32_t l1c::create_time_swt ( int  num_gridlines,
double  tfile_ini_sec,
double *  tmgvf,
double  tswt_ini_sec,
double  tswt_end_sec,
std::string tswt_ini,
std::string tswt_ini_file,
std::string tswt_mid,
std::string tswt_end 
)

◆ cross_product_double()

void l1c::cross_product_double ( double  vector_a[],
double  vector_b[],
double  temp[] 
)

Definition at line 229 of file l1c.cpp.

◆ cross_product_norm_double()

double l1c::cross_product_norm_double ( double  vector_a[],
double  vector_b[] 
)

Definition at line 235 of file l1c.cpp.

◆ ect_swt()

int32_t l1c::ect_swt ( l1c_filehandle l1cfile,
int  ix1,
int  ix2,
double *  tswt_tot,
double *  latswt_tot,
double *  lonswt_tot,
double *  ovel_tot,
double *  gvel_tot,
double *  tswt,
double *  latswt,
double *  lonswt,
float *  tcross,
float *  loncross,
double *  ovel,
double *  gvel 
)

◆ l1c_init_options()

int32_t l1c::l1c_init_options ( clo_optionList_t list,
const char *  prog,
const char *  version 
)

◆ l1c_input_init()

int32_t l1c::l1c_input_init ( L1C_input l1cinput)

◆ l1c_inputmain()

int32_t l1c::l1c_inputmain ( int  argc,
char **  argv,
L1C_input l1cinput,
l1c_filehandle l1cfile,
const char *  prog,
const char *  version 
)

◆ l1c_load_input()

int32_t l1c::l1c_load_input ( clo_optionList_t list,
L1C_input l1cinput 
)

◆ l1c_usage()

int32_t l1c::l1c_usage ( const char *  prog,
const char *  version 
)

◆ load_l1c_filehandle4()

int32_t l1c::load_l1c_filehandle4 ( l1c_filehandle l1cfile,
L1C_input l1cinput 
)

◆ open_binvars()

int32_t l1c::open_binvars ( bin_L1C binstr,
l1c_filehandle l1cfile 
)

◆ open_l1atol1c3()

int32_t l1c::open_l1atol1c3 ( L1C_input l1cinput,
l1c_filehandle l1cfile 
)

◆ openl1b_harp2_l1c()

int32_t l1c::openl1b_harp2_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ openl1b_misr_l1c()

int32_t l1c::openl1b_misr_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile,
filehandle *  l1file 
)

◆ openl1b_oci_l1c()

int32_t l1c::openl1b_oci_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ openl1b_ocis_l1c()

int32_t l1c::openl1b_ocis_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ openl1b_spex_l1c()

int32_t l1c::openl1b_spex_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile 
)

◆ openL1Cgrid3()

int32_t l1c::openL1Cgrid3 ( l1c_str l1cstr,
l1c_filehandle l1cfile,
L1C_input l1cinput 
)

◆ openl2_ocis_l1c()

int32_t l1c::openl2_ocis_l1c ( L1C_input l1cinput,
l2_str l2str,
l1c_filehandle l1cfile,
int16_t *  file_id 
)

◆ printProducts()

void l1c::printProducts ( )

◆ read_binvars()

int32_t l1c::read_binvars ( bin_L1C binstr,
l1c_filehandle l1cfile,
int32_t  recnum 
)

◆ readl1b_harp2_l1c()

int32_t l1c::readl1b_harp2_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile,
int32_t  recnum 
)

◆ readl1b_misr_l1c()

int32_t l1c::readl1b_misr_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile,
filehandle *  l1file,
int32_t  recnum 
)

◆ readl1b_ocis_3lines()

int32_t l1c::readl1b_ocis_3lines ( l1c_str l1cstr,
l1c_filehandle l1cfile,
int32_t  recnum 
)

◆ readl1b_ocis_l1c()

int32_t l1c::readl1b_ocis_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile,
int32_t  recnum 
)

◆ readl1b_spex_l1c()

int32_t l1c::readl1b_spex_l1c ( l1c_str l1cstr,
l1c_filehandle l1cfile,
int32_t  recnum 
)

◆ readl2_ocis_l1c()

int32_t l1c::readl2_ocis_l1c ( l2_str l2str,
l1c_filehandle l1cfile,
int16_t *  file_id,
int32_t  recnum 
)

◆ search_l1cgen()

int l1c::search_l1cgen ( L1C_input l1cinput,
l1c_str l1cstr,
l1c_filehandle l1cfile,
short **  gdindex 
)

◆ sunz_swt()

int l1c::sunz_swt ( int  ix1_swt,
int  ix2_swt,
int16_t *  hour_swt,
int16_t *  day_swt,
int16_t *  year_swt,
double *  olat,
double *  olon 
)

Definition at line 890 of file l1c.cpp.

◆ swtime_swt2()

int32_t l1c::swtime_swt2 ( int  swt,
L1C_input l1cinput,
l1c_filehandle l1cfile,
int32_t  norbs,
double *  tswt,
double  tcross,
double  mgv,
double *  tmgv 
)

◆ swtime_swt2_segment()

int32_t l1c::swtime_swt2_segment ( int  swt,
L1C_input l1cinput,
l1c_filehandle l1cfile,
int32_t  norbs,
double *  tswt,
double  tcross,
double  mgv,
double *  tmgv 
)

◆ write_L1C_granule2()

int32_t l1c::write_L1C_granule2 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  tmgv,
float **  lat_gd,
float **  lon_gd,
float **  alt_gd,
double *  orb_time_tot 
)

◆ writel1c_ocis()

int32_t l1c::writel1c_ocis ( l1c_str l1cstr,
bin_str binl1c,
netCDF::NcFile *  nc_output,
float **  Ltfrac,
float **  areafrac,
short **  obs_view,
int  band_ix,
int  view_ix 
)