OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <l1c.h>

Public Member Functions

 L1C ()
 
virtual ~L1C ()
 
virtual int32_t load_l1c_filehandle4 (l1c_filehandle *l1cfile, L1C_input *l1cinput)
 
virtual int32_t ect (l1c_filehandle *l1cfile)
 
virtual int32_t ect_sf (const char *filename, l1c_filehandle *l1cfilei, L1C_input *l1cinput)
 
virtual int32_t ect_sf2 (const char *filename, L1C_input *l1cinput, l1c_filehandle *l1cfile)
 
virtual int32_t ect_vec (int swt, l1c_filehandle *l1cfile, std::vector< double > &tvect, std::vector< double > &latvec, std::vector< double > &lonvec, float *tcross, float *loncross)
 
virtual int32_t ect_swt (int swt, l1c_filehandle *l1cfile, int32_t norbs, double *tswt, double *latswt, double *lonswt, float *tcross, float *loncross)
 
virtual int32_t mov_sd2 (l1c_filehandle *l1cfile, L1C_input *l1cinput, double *tcross, int16_t *file_id, int16_t *swtd_id, int16_t *nfiles_swt, double *ect_swtd, int16_t *tod, int16_t *orbdir, float *mgv_swath)
 
virtual int32_t mov_sd3 (l1c_filehandle *l1cfile, L1C_input *l1cinput, double *tcross, int16_t *file_id, int16_t *swtd_id, int16_t *nfiles_swt, double *ect_swtd, int16_t *tod, int16_t *orbdir, float *mgv_swath)
 
virtual int32_t mov_sd4 (l1c_filehandle *l1cfile, L1C_input *l1cinput, double *tcross, int16_t *file_id, int16_t *swtd_id, int16_t *nfiles_swt, double *ect_swtd, int16_t *tod, int16_t *orbdir, float *mgv_swath)
 
virtual int32_t time_swt2 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, double *ect_d, int16_t *swtdid, int16_t *fileid, int16_t *nfiles_swt, float *mgv_swt, double *time_mgv)
 
virtual int32_t time_swt3 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, double *ect_d, int16_t *swtdid, int16_t *fileid, int16_t *nfiles_swt, float *mgv_swt, double *time_mgv)
 
virtual int32_t swtime_vec (int swtd, L1C_input *l1cinput, l1c_filehandle *l1cfile, int16_t time_index[6], std::vector< double > &tvec, double tcross, double mgv1, double *tmgv1)
 
virtual int32_t swtime_swt (int swt, L1C_input *l1cinput, l1c_filehandle *l1cfile, int32_t norbs, int16_t time_index[6], double *tswt, double tcross, double mgv, double *tmgv)
 
virtual int32_t swtime_swt2 (int swt, L1C_input *l1cinput, l1c_filehandle *l1cfile, int32_t norbs, double *tswt, double tcross, double mgv, double *tmgv)
 
virtual int32_t azmean_swt (int swt, L1C_input *l1cinput, l1c_filehandle *l1cfile, float *lati, float *loni)
 
virtual int32_t azmean_swt2 (int swt, L1C_input *l1cinput, l1c_filehandle *l1cfile, float *lati, float *loni)
 
virtual int32_t interp_swt1 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, double *time_mgv, orb_array *velig, float *lati, float *loni)
 
virtual int32_t interp_swt_dist2 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, double *time_mgv, float *lati, float *loni, float *lati2, float *loni2)
 
virtual int32_t interp_swt_dist3 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, double *time_mgv, float *lati, float *loni, float *lati2, float *loni2)
 
virtual int32_t interp_swt_dist_vec (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, double *time_mgv, float *lati, float *loni, float *lati2, float *loni2)
 
virtual int32_t across_gridlines_l1c (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, float *lati3, float *loni3, float **lat_cgd, float **lon_cgd, float *az_east)
 
virtual int32_t across_gridlines_l1c2 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, float *lati3, float *loni3, float **lat_cgd, float **lon_cgd, float *az_east)
 
virtual int32_t across_gridlines_l1c_vec (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, float *lati2, float *loni2, float **lat_gd, float **lon_gd, float *az_east)
 
virtual int32_t across_gridlines_l1c_vec2 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, float *lati2, float *loni2, float **lat_gd, float **lon_gd, float *az_east)
 
virtual int32_t across_gridlines_l1c_vec3 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, float *lati2, float *loni2, float **lat_gd, float **lon_gd, float *az_east)
 
