NASA Logo
Ocean Color Science Software

ocssw V2022
l1c_latlongrid.h File Reference
#include "filehandle.h"
#include "l1.h"
#include <netcdf.h>
#include <unistd.h>
#include <nc4utils.h>
#include <netcdf>
Include dependency graph for l1c_latlongrid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bin_str
 

Functions

int close_bin (bin_str *binstr)
 
int alloc_bin (bin_str *binstr)
 
int meta_l1c_grid (char *gridname, bin_str *binstr, int16_t num_gridlines, netCDF::NcFile *nc_output)
 
int meta_l1c_global (char *gridname, bin_str *binl1c, int16_t num_gridlines, netCDF::NcFile *nc_output)
 
int meta_l1c_full (filehandle *l1file, bin_str *binstr, const char *l1c_grid, netCDF::NcFile *nc_output)
 
int meta_l1c_bin (filehandle *l1file, bin_str *binstr, netCDF::NcFile *nc_output)
 
int meta_l1c_altvar (bin_str *binstr, netCDF::NcFile *nc_output)
 
int open_l1c (const char *l1c_grid, size_t *ybins, size_t *xbins, float **lat_gd, float **lon_gd)
 
int open_l1c_grid (const char *l1c_grid, bin_str *binstr, float **lat_gd, float **lon_gd, float **height_gd)
 
int search_l1c (filehandle *l1file, l1str *l1rec, bin_str *binstr, short **gdindex)
 
int search2_l1c (size_t ybins, size_t xbins, float lat, float lon, float **lat_gd, float **lon_gd, short *row, short *col)
 
int search_l1c_parallax (filehandle *l1file, float *lat_new, float *lon_new, bin_str *binl1c, short **gdindex)
 
int bin_l1c (filehandle *l1file, l1str *l1rec, bin_str *binstr, short **gdindex, netCDF::NcFile *nc_output)
 
int bintime_l1c (filehandle *l1file, l1str *l1rec, bin_str *binstr, short **gdindex, double scantime, netCDF::NcFile *nc_output)
 
int check_l1c_time (const char *l1b_file, const char *l1c_grid, bin_str *binstr)
 
int rmse_l1c_alt (filehandle *l1file, bin_str *binstr, l1str *l1rec, short **gdindex)
 
double rot_angle (double senz, double solz, double sena, double suna)
 
int parallax (filehandle *l1file, const char *l1c_anc, const char *l1c_grid, l1str *l1rec, bin_str *binl1c, short **gdindex, netCDF::NcFile *nc_output, int32_t sline, int firstcall)
 
int interp2d_l1c (netCDF::NcFile *nc_output)
 

Function Documentation

◆ alloc_bin()

int alloc_bin ( bin_str binstr)

◆ bin_l1c()

int bin_l1c ( filehandle *  l1file,
l1str *  l1rec,
bin_str binstr,
short **  gdindex,
netCDF::NcFile *  nc_output 
)

◆ bintime_l1c()

int bintime_l1c ( filehandle *  l1file,
l1str *  l1rec,
bin_str binstr,
short **  gdindex,
double  scantime,
netCDF::NcFile *  nc_output 
)

◆ check_l1c_time()

int check_l1c_time ( const char *  l1b_file,
const char *  l1c_grid,
bin_str binstr 
)

Definition at line 1880 of file l1c_latlongrid.cpp.

◆ close_bin()

int close_bin ( bin_str binstr)

◆ interp2d_l1c()

int interp2d_l1c ( netCDF::NcFile *  nc_output)

◆ meta_l1c_altvar()

int meta_l1c_altvar ( bin_str binstr,
netCDF::NcFile *  nc_output 
)

◆ meta_l1c_bin()

int meta_l1c_bin ( filehandle *  l1file,
bin_str binstr,
netCDF::NcFile *  nc_output 
)

◆ meta_l1c_full()

int meta_l1c_full ( filehandle *  l1file,
bin_str binstr,
const char *  l1c_grid,
netCDF::NcFile *  nc_output 
)

◆ meta_l1c_global()

int meta_l1c_global ( char *  gridname,
bin_str binl1c,
int16_t  num_gridlines,
netCDF::NcFile *  nc_output 
)

◆ meta_l1c_grid()

int meta_l1c_grid ( char *  gridname,
bin_str binstr,
int16_t  num_gridlines,
netCDF::NcFile *  nc_output 
)

◆ open_l1c()

int open_l1c ( const char *  l1c_grid,
size_t *  ybins,
size_t *  xbins,
float **  lat_gd,
float **  lon_gd 
)

Definition at line 1988 of file l1c_latlongrid.cpp.

◆ open_l1c_grid()

int open_l1c_grid ( const char *  l1c_grid,
bin_str binstr,
float **  lat_gd,
float **  lon_gd,
float **  height_gd 
)

Definition at line 2019 of file l1c_latlongrid.cpp.

◆ parallax()

int parallax ( filehandle *  l1file,
const char *  l1c_anc,
const char *  l1c_grid,
l1str *  l1rec,
bin_str binl1c,
short **  gdindex,
netCDF::NcFile *  nc_output,
int32_t  sline,
int  firstcall 
)

◆ rmse_l1c_alt()

int rmse_l1c_alt ( filehandle *  l1file,
bin_str binstr,
l1str *  l1rec,
short **  gdindex 
)

Definition at line 251 of file l1c_latlongrid.cpp.

◆ rot_angle()

double rot_angle ( double  senz,
double  solz,
double  sena,
double  suna 
)

Definition at line 2648 of file l1c_latlongrid.cpp.

◆ search2_l1c()

int search2_l1c ( size_t  ybins,
size_t  xbins,
float  lat,
float  lon,
float **  lat_gd,
float **  lon_gd,
short *  row,
short *  col 
)

Definition at line 2508 of file l1c_latlongrid.cpp.

◆ search_l1c()

int search_l1c ( filehandle *  l1file,
l1str *  l1rec,
bin_str binstr,
short **  gdindex 
)

Definition at line 2341 of file l1c_latlongrid.cpp.

◆ search_l1c_parallax()

int search_l1c_parallax ( filehandle *  l1file,
float *  lat_new,
float *  lon_new,
bin_str binl1c,
short **  gdindex 
)

Definition at line 2119 of file l1c_latlongrid.cpp.