ocssw
V2022
|
#include <allocate2d.h>
#include <allocate3d.h>
#include "allocate4d.h"
#include <iostream>
#include <chrono>
#include <sys/stat.h>
#include <genutils.h>
#include "l1c_latlongrid.h"
#include <netcdf>
#include <GeographicLib/Geodesic.hpp>
#include <GeographicLib/Constants.hpp>
#include <GeographicLib/Rhumb.hpp>
#include <fstream>
#include <string>
Go to the source code of this file.
Functions | |
int | rmse_l1c_alt (filehandle *l1file, bin_str *binl1c, l1str *l1rec, short **gdindex) |
int | meta_l1c_altvar (bin_str *binl1c, NcFile *nc_output) |
int | meta_l1c_bin (filehandle *l1file, bin_str *binl1c, NcFile *nc_output) |
int | meta_l1c_full (filehandle *l1file, bin_str *binl1c, const char *l1c_grid, NcFile *nc_output) |
int | meta_l1c_grid (char *gridname, bin_str *binl1c, int16_t num_gridlines, NcFile *nc_output) |
int | meta_l1c_global (char *gridname, bin_str *binl1c, int16_t num_gridlines, NcFile *nc_output) |
int | bintime_l1c (filehandle *l1file, l1str *l1rec, bin_str *binstr, short **gdindex, double scantime, NcFile *nc_output) |
int | parallax (filehandle *l1file, const char *l1c_anc, const char *l1c_grid, l1str *l1rec, bin_str *binl1c, short **gdindex, NcFile *nc_output, int32_t sline, int firstcall) |
int | bin_l1c (filehandle *l1file, l1str *l1rec, bin_str *binl1c, short **gdindex, NcFile *nc_output) |
int | check_l1c_time (const char *l1b_file, const char *l1c_grid, bin_str *binl1c) |
int | open_l1c (const char *ifile_l1c, size_t *ybins, size_t *xbins, float **lat_gd, float **lon_gd) |
int | open_l1c_grid (const char *ifile_l1c, bin_str *binl1c, float **lat_gd, float **lon_gd, float **alt_gd) |
double | search_calc_dotprod (bin_str *binl1c, float bvec[3], int32_t gridline) |
int | search_l1c_parallax (filehandle *l1file, float *lat_new, float *lon_new, bin_str *binl1c, short **gdindex) |
int | search_l1c (filehandle *l1file, l1str *l1rec, bin_str *binl1c, 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) |
double | rot_angle (double senz, double solz, double sena, double suna) |
Function Documentation
◆ bin_l1c()
int bin_l1c | ( | filehandle * | l1file, |
l1str * | l1rec, | ||
bin_str * | binl1c, | ||
short ** | gdindex, | ||
NcFile * | nc_output | ||
) |
Definition at line 1666 of file l1c_latlongrid.cpp.
◆ bintime_l1c()
int bintime_l1c | ( | filehandle * | l1file, |
l1str * | l1rec, | ||
bin_str * | binstr, | ||
short ** | gdindex, | ||
double | scantime, | ||
NcFile * | nc_output | ||
) |
Definition at line 1447 of file l1c_latlongrid.cpp.
◆ check_l1c_time()
Definition at line 1880 of file l1c_latlongrid.cpp.
◆ meta_l1c_altvar()
int meta_l1c_altvar | ( | bin_str * | binl1c, |
NcFile * | nc_output | ||
) |
Definition at line 275 of file l1c_latlongrid.cpp.
◆ meta_l1c_bin()
int meta_l1c_bin | ( | filehandle * | l1file, |
bin_str * | binl1c, | ||
NcFile * | nc_output | ||
) |
Definition at line 326 of file l1c_latlongrid.cpp.
◆ meta_l1c_full()
int meta_l1c_full | ( | filehandle * | l1file, |
bin_str * | binl1c, | ||
const char * | l1c_grid, | ||
NcFile * | nc_output | ||
) |
Definition at line 529 of file l1c_latlongrid.cpp.
◆ meta_l1c_global()
int meta_l1c_global | ( | char * | gridname, |
bin_str * | binl1c, | ||
int16_t | num_gridlines, | ||
NcFile * | nc_output | ||
) |
Definition at line 1077 of file l1c_latlongrid.cpp.
◆ meta_l1c_grid()
int meta_l1c_grid | ( | char * | gridname, |
bin_str * | binl1c, | ||
int16_t | num_gridlines, | ||
NcFile * | nc_output | ||
) |
Definition at line 913 of file l1c_latlongrid.cpp.
◆ open_l1c()
int open_l1c | ( | const char * | ifile_l1c, |
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 * | ifile_l1c, |
bin_str * | binl1c, | ||
float ** | lat_gd, | ||
float ** | lon_gd, | ||
float ** | alt_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, | ||
NcFile * | nc_output, | ||
int32_t | sline, | ||
int | firstcall | ||
) |
Definition at line 1513 of file l1c_latlongrid.cpp.
◆ rmse_l1c_alt()
int rmse_l1c_alt | ( | filehandle * | l1file, |
bin_str * | binl1c, | ||
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_calc_dotprod()
double search_calc_dotprod | ( | bin_str * | binl1c, |
float | bvec[3], | ||
int32_t | gridline | ||
) |
Definition at line 2058 of file l1c_latlongrid.cpp.
◆ search_l1c()
int search_l1c | ( | filehandle * | l1file, |
l1str * | l1rec, | ||
bin_str * | binl1c, | ||
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.