virtual int32_t write_L1C_granule (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, double *tmgv, float **lat_gd, float **lon_gd)
 
virtual int32_t open_l2tol1c (l1c_filehandle *l1cfile, L1C_input *l1cinput)
 
virtual int32_t open_l1atol1c (L1C_input *l1cinput, l1c_filehandle *l1cfile)
 
virtual bool sbs2_l1c (L1C_input *l1cinput, int32_t ydim, int32_t xdim, float **alat, short **alat_index, float latpix, float lonpix, float **lon_gd, short *erow, short *ecol)
 
virtual void sbs2_sort_latgd (l1c_filehandle *l1cfile, float **lat_gd, float **lat_asort, short **index_xy)
 
virtual void search_rc_l1c (L1C_input *l1cinput, l1c_filehandle *l1cfile, float lat_pix, float lon_pix, double otime_pix, float lon_eqc, short *rowindex, short *colindex, short Nneg)
 
virtual int32_t search_SOCEA (L1C_input *l1cinput, l1c_filehandle *l1cfile, float **lat_gd, float **lon_gd, double *time_mgv, float ect, float loncross)
 
virtual int32_t create_SOCEA (int swtd, L1C_input *l1cinput, l1c_filehandle *l1cfile, float **lat_gd, float **lon_gd)
 
virtual int32_t binL1C_wgranule2 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt)
 
virtual int32_t binL1C_wgranule3 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt)
 
virtual int32_t binL1C_wgranule4 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt)
 
virtual int32_t binL1C_wgranule5 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt)
 
virtual int32_t binL1C_wgranule6 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt)
 
virtual int32_t binL1C_wgranule7 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt)
 
virtual int32_t binL1C_wgranule_aw (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt)
 
virtual int32_t binL1C_wgranule_aw2 (int swtd, l1c_filehandle *l1cfile, L1C_input *l1cinput, l1c_str *l1cstr, float **lat_gd, float **lon_gd, float *az_east, float **Ltfracsum, float **areabinsum, float **nobs_perbin, size_t sline)
 
virtual double binL1C_pixelpoly (l1c_filehandle *l1cfile, L1C_input *l1cinput, l1c_str *l1cstr, short gd_row, short gd_col, int32_t pix)
 
virtual int32_t openL1Cgrid (int swtd, l1c_str *l1cstr, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, float **lat_gd, float **lon_gd, float *az_east, float **lat_asort, short **index_xy)
 
virtual int32_t binL1C_sbs_line (int swtd, L1C *l1c, l1c_str *l1cstr, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, float **lat_gd, float **lon_gd, float *az_east, float **lat_asort, short **index_xy, float ****binLt, int ****bincount, size_t recnums, int granid)
 
virtual int32_t binL1C_sbs_line_l2 (int swtd, L1C *l1c, l2_str *l2str, l1c_filehandle *l1cfile, L1C_input *l1cinput, int16_t *swtd_id, int16_t *file_id, int16_t *nfiles_swt, float **lat_gd, float **lon_gd, float *az_east, float **lat_asort, short **index_xy, float ****binmean_prod, int ****bincount, size_t sline, int granid)
 
virtual int32_t xy_pixsize (int swtd, l1c_filehandle *l1cfile, int16_t *swtd_id, int16_t *odir, int16_t *file_id, int16_t *nfiles_swt, float **binx_size_u, float **binx_size_v)
 
virtual int32_t xy_pixsize_sf2 (const char *filename, l1c_filehandle *l1cfile, L1C_input *l1cinput, float **pix_size_u, float **pix_size_v, float **lat_gd, float **lon_gd, double **lat_cgd, double **lon_cgd, float **Ltfracsum, float **areabinsum, float **nobs_perbin)
 
virtual int32_t xy_pixsize_sf3 (const char *filename, l1c_filehandle *l1cfile, L1C_input *l1cinput, float **pix_size_u, float **pix_size_v, float **lat_gd, float **lon_gd, double **lat_cgd, double **lon_cgd, float **Ltfracsum, float **areabinsum, float **nobs_perbin, float **lat_asort, short **index_xy)
 
virtual int32_t pix_corners4_l1c (l1c_filehandle *l1cfile, L1C_input *l1cinput, float dist_u, float dist_v, float azpix, int32_t scanline, int32_t pix, float pixlat, float pixlon, float pixLt, float **lat_asort, short **index_xy, float **lat_gd, float **lon_gd, double **lat_cgd, double **lon_cgd, double areaFracBox[3][3], float **Ltfracsum, float **areabinsum, float **nobs_perbin)
 
virtual int32_t pix_corners4_l1c2 (l1c_filehandle *l1cfile, L1C_input *l1cinput, float dist_u, float dist_v, float azpix, int32_t scanline, int32_t pix, float pixlat, float pixlon, float pixLt, short row, short col, float **lat_gd, float **lon_gd, double areaFracBox[3][3], double **Ltfracsum, double **areabinsum, float **nobs_perbin)
 
virtual int32_t pix_corners4_l1c3 (l1c_filehandle *l1cfile, L1C_input *l1cinput, float dist_u, float dist_v, float azpix, int32_t scanline, int32_t pix, float pixlat, float pixlon, float pixLt, short row, short col, float **lat_gd, float **lon_gd, double areaFracBox[3][3], double areaBinbox[3][3])
 
virtual int32_t gwindowTopix_l1c (l1c_filehandle *l1cfile, L1C_input *l1cinput, short gd_row, short gd_col, float **lat_gd, float **lon_gd, double **latcornBox, double **loncornBox)
 
virtual int32_t pixcornBox (l1c_filehandle *l1cfile, L1C_input *l1cinput, float dist_u, float dist_v, float azpix, int32_t scanline, int32_t pix, float pixlat, float pixlon, float pixLt, short gd_row, short gd_col, float **lat_gd, float **lon_gd, Polygon_t &pixelPoly)
 
virtual bool binIntersectsPix4corn (int32_t row, int32_t col, double **lat_cgd, double **lon_cgd, Polygon_t &pixelPoly, double &areaFrac)
 
virtual bool binIntersectsPix4corn2 (int32_t row, int32_t col, double **lat_cgd, double **lon_cgd, Polygon_t &pixelPoly, double areaFracBox[3][3])
 
virtual bool binIntersectsPix4corn3 (short row, short col, double **lat_cgd, double **lon_cgd, Polygon_t &pixelPoly, double areaFracBox[3][3], double areabinBox[3][3])
 
virtual bool binIntersectsPix4corn4_l1c (l1c_filehandle *l1cfile, L1C_input *l1cinput, short row, short col, float **lat_gd, float **lon_gd, Polygon_t &pixelPoly, double areaFracBox[3][3], double areabinBox[3][3])
 
virtual bool binIntersectsPix2corn (int32_t row, int32_t col, double **lat_cgd, double **lon_cgd, Box_t &pixelBox, double &areaFrac)
 
virtual bool binIntersectsPix2corn2 (int32_t row, int32_t col, double **lat_cgd, double **lon_cgd, Box_t &pixelBox, double areaFracBox[3][3])
 
virtual int32_t savebinL1C_v2 (int swtd, L1C_input *l1cinput, l1c_filehandle *l1cfile, float **lat_gd, float **lon_gd, float **Ltfracsum, float **areafracsum, float **nobs_perbin)
 

Public Attributes

std::string l1b_name
 
size_t sd_id
 
size_t l1c_pflag
 
std::vector< std::stringcust_l1cprod
 
file_type format
 
size_t mode
 
size_t length
 
size_t sensorID
 
size_t subsensorID
 
float res_spat
 
float res_spec
 
int16_t syear
 
int16_t sday
 
float minlat_img
 
float maxlat_img
 
float minlon_img
 
float maxlon_img
 
size_t ndets
 
size_t nscan
 
size_t n_views
 
size_t npols
 
size_t nbands
 
size_t nband_blue
 
size_t nband_red
 
size_t nband_swir
 
size_t npix
 
float * views
 
size_t pols [3]
 
float * bbands
 
float * rbands
 
float * swirbands
 
size_t orbit_number
 
size_t orb_dir
 
float orbit_node_lon
 
size_t terrain_corrected
 
size_t cloud_corrected
 
float * cloud_height
 
float * Fobar
 
size_t proj_type
 
float gres
 
float lat0
 
float * view_agg
 
float * pol_agg
 
float * band_agg
 
size_t overlap_vflag
 
size_t overlap_pflag
 
size_t overlap_bflag
 
size_t unc_meth
 
float unc_thres_v
 
float unc_thres_p
 
float unc_thres_b
 

Detailed Description

Definition at line 43 of file l1c.h.

Constructor & Destructor Documentation

◆ L1C()

L1C ( )

Definition at line 79 of file l1c.cpp.

◆ ~L1C()

~L1C ( )
virtual

Definition at line 83 of file l1c.cpp.

Member Function Documentation

◆ across_gridlines_l1c()

int32_t across_gridlines_l1c ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
float *  lati3,
float *  loni3,
float **  lat_cgd,
float **  lon_cgd,
float *  az_east 
)
virtual

Definition at line 21420 of file l1c.cpp.

◆ across_gridlines_l1c2()

int32_t across_gridlines_l1c2 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
float *  lati3,
float *  loni3,
float **  lat_cgd,
float **  lon_cgd,
float *  az_east 
)
virtual

Definition at line 20351 of file l1c.cpp.

◆ across_gridlines_l1c_vec()

int32_t across_gridlines_l1c_vec ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
float *  lati2,
float *  loni2,
float **  lat_gd,
float **  lon_gd,
float *  az_east 
)
virtual

Definition at line 19357 of file l1c.cpp.

◆ across_gridlines_l1c_vec2()

int32_t across_gridlines_l1c_vec2 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
float *  lati2,
float *  loni2,
float **  lat_gd,
float **  lon_gd,
float *  az_east 
)
virtual

Definition at line 18355 of file l1c.cpp.

◆ across_gridlines_l1c_vec3()

int32_t across_gridlines_l1c_vec3 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
float *  lati2,
float *  loni2,
float **  lat_gd,
float **  lon_gd,
float *  az_east 
)
virtual

Definition at line 17296 of file l1c.cpp.

◆ azmean_swt()

int32_t azmean_swt ( int  swt,
L1C_input l1cinput,
l1c_filehandle l1cfile,
float *  lati,
float *  loni 
)
virtual

Definition at line 162 of file l1c.cpp.

◆ azmean_swt2()

int32_t azmean_swt2 ( int  swt,
L1C_input l1cinput,
l1c_filehandle l1cfile,
float *  lati,
float *  loni 
)
virtual

Definition at line 106 of file l1c.cpp.

◆ binIntersectsPix2corn()

bool binIntersectsPix2corn ( int32_t  row,
int32_t  col,
double **  lat_cgd,
double **  lon_cgd,
Box_t pixelBox,
double &  areaFrac 
)
virtual

Definition at line 4948 of file l1c.cpp.

◆ binIntersectsPix2corn2()

bool binIntersectsPix2corn2 ( int32_t  row,
int32_t  col,
double **  lat_cgd,
double **  lon_cgd,
Box_t pixelBox,
double  areaFracBox[3][3] 
)
virtual

Definition at line 4685 of file l1c.cpp.

◆ binIntersectsPix4corn()

bool binIntersectsPix4corn ( int32_t  row,
int32_t  col,
double **  lat_cgd,
double **  lon_cgd,
Polygon_t pixelPoly,
double &  areaFrac 
)
virtual

Definition at line 4633 of file l1c.cpp.

◆ binIntersectsPix4corn2()

bool binIntersectsPix4corn2 ( int32_t  row,
int32_t  col,
double **  lat_cgd,
double **  lon_cgd,
Polygon_t pixelPoly,
double  areaFracBox[3][3] 
)
virtual

Definition at line 4066 of file l1c.cpp.

◆ binIntersectsPix4corn3()

bool binIntersectsPix4corn3 ( short  row,
short  col,
double **  lat_cgd,
double **  lon_cgd,
Polygon_t pixelPoly,
double  areaFracBox[3][3],
double  areabinBox[3][3] 
)
virtual

Definition at line 3523 of file l1c.cpp.

◆ binIntersectsPix4corn4_l1c()

bool binIntersectsPix4corn4_l1c ( l1c_filehandle l1cfile,
L1C_input l1cinput,
short  row,
short  col,
float **  lat_gd,
float **  lon_gd,
Polygon_t pixelPoly,
double  areaFracBox[3][3],
double  areabinBox[3][3] 
)
virtual

Definition at line 2520 of file l1c.cpp.

◆ binL1C_pixelpoly()

double binL1C_pixelpoly ( l1c_filehandle l1cfile,
L1C_input l1cinput,
l1c_str l1cstr,
short  gd_row,
short  gd_col,
int32_t  pix 
)
virtual

Definition at line 5555 of file l1c.cpp.

◆ binL1C_sbs_line()

int32_t binL1C_sbs_line ( int  swtd,
L1C l1c,
l1c_str l1cstr,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
float **  lat_gd,
float **  lon_gd,
float *  az_east,
float **  lat_asort,
short **  index_xy,
float ****  binLt,
int ****  bincount,
size_t  recnums,
int  granid 
)
virtual

Definition at line 6374 of file l1c.cpp.

◆ binL1C_sbs_line_l2()

int32_t binL1C_sbs_line_l2 ( int  swtd,
L1C l1c,
l2_str l2str,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
float **  lat_gd,
float **  lon_gd,
float *  az_east,
float **  lat_asort,
short **  index_xy,
float ****  binmean_prod,
int ****  bincount,
size_t  sline,
int  granid 
)
virtual

Definition at line 5893 of file l1c.cpp.

◆ binL1C_wgranule2()

int32_t binL1C_wgranule2 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt 
)
virtual

Definition at line 14311 of file l1c.cpp.

◆ binL1C_wgranule3()

int32_t binL1C_wgranule3 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt 
)
virtual

Definition at line 13259 of file l1c.cpp.

◆ binL1C_wgranule4()

int32_t binL1C_wgranule4 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt 
)
virtual

Definition at line 8575 of file l1c.cpp.

◆ binL1C_wgranule5()

int32_t binL1C_wgranule5 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt 
)
virtual

Definition at line 12218 of file l1c.cpp.

◆ binL1C_wgranule6()

int32_t binL1C_wgranule6 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt 
)
virtual

Definition at line 11035 of file l1c.cpp.

◆ binL1C_wgranule7()

int32_t binL1C_wgranule7 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt 
)
virtual

Definition at line 9682 of file l1c.cpp.

◆ binL1C_wgranule_aw()

int32_t binL1C_wgranule_aw ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt 
)
virtual

Definition at line 7602 of file l1c.cpp.

◆ binL1C_wgranule_aw2()

int32_t binL1C_wgranule_aw2 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
l1c_str l1cstr,
float **  lat_gd,
float **  lon_gd,
float *  az_east,
float **  Ltfracsum,
float **  areabinsum,
float **  nobs_perbin,
size_t  sline 
)
virtual

Definition at line 6908 of file l1c.cpp.

◆ create_SOCEA()

int create_SOCEA ( int  swtd,
L1C_input l1cinput,
l1c_filehandle l1cfile,
float **  lat_gd,
float **  lon_gd 
)
virtual

Definition at line 4989 of file l1c.cpp.

◆ ect()

int32_t ect ( l1c_filehandle l1cfile)
virtual

Definition at line 24448 of file l1c.cpp.

◆ ect_sf()

int32_t ect_sf ( const char *  filename,
l1c_filehandle l1cfilei,
L1C_input l1cinput 
)
virtual

Definition at line 24279 of file l1c.cpp.

◆ ect_sf2()

int32_t ect_sf2 ( const char *  filename,
L1C_input l1cinput,
l1c_filehandle l1cfile 
)
virtual

Definition at line 23904 of file l1c.cpp.

◆ ect_swt()

int32_t ect_swt ( int  swt,
l1c_filehandle l1cfile,
int32_t  norbs,
double *  tswt,
double *  latswt,
double *  lonswt,
float *  tcross,
float *  loncross 
)
virtual

Definition at line 412 of file l1c.cpp.

◆ ect_vec()

int32_t ect_vec ( int  swt,
l1c_filehandle l1cfile,
std::vector< double > &  tvect,
std::vector< double > &  latvec,
std::vector< double > &  lonvec,
float *  tcross,
float *  loncross 
)
virtual

Definition at line 487 of file l1c.cpp.

◆ gwindowTopix_l1c()

int32_t gwindowTopix_l1c ( l1c_filehandle l1cfile,
L1C_input l1cinput,
short  gd_row,
short  gd_col,
float **  lat_gd,
float **  lon_gd,
double **  latcornBox,
double **  loncornBox 
)
virtual

Definition at line 15296 of file l1c.cpp.

◆ interp_swt1()

int32_t interp_swt1 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
double *  time_mgv,
orb_array velig,
float *  lati,
float *  loni 
)
virtual

Definition at line 22262 of file l1c.cpp.

◆ interp_swt_dist2()

int32_t interp_swt_dist2 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
double *  time_mgv,
float *  lati,
float *  loni,
float *  lati2,
float *  loni2 
)
virtual

Definition at line 22065 of file l1c.cpp.

◆ interp_swt_dist3()

int32_t interp_swt_dist3 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
double *  time_mgv,
float *  lati,
float *  loni,
float *  lati2,
float *  loni2 
)
virtual

Definition at line 21975 of file l1c.cpp.

◆ interp_swt_dist_vec()

int32_t interp_swt_dist_vec ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  time_mgv,
float *  lati,
float *  loni,
float *  lati2,
float *  loni2 
)
virtual

Definition at line 21868 of file l1c.cpp.

◆ load_l1c_filehandle4()

int32_t load_l1c_filehandle4 ( l1c_filehandle l1cfile,
L1C_input l1cinput 
)
virtual

Definition at line 24585 of file l1c.cpp.

◆ mov_sd2()

int32_t mov_sd2 ( l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  tcross,
int16_t *  file_id,
int16_t *  swtd_id,
int16_t *  nfiles_swt,
double *  ect_swtd,
int16_t *  tod,
int16_t *  orbdir,
float *  mgv_swath 
)
virtual

Definition at line 23582 of file l1c.cpp.

◆ mov_sd3()

int32_t mov_sd3 ( l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  tcross,
int16_t *  file_id,
int16_t *  swtd_id,
int16_t *  nfiles_swt,
double *  ect_swtd,
int16_t *  tod,
int16_t *  orbdir,
float *  mgv_swath 
)
virtual

Definition at line 22745 of file l1c.cpp.

◆ mov_sd4()

int32_t mov_sd4 ( l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  tcross,
int16_t *  file_id,
int16_t *  swtd_id,
int16_t *  nfiles_swt,
double *  ect_swtd,
int16_t *  tod,
int16_t *  orbdir,
float *  mgv_swath 
)
virtual

Definition at line 23256 of file l1c.cpp.

◆ open_l1atol1c()

int32_t open_l1atol1c ( L1C_input l1cinput,
l1c_filehandle l1cfile 
)
virtual

number of packets

Definition at line 560 of file l1c.cpp.

◆ open_l2tol1c()

int32_t open_l2tol1c ( l1c_filehandle l1cfile,
L1C_input l1cinput 
)
virtual

Definition at line 2267 of file l1c.cpp.

◆ openL1Cgrid()

int32_t openL1Cgrid ( int  swtd,
l1c_str l1cstr,
l1c_filehandle l1cfile,
L1C_input l1cinput,
int16_t *  swtd_id,
int16_t *  file_id,
int16_t *  nfiles_swt,
float **  lat_gd,
float **  lon_gd,
float *  az_east,
float **  lat_asort,
short **  index_xy 
)
virtual

Definition at line 5655 of file l1c.cpp.

◆ pix_corners4_l1c()

int32_t pix_corners4_l1c ( l1c_filehandle l1cfile,
L1C_input l1cinput,
float  dist_u,
float  dist_v,
float  azpix,
int32_t  scanline,
int32_t  pix,
float  pixlat,
float  pixlon,
float  pixLt,
float **  lat_asort,
short **  index_xy,
float **  lat_gd,
float **  lon_gd,
double **  lat_cgd,
double **  lon_cgd,
double  areaFracBox[3][3],
float **  Ltfracsum,
float **  areabinsum,
float **  nobs_perbin 
)
virtual

Definition at line 15103 of file l1c.cpp.

◆ pix_corners4_l1c2()

int32_t pix_corners4_l1c2 ( l1c_filehandle l1cfile,
L1C_input l1cinput,
float  dist_u,
float  dist_v,
float  azpix,
int32_t  scanline,
int32_t  pix,
float  pixlat,
float  pixlon,
float  pixLt,
short  row,
short  col,
float **  lat_gd,
float **  lon_gd,
double  areaFracBox[3][3],
double **  Ltfracsum,
double **  areabinsum,
float **  nobs_perbin 
)
virtual

Definition at line 16075 of file l1c.cpp.

◆ pix_corners4_l1c3()

int32_t pix_corners4_l1c3 ( l1c_filehandle l1cfile,
L1C_input l1cinput,
float  dist_u,
float  dist_v,
float  azpix,
int32_t  scanline,
int32_t  pix,
float  pixlat,
float  pixlon,
float  pixLt,
short  row,
short  col,
float **  lat_gd,
float **  lon_gd,
double  areaFracBox[3][3],
double  areaBinbox[3][3] 
)
virtual

Definition at line 15915 of file l1c.cpp.

◆ pixcornBox()

int32_t pixcornBox ( l1c_filehandle l1cfile,
L1C_input l1cinput,
float  dist_u,
float  dist_v,
float  azpix,
int32_t  scanline,
int32_t  pix,
float  pixlat,
float  pixlon,
float  pixLt,
short  gd_row,
short  gd_col,
float **  lat_gd,
float **  lon_gd,
Polygon_t pixelPoly 
)
virtual

Definition at line 15833 of file l1c.cpp.

◆ savebinL1C_v2()

int32_t savebinL1C_v2 ( int  swtd,
L1C_input l1cinput,
l1c_filehandle l1cfile,
float **  lat_gd,
float **  lon_gd,
float **  Ltfracsum,
float **  areafracsum,
float **  nobs_perbin 
)
virtual

Definition at line 2388 of file l1c.cpp.

◆ sbs2_l1c()

bool sbs2_l1c ( L1C_input l1cinput,
int32_t  ydim,
int32_t  xdim,
float **  alat,
short **  alat_index,
float  latpix,
float  lonpix,
float **  lon_gd,
short *  erow,
short *  ecol 
)
virtual

Definition at line 5483 of file l1c.cpp.

◆ sbs2_sort_latgd()

void sbs2_sort_latgd ( l1c_filehandle l1cfile,
float **  lat_gd,
float **  lat_asort,
short **  index_xy 
)
virtual

Definition at line 5440 of file l1c.cpp.

◆ search_rc_l1c()

void search_rc_l1c ( L1C_input l1cinput,
l1c_filehandle l1cfile,
float  lat_pix,
float  lon_pix,
double  otime_pix,
float  lon_eqc,
short *  rowindex,
short *  colindex,
short  Nneg 
)
virtual

Definition at line 5364 of file l1c.cpp.

◆ search_SOCEA()

int search_SOCEA ( L1C_input l1cinput,
l1c_filehandle l1cfile,
float **  lat_gd,
float **  lon_gd,
double *  time_mgv,
float  ect,
float  loncross 
)
virtual

Definition at line 5316 of file l1c.cpp.

◆ swtime_swt()

int32_t swtime_swt ( int  swt,
L1C_input l1cinput,
l1c_filehandle l1cfile,
int32_t  norbs,
int16_t  time_index[6],
double *  tswt,
double  tcross,
double  mgv,
double *  tmgv 
)
virtual

Definition at line 285 of file l1c.cpp.

◆ swtime_swt2()

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

Definition at line 214 of file l1c.cpp.

◆ swtime_vec()

int32_t swtime_vec ( int  swtd,
L1C_input l1cinput,
l1c_filehandle l1cfile,
int16_t  time_index[6],
std::vector< double > &  tvec,
double  tcross,
double  mgv1,
double *  tmgv1 
)
virtual

Definition at line 348 of file l1c.cpp.

◆ time_swt2()

int32_t time_swt2 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  ect_d,
int16_t *  swtdid,
int16_t *  fileid,
int16_t *  nfiles_swt,
float *  mgv_swt,
double *  time_mgv 
)
virtual

Definition at line 22621 of file l1c.cpp.

◆ time_swt3()

int32_t time_swt3 ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  ect_d,
int16_t *  swtdid,
int16_t *  fileid,
int16_t *  nfiles_swt,
float *  mgv_swt,
double *  time_mgv 
)
virtual

Definition at line 22497 of file l1c.cpp.

◆ write_L1C_granule()

int32_t write_L1C_granule ( int  swtd,
l1c_filehandle l1cfile,
L1C_input l1cinput,
double *  tmgv,
float **  lat_gd,
float **  lon_gd 
)
virtual

Definition at line 16746 of file l1c.cpp.

◆ xy_pixsize()

int32_t xy_pixsize ( int  swtd,
l1c_filehandle l1cfile,
int16_t *  swtd_id,
int16_t *  odir,
int16_t *  file_id,
int16_t *  nfiles_swt,
float **  binx_size_u,
float **  binx_size_v 
)
virtual

Definition at line 16638 of file l1c.cpp.

◆ xy_pixsize_sf2()

int32_t xy_pixsize_sf2 ( const char *  filename,
l1c_filehandle l1cfile,
L1C_input l1cinput,
float **  pix_size_u,
float **  pix_size_v,
float **  lat_gd,
float **  lon_gd,
double **  lat_cgd,
double **  lon_cgd,
float **  Ltfracsum,
float **  areabinsum,
float **  nobs_perbin 
)
virtual

Definition at line 16430 of file l1c.cpp.

◆ xy_pixsize_sf3()

int32_t xy_pixsize_sf3 ( const char *  filename,
l1c_filehandle l1cfile,
L1C_input l1cinput,
float **  pix_size_u,
float **  pix_size_v,
float **  lat_gd,
float **  lon_gd,
double **  lat_cgd,
double **  lon_cgd,
float **  Ltfracsum,
float **  areabinsum,
float **  nobs_perbin,
float **  lat_asort,
short **  index_xy 
)
virtual

Definition at line 16258 of file l1c.cpp.

Member Data Documentation

◆ band_agg

float* band_agg

Definition at line 198 of file l1c.h.

◆ bbands

float* bbands

Definition at line 165 of file l1c.h.

◆ cloud_corrected

size_t cloud_corrected

Definition at line 178 of file l1c.h.

◆ cloud_height

float* cloud_height

Definition at line 179 of file l1c.h.

◆ cust_l1cprod

std::vector<std::string> cust_l1cprod

Definition at line 132 of file l1c.h.

◆ Fobar

float* Fobar

Definition at line 182 of file l1c.h.

◆ format

file_type format

Definition at line 135 of file l1c.h.

◆ gres

float gres

Definition at line 187 of file l1c.h.

◆ l1b_name

std::string l1b_name

Definition at line 126 of file l1c.h.

◆ l1c_pflag

size_t l1c_pflag

Definition at line 131 of file l1c.h.

◆ lat0

float lat0

Definition at line 190 of file l1c.h.

◆ length

size_t length

Definition at line 137 of file l1c.h.

◆ maxlat_img

float maxlat_img

Definition at line 147 of file l1c.h.

◆ maxlon_img

float maxlon_img

Definition at line 149 of file l1c.h.

◆ minlat_img

float minlat_img

Definition at line 146 of file l1c.h.

◆ minlon_img

float minlon_img

Definition at line 148 of file l1c.h.

◆ mode

size_t mode

Definition at line 136 of file l1c.h.

◆ n_views

size_t n_views

Definition at line 154 of file l1c.h.

◆ nband_blue

size_t nband_blue

Definition at line 157 of file l1c.h.

◆ nband_red

size_t nband_red

Definition at line 158 of file l1c.h.

◆ nband_swir

size_t nband_swir

Definition at line 159 of file l1c.h.

◆ nbands

size_t nbands

Definition at line 156 of file l1c.h.

◆ ndets

size_t ndets

Definition at line 152 of file l1c.h.

◆ npix

size_t npix

Definition at line 160 of file l1c.h.

◆ npols

size_t npols

Definition at line 155 of file l1c.h.

◆ nscan

size_t nscan

Definition at line 153 of file l1c.h.

◆ orb_dir

size_t orb_dir

Definition at line 173 of file l1c.h.

◆ orbit_node_lon

float orbit_node_lon

Definition at line 174 of file l1c.h.

◆ orbit_number

size_t orbit_number

Definition at line 172 of file l1c.h.

◆ overlap_bflag

size_t overlap_bflag

Definition at line 201 of file l1c.h.

◆ overlap_pflag

size_t overlap_pflag

Definition at line 200 of file l1c.h.

◆ overlap_vflag

size_t overlap_vflag

Definition at line 199 of file l1c.h.

◆ pol_agg

float* pol_agg

Definition at line 197 of file l1c.h.

◆ pols

size_t pols[3]

Definition at line 164 of file l1c.h.

◆ proj_type

size_t proj_type

Definition at line 186 of file l1c.h.

◆ rbands

float* rbands

Definition at line 166 of file l1c.h.

◆ res_spat

float res_spat

Definition at line 140 of file l1c.h.

◆ res_spec

float res_spec

Definition at line 141 of file l1c.h.

◆ sd_id

size_t sd_id

Definition at line 127 of file l1c.h.

◆ sday

int16_t sday

Definition at line 145 of file l1c.h.

◆ sensorID

size_t sensorID

Definition at line 138 of file l1c.h.

◆ subsensorID

size_t subsensorID

Definition at line 139 of file l1c.h.

◆ swirbands

float* swirbands

Definition at line 167 of file l1c.h.

◆ syear

int16_t syear

Definition at line 144 of file l1c.h.

◆ terrain_corrected

size_t terrain_corrected

Definition at line 177 of file l1c.h.

◆ unc_meth

size_t unc_meth

Definition at line 203 of file l1c.h.

◆ unc_thres_b

float unc_thres_b

Definition at line 206 of file l1c.h.

◆ unc_thres_p

float unc_thres_p

Definition at line 205 of file l1c.h.

◆ unc_thres_v

float unc_thres_v

Definition at line 204 of file l1c.h.

◆ view_agg

float* view_agg

Definition at line 196 of file l1c.h.

◆ views

float* views

Definition at line 163 of file l1c.h.


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