ocssw
V2022
|
#include <stdint.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <libgen.h>
#include <string.h>
#include <ctype.h>
#include <netcdf.h>
#include <hdf.h>
#include <mfhdf.h>
#include <l1.h>
#include "input_struc.h"
#include "l12_parms.h"
#include "l1q_struc.h"
#include "l2_struc.h"
#include "target_struc.h"
#include "vcal_struc.h"
#include "filter.h"
#include <timeutils.h>
#include "genutils.h"
#include "aer_struc.h"
#include "l2prod.h"
#include "l2prod_struc.h"
#include "dfutils.h"
#include "allocate2d.h"
#include "epr_api.h"
#include "l2_hdf_generic.h"
#include "flags_iop.h"
#include "table_io_wrapper.h"
#include <clo.h>
#include "navigation.h"
#include "read_l3bin.h"
#include "par_utils.h"
#include "get_nitrate.h"
Go to the source code of this file.
Functions | |
int | getl1rec (int32_t recnum, int32_t dscan, l1str *l1rec) |
int | loadl1 (filehandle *l1file, l1str *l1rec) |
int | openl2 (filehandle *l2file) |
int | writel2 (filehandle *l2file, int32_t recnum, l2str *l2rec, int outfile_number) |
int | closel2 (filehandle *l2file) |
void | update_flag_cnts (int32_t *flag_cnt, int32_t *flags, int32_t nflags, int32_t npix, uint32_t init_mask) |
void | update_flag_cnts16 (int32_t *flag_cnt, int16_t *flags, int32_t nflags, int32_t npix, uint32_t init_mask) |
void | update_qual_cnts (int32_t *flag_cnt, int8_t *flags, int32_t nflags, int32_t npix) |
int | write_flag_pcnts (idDS ds_id, FILE *fpmeta, int32_t *flag_cnt, int32_t nflags, const char *const flag_lname[], int32_t numScans, int32_t numPixels) |
int | write_qual_flag_pcnts (idDS ds_id, FILE *fpmeta, int32_t *flag_cnt, int32_t nflags, const char *const flag_lname[]) |
int | open_target (filehandle *file) |
int | read_target (filehandle *file, int32_t recnum, tgstr *tgrec) |
void | close_target (void) |
int | open_aer (filehandle *file) |
int | read_aer (filehandle *file, int32_t recnum, aestr *aerec) |
void | close_aer (filehandle *file) |
void | init_l2 (l2str *l2rec, int32_t nbands) |
void | free_l1q (void) |
int32_t | alloc_l2 (l1str *l1rec, l2str *l2rec) |
void | free_l2 (l2str *l2rec) |
int32_t | alloc_target (int32_t npix, int32_t nbands, tgstr *tgrec) |
int32_t | alloc_aer (int32_t npix, int32_t nbands, aestr *aerec) |
void | init_l2prod () |
l2prodstr * | get_l2prod_index (char *name, int32_t sensorID, int32_t numBands, int32_t numPixels, int32_t numScans, int32_t *wave) |
void | write_product_XML_file (char *filename) |
int32_t | prodlist (int32_t sensorID, int32_t evalmask, const char *inprod, const char *defprod, char outprod[L1_MAXPROD][32]) |
int | convl12 (l1str *l1rec, l2str *l2rec, int32_t spix, int32_t epix, aestr *aerec) |
int | convl21 (l2str *l2rec, tgstr *tgrec, int32_t spix, int32_t epix, float *Lt, vcstr *vrec) |
int32_t | l2_seawifs (filehandle *l1file, filehandle *l2file) |
int32_t | l1b_seawifs (filehandle *l1file, filehandle *ofile, int32_t sscan, int32_t escan, int32_t dscan, int32_t spixl, int32_t epixl, int32_t dpixl) |
int32_t | get_modis_calfile (int32_t sd_id, char *file) |
void | setflagbits_l2 (l2str *l2rec, int32_t ipix) |
int | setanc (l1str *l1rec) |
int | acq_sfc_albedo (l1str *l1rec) |
int | init_cld_dat (l1str *l1rec) |
int | read_albedo (int32_t d_np, int32_t d_nl, int32_t st_lin, int32_t ix_clim, int ncid, int *d_id, unsigned char ***alb_dat) |
void | cpl1rec (l1str *l1new, l1str *l1old) |
int | b128_msk_init (char *landfile, int msknum) |
int | b128_msk_get (float lat, float lon, int msknum) |
int | dem_init () |
int | land_mask_init () |
int | land_mask (float lat, float lon) |
int | land_bath_mask (l1str *l1rec, int32_t ip) |
int | bath_mask_init (char *file) |
int | bath_mask (float lat, float lon) |
float | get_dem (float lat, float lon) |
int | get_height (l1str *l1rec, int32_t ip, int terrain_corrected) |
void | free_deminfo () |
void | lowercase (char *s) |
void | atmocor1 (l1str *l1rec, int32_t ip) |
int | atmocor2 (l2str *l2rec, aestr *aerec, int32_t ip) |
void | whitecaps (int32_t sensorID, int32_t evalmask, int32_t nwave, float ws, float ws_max, float rhof[]) |
void | rayleigh (l1str *l1rec, int32_t ip) |
int | aerosol (l2str *l2rec, int32_t aer_opt_in, aestr *aerec, int32_t ip, float wave[], int32_t nwave, int32_t nir_s_in, int32_t nir_l_in, float F0_in[], float La1_in[], float La2_out[], float t_sol_out[], float t_sen_out[], float *eps, float taua_out[], int32_t *modmin, int32_t *modmax, float *modrat, int32_t *modmin2, int32_t *modmax2, float *modrat2) |
void | gaseous_transmittance (l1str *l1rec, int32_t ip) |
float | ky_airmass (float theta) |
float | pp_airmass (float theta) |
void | get_rhown_nir (char *fqfile, float Rrs[], float wave[], int32_t nir_s, int32_t nir_l, float aw[], float bbw[], float chl, float rhown[]) |
void | get_rhown_eval (char *fqfile, float Rrs[], float wave[], int32_t nir_s, int32_t nir_l, int32_t nwave, float aw[], float bbw[], float chl, float solz, float senz, float phi, float rhown[]) |
void | get_rho_mumm (l2str *l2rec, int32_t ip, int32_t iw, float *rhom) |
void | get_rhown_mumm (l2str *l2rec, int32_t ip, int32_t nir_s, int32_t nir_l, float rhown[]) |
void | glint_rad (int32_t num_iter, int32_t nband, int32_t nir_s, int32_t nir_l, float glint_coef, float air_mass, float mu0, float F0[], float taur[], float taua[], float La[], float TLg[]) |
float | fresnel_coef (float mu, float n) |
float | fresnel_sen (float senz, int return_tf) |
void | fresnel_sol (float wave[], int32_t nwave, float solz, float ws, float brdf[], int return_tf) |
void | foqint_morel (char *file, float wave[], int32_t nwave, float solz, float senzp, float phi, float chl, float brdf[]) |
void | qint_morel (float wave[], int32_t nwave, float solz, float chl, float Qn[]) |
void | gothic_R (float wave[], int32_t nwave, float solz, float senz, float ws, float R[]) |
int | ocbrdf (l2str *l2rec, int32_t ip, int32_t brdf_opt, float wave[], int32_t nwave, float solz, float senz, float phi, float ws, float chl, float nLw[], float Fo[], float brdf[]) |
void | nlw_outband (int32_t evalmask, int32_t sensorID, float wave[], int32_t nwave, float Lw[], float nLw[], float outband_correction[]) |
int | l2gen_usage (const char *prog) |
int | msl12_input_defaults (filehandle *l1file) |
void | msl12_input_init () |
int | l2gen_init_options (clo_optionList_t *list, const char *prog) |
int | msl12_option_input (int argc, char *argv[], clo_optionList_t *list, char *progName, filehandle *l1file) |
int | msl12_input (int argc, char *argv[], const char *progName, filehandle *l1file) |
float | bin_climatology (char *l3file, int32_t day, float lon, float lat, char *prodname) |
float | get_default_chl (l2str *l2rec, float Rrs[]) |
void | get_chl (l2str *l2rec, int prodnum, float prod[]) |
void | get_las (l2str *l2rec, l2prodstr *p, float prod[]) |
void | get_tsm (l2str *l2rec, int prodnum, float prod[]) |
void | get_poc (l2str *l2rec, int prodnum, float prod[]) |
void | get_flh (l2str *l2rec, float flh[]) |
void | get_fsat (l2str *l2rec, float flh[]) |
void | get_fsat2 (l2str *l2rec, float flh[]) |
void | get_fqy (l2str *l2rec, float fqy[]) |
void | get_fqy2 (l2str *l2rec, float fqy[]) |
void | get_ipar (l2str *l2rec, float ipar[]) |
void | get_ipar2 (l2str *l2rec, float ipar[]) |
void | get_depth_classification (l2str *l2rec, float depth[]) |
void | get_par (l2str *l2rec, float par[]) |
void | get_bsi (l2str *l2rec, float BSi[]) |
void | get_ssn (l2str *l2rec, float ssn[]) |
void | get_angstrom (l2str *l2rec, int band, float angst[]) |
void | get_ms_epsilon (l2str *l2rec, float eps[]) |
void | get_es (l2str *l2rec, int band, float es[]) |
void | get_toa_refl (l2str *l2rec, int band, float rhot[]) |
void | get_dust_index (l2str *l2rec, float dust[]) |
void | get_ndvi_evi (l1str *l1rec, int prodnum, float prod[]) |
void | get_ndvi (l1str *l1rec, float ndvi[]) |
void | get_evi (l1str *l1rec, float evi[]) |
void | get_evi2 (l1str *l1rec, float evi2[]) |
void | get_evi3 (l1str *l1rec, float evi3[]) |
void | get_smoke (l2str *l2rec, float smoke[]) |
void | get_Kd (l2str *l2rec, l2prodstr *p, float Kd[]) |
void | get_photic_depth (l2str *l2rec, l2prodstr *p, float Z[]) |
void | cdom_morel (l2str *l2rec, l2prodstr *p, float prod[]) |
void | cdom_mannino (l2str *l2rec, int prodnum, float prod[]) |
void | vcal (l2str *l2rec, l2prodstr *p, float vcal[]) |
float | aw_spectra (int32_t wl, int32_t width) |
float | bbw_spectra (int32_t wl, int32_t width) |
void | get_aw_bbw (l2str *l2rec, float wave[], int nwave, float *aw, float *bbw) |
float | seawater_nsw (float wave, float sst, float sss, float *dnswds) |
float | seawater_bb (float wave, float sst, float sss, double delta) |
void | seawater_set (l1str *l1rec) |
float | seawater_get_n (int32_t ip, int32_t ib) |
float | seawater_get_a (int32_t ip, int32_t ib) |
float | seawater_get_bb (int32_t ip, int32_t ib) |
void | get_bbws (l2str *l2rec, l2prodstr *p, float prod[]) |
void | get_avw (l2str *l2rec, float avw[]) |
void | get_Rrs_brightness (l2str *l2rec, float Rrs_brightness[]) |
void | get_lambda_max (l2str *l2rec, float lambda_max[]) |
void | get_Cphyt (l2str *l2rec, float cphyt[]) |
int | atmocor1_land (l1str *l1rec, int32_t ip) |
void | polcor (l1str *l1rec, int32_t ip) |
int | get_rhos (l1str *l1rec, int32_t ip) |
int8_t * | get_qual_sst (l2str *l2rec) |
int8_t * | get_qual_sst4 (l2str *l2rec) |
int8_t * | get_qual_sst_triple (l2str *l2rec) |
int16_t * | get_flags_sst (l2str *l2rec) |
int16_t * | get_flags_sst4 (l2str *l2rec) |
int16_t * | get_flags_sst_triple (l2str *l2rec) |
float * | get_sst_dust_correction (l2str *l2rec) |
float * | get_sst (l2str *l2rec) |
float * | get_sst4 (l2str *l2rec) |
float * | get_sst_triple (l2str *l2rec) |
float * | get_bias_sst (l2str *l2rec) |
float * | get_bias_sst4 (l2str *l2rec) |
float * | get_bias_sst_triple (l2str *l2rec) |
float * | get_stdv_sst (l2str *l2rec) |
float * | get_stdv_sst4 (l2str *l2rec) |
float * | get_stdv_sst_triple (l2str *l2rec) |
float * | get_bias_mean_sst (l2str *l2rec) |
float * | get_bias_mean_sst4 (l2str *l2rec) |
float * | get_bias_mean_sst_triple (l2str *l2rec) |
int16_t * | get_counts_sst (l2str *l2rec) |
int16_t * | get_counts_sst4 (l2str *l2rec) |
int16_t * | get_counts_sst_triple (l2str *l2rec) |
float | get_sstref (short reftyp, char *file, l1str *l1rec, int32_t ip) |
float | get_sssref (char *file, float lon, float lat, int day) |
void | calcite (l2str *l2rec, l2prodstr *p, float caco3[]) |
void | tindx_morel (l2str *l2rec, int32_t ip, float *tindx) |
void | tindx_shi (l2str *l2rec, int32_t ip, float *tindx) |
float | conv_rrs_to_555 (float Rrs, float wave) |
float | water_vapor (int ib, float wv, float airmass) |
int | ice_mask_init (char *file, int year, int day, float threshold) |
char | ice_mask (float lon, float lat) |
float | ice_fraction (float lon, float lat) |
void | get_ice_frac (l2str *l2rec, float ice[]) |
void | get_tauc (l2str *l2rec, float tauc[]) |
void | get_mgiop (l2str *l2rec, l2prodstr *p, float prod[]) |
void | get_gsm (l2str *l2rec, l2prodstr *p, float prod[]) |
int16_t * | get_iter_gsm (l2str *l2rec) |
void | iops_gsm (l2str *l2rec) |
void | get_giop (l2str *l2rec, l2prodstr *p, float prod[]) |
int16_t * | get_iter_giop (l2str *l2rec) |
int16_t * | get_flags_giop (l2str *l2rec) |
void | iops_giop (l2str *l2rec) |
void | get_carder (l2str *l2rec, l2prodstr *p, float prod[]) |
int16_t * | get_flags_carder (l2str *l2rec) |
void | iops_carder (l2str *l2rec) |
void | chl_carder_empirical (l2str *l2rec, float prod[]) |
void | get_pml (l2str *l2rec, l2prodstr *p, float prod[]) |
void | iops_pml (l2str *l2rec) |
void | get_qaa (l2str *l2rec, l2prodstr *p, float prod[]) |
unsigned char * | get_flags_qaa (l2str *l2rec) |
void | iops_qaa (l2str *l2rec) |
void | get_niwa (l2str *l2rec, l2prodstr *p, float prod[]) |
void | iops_niwa (l2str *l2rec) |
int16_t * | get_flags_niwa (l2str *l2rec) |
void | iops_las (l2str *l2rec) |
int | get_bbp_qaa (l2str *l2rec, int ip, float tab_wave[], float tab_bbp[], int tab_nwave) |
int | get_bbp_las (l2str *l2rec, int ip, float tab_wave[], float tab_bbp[], int tab_nwave) |
float | get_bbp_las_eta (l2str *l2rec, int ip) |
float | get_bbp_las_eta_ksm (l2str *l2rec, int ip) |
void | get_iops (l2str *l2rec, int32_t iop_opt) |
void | set_iop_flag (float wave[], int32_t nwave, float a[], float aph[], float adg[], float bb[], float bbp[], int16_t *flag) |
float | aph_bricaud (float wave, float chl) |
float | aph_ciotti (float wave, float sf) |
float | get_aphstar (float wave, int dwave, int ftype, float proxy) |
float | rrs_above_to_below (float Rrs) |
void | optical_class (l2str *l2rec, l2prodstr *p, float prod[]) |
float * | get_class_ward_owmc (l2str *l2rec) |
float * | get_class_k_owmc (l2str *l2rec) |
float * | get_class_34k_w_owmc (l2str *l2rec) |
float | westernmost (float lon1, float lon2) |
float | easternmost (float lon1, float lon2) |
void | fctl_init (fctlstr *fctl) |
int | fctl_set (fctlstr *fctl, int32_t npix, char *fname, int32_t band, int32_t nx, int32_t ny, int32_t minfill, int32_t nbands) |
void | filter (fctlstr *fctl, l1qstr *l1que, l1str *l1rec, int32_t dscan) |
int | rdfilter (char *file, fctlstr *fctl, int32_t nbands) |
void | fdilate (l1qstr *l1que, int32_t nx, int32_t ny, int flag, char kernel[], l1str *l1rec) |
void | fclean (l1qstr *l1que, int32_t nx, int32_t ny, int flag, char kernel[], l1str *l1rec) |
void | fLTmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec) |
void | fLTRmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec) |
void | fLTmed (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec) |
void | fLTRmed (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec) |
void | fEPSmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec) |
void | fEPSiqmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec) |
void | fLTRiqmean (l1qstr *l1que, int32_t nx, int32_t ny, int ib, int32_t minfill, char kernel[], l1str *l1rec) |
void | fLTrat (l1qstr *l1que, int32_t nx, int32_t ny, l1str *l1rec) |
void | viirs_pxcvt_2uag (int, int *, int *) |
void | viirs_pxcvt_2ag (int, int *) |
void | viirs_pxcvt_agdel (int, int, int *) |
void | sunangs_ (int *iyr, int *iday, float *gmt, float *xlon, float *ylat, float *sunz, float *suna) |
int | getglint_ (float *, float *, float *, float *, float *, float *) |
int | getglint_iqu_ (float *, float *, float *, float *, float *, float *, float *, float *) |
void | get_um_prod_ (int32_t *idProd, int32_t *pix, float *val) |
void | clear_um_prod_ () |
void | get_fdiff (l2str *l2rec, float fdiff[]) |
void | get_cdom_morel (l2str *l2rec, l2prodstr *p, float prod[]) |
void | optical_water_type (l2str *l2rec, l2prodstr *p, void *vptr) |
void * | prodgen (l2prodstr *p, l2str *l2rec) |
void | virtual_constellation (l2str *l2rec, l2prodstr *p, float prod[]) |
void | bioOptBandShift (l2str *l2rec, l2prodstr *p, float prod[]) |
void | get_swim (l2str *l2rec, l2prodstr *p, float prod[]) |
void | iops_swim (l2str *l2rec) |
int | compfloat (float *x, float *y) |
void | elev_init (char *elevFilename, char *elevAuxFilename) |
float | get_elev (float lat, float lon) |
int | read_target_l3 (filehandle *file, l1str *l1rec, int32_t nbands, tgstr *tgrec) |
int | ncio_dim_siz (int, char *) |
int | ncio_grab_f_ds (int, char *, float *) |
int | ncio_grab_stdsclf_ds (int, char *, float, float *) |
float | get_mld (char *mldfile, float lon, float lat, int day) |
void | get_pft_hirata (l2str *l2rec, l2prodstr *p, float prod[]) |
void | get_pft_uitz (l2str *l2rec, l2prodstr *p, float prod[]) |
void | get_npp (l2str *l2rec, int32_t, float prod[]) |
float | chl_abi (l2str *l2rec, float nLw[]) |
void | run_raman_cor (l2str *l2rec, int ip) |
void | get_bpar (l2str *l2rec, l2prodstr *p, float prod[]) |
void | get_habs_ci (l2str *l2rec, l2prodstr *p, float ci[]) |
void | get_habs_mph (l2str *l2rec, l2prodstr *p, float mph_chl[]) |
uint8_t * | get_flags_habs_mph (l2str *l2rec) |
uint8_t * | get_flags_habs (l2str *l2rec) |
void | get_psd_ksm (l2str *l2rec, l2prodstr *p, float prod[]) |
int | get_cmp (l2str *l2rec, int prodnum, float prod[]) |
unsigned char * | get_cmp_byt (l2str *l2rec, int32_t) |
float * | giop_get_aph_pointer () |
float * | giop_get_adg_pointer () |
float * | giop_get_bbp_pointer () |
float * | giop_get_bbp_s_pointer () |
void | run_giop (l2str *l2rec) |
int | giop_ran (int recnum) |
float | first_deriv (float x[], float y[], int n) |
Variables | |
instr * | input |
Function Documentation
◆ acq_sfc_albedo()
int acq_sfc_albedo | ( | l1str * | l1rec | ) |
Definition at line 159 of file acq_sfc_albedo.c.
◆ aerosol()
int aerosol | ( | l2str * | l2rec, |
int32_t | aer_opt_in, | ||
aestr * | aerec, | ||
int32_t | ip, | ||
float | wave[], | ||
int32_t | nwave, | ||
int32_t | nir_s_in, | ||
int32_t | nir_l_in, | ||
float | F0_in[], | ||
float | La1_in[], | ||
float | La2_out[], | ||
float | t_sol_out[], | ||
float | t_sen_out[], | ||
float * | eps, | ||
float | taua_out[], | ||
int32_t * | modmin, | ||
int32_t * | modmax, | ||
float * | modrat, | ||
int32_t * | modmin2, | ||
int32_t * | modmax2, | ||
float * | modrat2 | ||
) |
◆ alloc_aer()
int32_t alloc_aer | ( | int32_t | npix, |
int32_t | nbands, | ||
aestr * | aerec | ||
) |
Definition at line 12 of file alloc_aer.c.
◆ alloc_l2()
int32_t alloc_l2 | ( | l1str * | l1rec, |
l2str * | l2rec | ||
) |
Definition at line 17 of file alloc_l2.c.
◆ alloc_target()
int32_t alloc_target | ( | int32_t | npix, |
int32_t | nbands, | ||
tgstr * | tgrec | ||
) |
Definition at line 12 of file alloc_target.c.
◆ aph_bricaud()
◆ aph_ciotti()
◆ atmocor1()
void atmocor1 | ( | l1str * | l1rec, |
int32_t | ip | ||
) |
Definition at line 38 of file atmocor1.c.
◆ atmocor1_land()
int atmocor1_land | ( | l1str * | l1rec, |
int32_t | ip | ||
) |
Definition at line 16 of file atmocor1_land.c.
◆ atmocor2()
int atmocor2 | ( | l2str * | l2rec, |
aestr * | aerec, | ||
int32_t | ip | ||
) |
Definition at line 11 of file atmocor2.c.
◆ aw_spectra()
float aw_spectra | ( | int32_t | wl, |
int32_t | width | ||
) |
Definition at line 105 of file water_spectra.c.
◆ b128_msk_get()
int b128_msk_get | ( | float | lat, |
float | lon, | ||
int | msknum | ||
) |
Definition at line 183 of file b128_msk_get.c.
◆ b128_msk_init()
int b128_msk_init | ( | char * | landfile, |
int | msknum | ||
) |
Definition at line 30 of file b128_msk_get.c.
◆ bath_mask()
int bath_mask | ( | float | lat, |
float | lon | ||
) |
Definition at line 108 of file read_mask.c.
◆ bath_mask_init()
int bath_mask_init | ( | char * | file | ) |
Definition at line 102 of file read_mask.c.
◆ bbw_spectra()
float bbw_spectra | ( | int32_t | wl, |
int32_t | width | ||
) |
Definition at line 142 of file water_spectra.c.
◆ bin_climatology()
float bin_climatology | ( | char * | l3file, |
int32_t | day, | ||
float | lon, | ||
float | lat, | ||
char * | prodname | ||
) |
Definition at line 287 of file bin_climatology.c.
◆ bioOptBandShift()
void bioOptBandShift | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 52 of file bioOptBandShift.c.
◆ calcite()
void calcite | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | caco3[] | ||
) |
◆ cdom_mannino()
void cdom_mannino | ( | l2str * | l2rec, |
int | prodnum, | ||
float | prod[] | ||
) |
Definition at line 7 of file cdom_mannino.c.
◆ cdom_morel()
void cdom_morel | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ chl_abi()
◆ chl_carder_empirical()
◆ clear_um_prod_()
void clear_um_prod_ | ( | ) |
◆ close_aer()
void close_aer | ( | filehandle * | file | ) |
◆ close_target()
void close_target | ( | void | ) |
Definition at line 37 of file target_io.c.
◆ closel2()
int closel2 | ( | filehandle * | l2file | ) |
Definition at line 1499 of file l2_generic.c.
◆ compfloat()
◆ conv_rrs_to_555()
float conv_rrs_to_555 | ( | float | Rrs, |
float | wave | ||
) |
Definition at line 17 of file convert_band.c.
◆ convl12()
int convl12 | ( | l1str * | l1rec, |
l2str * | l2rec, | ||
int32_t | spix, | ||
int32_t | epix, | ||
aestr * | aerec | ||
) |
◆ convl21()
int convl21 | ( | l2str * | l2rec, |
tgstr * | tgrec, | ||
int32_t | spix, | ||
int32_t | epix, | ||
float * | Lt, | ||
vcstr * | vrec | ||
) |
◆ cpl1rec()
◆ dem_init()
int dem_init | ( | ) |
Definition at line 43 of file read_mask.c.
◆ easternmost()
float easternmost | ( | float | lon1, |
float | lon2 | ||
) |
Definition at line 387 of file getl0scene_nav.c.
◆ elev_init()
void elev_init | ( | char * | elevFilename, |
char * | elevAuxFilename | ||
) |
◆ fclean()
void fclean | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | flag, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ fctl_init()
◆ fctl_set()
int fctl_set | ( | fctlstr * | fctl, |
int32_t | npix, | ||
char * | fname, | ||
int32_t | band, | ||
int32_t | nx, | ||
int32_t | ny, | ||
int32_t | minfill, | ||
int32_t | nbands | ||
) |
◆ fdilate()
void fdilate | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | flag, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ fEPSiqmean()
void fEPSiqmean | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | ib, | ||
int32_t | minfill, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ fEPSmean()
void fEPSmean | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | ib, | ||
int32_t | minfill, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ filter()
void filter | ( | fctlstr * | fctl, |
l1qstr * | l1que, | ||
l1str * | l1rec, | ||
int32_t | dscan | ||
) |
◆ first_deriv()
◆ fLTmean()
void fLTmean | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | ib, | ||
int32_t | minfill, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ fLTmed()
void fLTmed | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | ib, | ||
int32_t | minfill, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ fLTrat()
void fLTrat | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
l1str * | l1rec | ||
) |
◆ fLTRiqmean()
void fLTRiqmean | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | ib, | ||
int32_t | minfill, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ fLTRmean()
void fLTRmean | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | ib, | ||
int32_t | minfill, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ fLTRmed()
void fLTRmed | ( | l1qstr * | l1que, |
int32_t | nx, | ||
int32_t | ny, | ||
int | ib, | ||
int32_t | minfill, | ||
char | kernel[], | ||
l1str * | l1rec | ||
) |
◆ foqint_morel()
void foqint_morel | ( | char * | file, |
float | wave[], | ||
int32_t | nwave, | ||
float | solz, | ||
float | senzp, | ||
float | phi, | ||
float | chl, | ||
float | brdf[] | ||
) |
◆ free_deminfo()
void free_deminfo | ( | ) |
Definition at line 227 of file get_nc_height.c.
◆ free_l1q()
void free_l1q | ( | void | ) |
Definition at line 13 of file getl1rec.c.
◆ free_l2()
void free_l2 | ( | l2str * | l2rec | ) |
Definition at line 7 of file alloc_l2.c.
◆ fresnel_coef()
◆ fresnel_sen()
◆ fresnel_sol()
void fresnel_sol | ( | float | wave[], |
int32_t | nwave, | ||
float | solz, | ||
float | ws, | ||
float | brdf[], | ||
int | return_tf | ||
) |
◆ gaseous_transmittance()
void gaseous_transmittance | ( | l1str * | l1rec, |
int32_t | ip | ||
) |
Definition at line 450 of file gas_trans.c.
◆ get_angstrom()
void get_angstrom | ( | l2str * | l2rec, |
int | band, | ||
float | angst[] | ||
) |
◆ get_aphstar()
float get_aphstar | ( | float | wave, |
int | dwave, | ||
int | ftype, | ||
float | proxy | ||
) |
◆ get_avw()
◆ get_aw_bbw()
void get_aw_bbw | ( | l2str * | l2rec, |
float | wave[], | ||
int | nwave, | ||
float * | aw, | ||
float * | bbw | ||
) |
Definition at line 179 of file water_spectra.c.
◆ get_bbp_las()
int get_bbp_las | ( | l2str * | l2rec, |
int | ip, | ||
float | tab_wave[], | ||
float | tab_bbp[], | ||
int | tab_nwave | ||
) |
◆ get_bbp_las_eta()
◆ get_bbp_las_eta_ksm()
float get_bbp_las_eta_ksm | ( | l2str * | l2rec, |
int | ip | ||
) |
Definition at line 745 of file las_iop_ksm.c.
◆ get_bbp_qaa()
int get_bbp_qaa | ( | l2str * | l2rec, |
int | ip, | ||
float | tab_wave[], | ||
float | tab_bbp[], | ||
int | tab_nwave | ||
) |
◆ get_bbws()
void get_bbws | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
function to return spectral slope parameter for bbw
- Parameters
-
l2rec l2rec structure p product sturcture prod output bbw slope parameter
The slope is computed on the log transformed data for the visible wavelengths only. This works, because bbw can be approximated by a power function.
Definition at line 254 of file seawater.c.
◆ get_bias_mean_sst()
◆ get_bias_mean_sst4()
◆ get_bias_mean_sst_triple()
◆ get_bias_sst()
◆ get_bias_sst4()
◆ get_bias_sst_triple()
◆ get_bpar()
void get_bpar | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 482 of file get_bpar.c.
◆ get_bsi()
void get_bsi | ( | l2str * | l2rec, |
float | BSi[] | ||
) |
◆ get_carder()
void get_carder | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ get_cdom_morel()
void get_cdom_morel | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 319 of file cdom_morel.c.
◆ get_chl()
◆ get_class_34k_w_owmc()
float* get_class_34k_w_owmc | ( | l2str * | l2rec | ) |
Definition at line 214 of file get_owmc.c.
◆ get_class_k_owmc()
float* get_class_k_owmc | ( | l2str * | l2rec | ) |
Definition at line 209 of file get_owmc.c.
◆ get_class_ward_owmc()
float* get_class_ward_owmc | ( | l2str * | l2rec | ) |
Definition at line 204 of file get_owmc.c.
◆ get_cmp()
◆ get_cmp_byt()
unsigned char* get_cmp_byt | ( | l2str * | l2rec, |
int32_t | |||
) |
◆ get_counts_sst()
◆ get_counts_sst4()
◆ get_counts_sst_triple()
◆ get_Cphyt()
void get_Cphyt | ( | l2str * | l2rec, |
float | cphyt[] | ||
) |
Definition at line 19 of file get_Cphyt.c.
◆ get_default_chl()
◆ get_dem()
float get_dem | ( | float | lat, |
float | lon | ||
) |
Definition at line 112 of file read_mask.c.
◆ get_depth_classification()
void get_depth_classification | ( | l2str * | l2rec, |
float | depth[] | ||
) |
Definition at line 20 of file get_depth_classification.c.
◆ get_dust_index()
void get_dust_index | ( | l2str * | l2rec, |
float | dust[] | ||
) |
◆ get_elev()
◆ get_es()
void get_es | ( | l2str * | l2rec, |
int | band, | ||
float | Es[] | ||
) |
◆ get_evi()
void get_evi | ( | l1str * | l1rec, |
float | evi[] | ||
) |
Definition at line 63 of file get_ndvi.c.
◆ get_evi2()
void get_evi2 | ( | l1str * | l1rec, |
float | evi2[] | ||
) |
Definition at line 122 of file get_ndvi.c.
◆ get_evi3()
void get_evi3 | ( | l1str * | l1rec, |
float | evi3[] | ||
) |
Definition at line 156 of file get_ndvi.c.
◆ get_fdiff()
void get_fdiff | ( | l2str * | l2rec, |
float | fdiff[] | ||
) |
◆ get_flags_carder()
◆ get_flags_giop()
◆ get_flags_habs()
uint8_t* get_flags_habs | ( | l2str * | l2rec | ) |
Definition at line 673 of file get_habs.c.
◆ get_flags_habs_mph()
uint8_t* get_flags_habs_mph | ( | l2str * | l2rec | ) |
Definition at line 356 of file get_habs.c.
◆ get_flags_niwa()
int16_t* get_flags_niwa | ( | l2str * | l2rec | ) |
Definition at line 99 of file get_niwa_iop.c.
◆ get_flags_qaa()
◆ get_flags_sst()
◆ get_flags_sst4()
◆ get_flags_sst_triple()
◆ get_flh()
void get_flh | ( | l2str * | l2rec, |
float | flh[] | ||
) |
get_flh - computes fluorescence line height for MODIS, MERIS, OLCI and OCI computation based on Lw measurements
- Parameters
-
l2rec flh
the flh algorithm requires nLw values from 667, 678 and 748nm
if the pixel is already masked, or any of the input Lw values are less than -0.01, set the PRODFAIL flag and move along
Lw,f (Behrenfeld et al.[2009] equation A2 and A3)
bias correction as per Behrenfeld et al. [2009]
Definition at line 131 of file fluorescence.c.
◆ get_fqy()
void get_fqy | ( | l2str * | l2rec, |
float | fqy[] | ||
) |
get_fqy - function to return fluorescence quantum yield for the MODIS, MERIS, OLCI and OCI instruments internally calls the calc_fsat and get_ipar functions
- Parameters
-
l2rec fqy
Definition at line 239 of file fluorescence.c.
◆ get_fqy2()
void get_fqy2 | ( | l2str * | l2rec, |
float | fqy[] | ||
) |
◆ get_fsat()
void get_fsat | ( | l2str * | l2rec, |
float | flh[] | ||
) |
get_flh - computes normalized fluorescence line height for MODIS, MERIS, OLCI and OCI computation based on nLw measurements (thus the normalized moniker)
- Parameters
-
l2rec flh
the nflh algorithm requires nLw values from 665, 680 and 709nm
if the pixel is already masked, or any of the input nLw values are less than -0.01, set the PRODFAIL flag and move along
fsat (Behrenfeld et al.[2009] equation A2)
bias correction as per Behrenfeld et al.
Definition at line 35 of file fluorescence.c.
◆ get_fsat2()
void get_fsat2 | ( | l2str * | l2rec, |
float | flh[] | ||
) |
◆ get_giop()
void get_giop | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ get_gsm()
◆ get_habs_ci()
void get_habs_ci | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | ci[] | ||
) |
Definition at line 81 of file get_habs.c.
◆ get_habs_mph()
void get_habs_mph | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | mph_chl[] | ||
) |
Definition at line 261 of file get_habs.c.
◆ get_height()
int get_height | ( | l1str * | l1rec, |
int32_t | ip, | ||
int | terrain_corrected | ||
) |
Load DEM height for one pixel
- Parameters
-
[in] demfile [in,out] l1str [in] ip [in] terrain_corrected
- Returns
Definition at line 31 of file get_height.c.
◆ get_ice_frac()
void get_ice_frac | ( | l2str * | l2rec, |
float | ice[] | ||
) |
Definition at line 17 of file get_ice_frac.c.
◆ get_iops()
◆ get_ipar()
◆ get_ipar2()
void get_ipar2 | ( | l2str * | l2rec, |
float | ipar[] | ||
) |
◆ get_iter_giop()
◆ get_iter_gsm()
◆ get_Kd()
◆ get_l2prod_index()
l2prodstr* get_l2prod_index | ( | char * | name, |
int32_t | sensorID, | ||
int32_t | numBands, | ||
int32_t | numPixels, | ||
int32_t | numScans, | ||
int32_t * | wave | ||
) |
◆ get_lambda_max()
◆ get_las()
void get_las | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ get_mgiop()
void get_mgiop | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ get_mld()
float get_mld | ( | char * | mldfile, |
float | lon, | ||
float | lat, | ||
int | day | ||
) |
Definition at line 347 of file get_mld.cpp.
◆ get_modis_calfile()
int32_t get_modis_calfile | ( | int32_t | sd_id, |
char * | file | ||
) |
◆ get_ms_epsilon()
◆ get_ndvi()
void get_ndvi | ( | l1str * | l1rec, |
float | ndvi[] | ||
) |
Definition at line 31 of file get_ndvi.c.
◆ get_ndvi_evi()
void get_ndvi_evi | ( | l1str * | l1rec, |
int | prodnum, | ||
float | prod[] | ||
) |
Definition at line 203 of file get_ndvi.c.
◆ get_niwa()
void get_niwa | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 67 of file get_niwa_iop.c.
◆ get_npp()
void get_npp | ( | l2str * | l2rec, |
int32_t | , | ||
float | prod[] | ||
) |
◆ get_par()
◆ get_pft_hirata()
void get_pft_hirata | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 145 of file get_pft_hirata.c.
◆ get_pft_uitz()
void get_pft_uitz | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 387 of file get_pft_uitz.c.
◆ get_photic_depth()
void get_photic_depth | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | Z[] | ||
) |
Definition at line 303 of file photic_depth.c.
◆ get_pml()
void get_pml | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ get_poc()
◆ get_psd_ksm()
void get_psd_ksm | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 432 of file get_psd_ksm.c.
◆ get_qaa()
void get_qaa | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ get_qual_sst()
◆ get_qual_sst4()
◆ get_qual_sst_triple()
◆ get_rho_mumm()
void get_rho_mumm | ( | l2str * | l2rec, |
int32_t | ip, | ||
int32_t | iw, | ||
float * | rhom | ||
) |
◆ get_rhos()
int get_rhos | ( | l1str * | l1rec, |
int32_t | ip | ||
) |
Definition at line 23 of file get_rhos.c.
◆ get_rhown_eval()
void get_rhown_eval | ( | char * | fqfile, |
float | Rrs[], | ||
float | wave[], | ||
int32_t | nir_s, | ||
int32_t | nir_l, | ||
int32_t | nwave, | ||
float | aw[], | ||
float | bbw[], | ||
float | chl, | ||
float | solz, | ||
float | senz, | ||
float | phi, | ||
float | rhown[] | ||
) |
Definition at line 218 of file get_rhown_nir.c.
◆ get_rhown_mumm()
void get_rhown_mumm | ( | l2str * | l2rec, |
int32_t | ip, | ||
int32_t | nir_s, | ||
int32_t | nir_l, | ||
float | rhown[] | ||
) |
◆ get_rhown_nir()
void get_rhown_nir | ( | char * | fqfile, |
float | Rrs[], | ||
float | wave[], | ||
int32_t | nir_s, | ||
int32_t | nir_l, | ||
float | aw[], | ||
float | bbw[], | ||
float | chl, | ||
float | rhown[] | ||
) |
◆ get_Rrs_brightness()
void get_Rrs_brightness | ( | l2str * | l2rec, |
float | Rrs_brightness[] | ||
) |
◆ get_smoke()
void get_smoke | ( | l2str * | l2rec, |
float | smoke[] | ||
) |
Definition at line 20 of file get_smoke.c.
◆ get_ssn()
void get_ssn | ( | l2str * | l2rec, |
float | ssn[] | ||
) |
◆ get_sssref()
float get_sssref | ( | char * | file, |
float | lon, | ||
float | lat, | ||
int | day | ||
) |
◆ get_sst()
◆ get_sst4()
◆ get_sst_dust_correction()
◆ get_sst_triple()
◆ get_sstref()
float get_sstref | ( | short | reftyp, |
char * | file, | ||
l1str * | l1rec, | ||
int32_t | ip | ||
) |
◆ get_stdv_sst()
◆ get_stdv_sst4()
◆ get_stdv_sst_triple()
◆ get_swim()
◆ get_tauc()
void get_tauc | ( | l2str * | l2rec, |
float | tauc[] | ||
) |
◆ get_toa_refl()
void get_toa_refl | ( | l2str * | l2rec, |
int | band, | ||
float | rhot[] | ||
) |
Definition at line 19 of file get_toa_refl.c.
◆ get_tsm()
void get_tsm | ( | l2str * | l2rec, |
int | prodnum, | ||
float | prod[] | ||
) |
◆ get_um_prod_()
void get_um_prod_ | ( | int32_t * | idProd, |
int32_t * | pix, | ||
float * | val | ||
) |
◆ getglint_()
int getglint_ | ( | float * | , |
float * | , | ||
float * | , | ||
float * | , | ||
float * | , | ||
float * | |||
) |
◆ getglint_iqu_()
int getglint_iqu_ | ( | float * | , |
float * | , | ||
float * | , | ||
float * | , | ||
float * | , | ||
float * | , | ||
float * | , | ||
float * | |||
) |
◆ getl1rec()
int getl1rec | ( | int32_t | recnum, |
int32_t | dscan, | ||
l1str * | l1rec | ||
) |
Definition at line 119 of file getl1rec.c.
◆ giop_get_adg_pointer()
◆ giop_get_aph_pointer()
◆ giop_get_bbp_pointer()
◆ giop_get_bbp_s_pointer()
◆ giop_ran()
◆ glint_rad()
void glint_rad | ( | int32_t | num_iter, |
int32_t | nband, | ||
int32_t | nir_s, | ||
int32_t | nir_l, | ||
float | glint_coef, | ||
float | air_mass, | ||
float | mu0, | ||
float | F0[], | ||
float | taur[], | ||
float | taua[], | ||
float | La[], | ||
float | TLg[] | ||
) |
◆ gothic_R()
void gothic_R | ( | float | wave[], |
int32_t | nwave, | ||
float | solz, | ||
float | senz, | ||
float | ws, | ||
float | R[] | ||
) |
◆ ice_fraction()
float ice_fraction | ( | float | lon, |
float | lat | ||
) |
function to return the ice fraction
- Parameters
-
lon longitude of interest lat latitude of interest
- Returns
- ice fraction coverage at this position (range of 0 to 1)
Definition at line 1018 of file ice_mask.c.
◆ ice_mask()
char ice_mask | ( | float | lon, |
float | lat | ||
) |
Get the ice mask at this location. 1=ice, 0=water
- Parameters
-
lon longitude of interest lat latitude of interest
- Returns
- 1 if icefrac above ice threshold else return 0
Definition at line 993 of file ice_mask.c.
◆ ice_mask_init()
int ice_mask_init | ( | char * | file, |
int | year, | ||
int | day, | ||
float | threshold | ||
) |
Definition at line 900 of file ice_mask.c.
◆ init_cld_dat()
int init_cld_dat | ( | l1str * | l1rec | ) |
Definition at line 4 of file acq_sfc_albedo.c.
◆ init_l2()
◆ init_l2prod()
void init_l2prod | ( | ) |
Definition at line 222 of file get_l2prod_index.c.
◆ iops_carder()
◆ iops_giop()
◆ iops_gsm()
◆ iops_las()
◆ iops_niwa()
void iops_niwa | ( | l2str * | l2rec | ) |
Definition at line 109 of file get_niwa_iop.c.
◆ iops_pml()
◆ iops_qaa()
◆ iops_swim()
◆ ky_airmass()
◆ l1b_seawifs()
int32_t l1b_seawifs | ( | filehandle * | l1file, |
filehandle * | ofile, | ||
int32_t | sscan, | ||
int32_t | escan, | ||
int32_t | dscan, | ||
int32_t | spixl, | ||
int32_t | epixl, | ||
int32_t | dpixl | ||
) |
◆ l2_seawifs()
int32_t l2_seawifs | ( | filehandle * | l1file, |
filehandle * | l2file | ||
) |
◆ l2gen_init_options()
int l2gen_init_options | ( | clo_optionList_t * | list, |
const char * | prog | ||
) |
add all of the accepted command line options to list
Definition at line 667 of file msl12_input.c.
◆ l2gen_usage()
int l2gen_usage | ( | const char * | prog | ) |
Definition at line 4254 of file msl12_input.c.
◆ land_bath_mask()
int land_bath_mask | ( | l1str * | l1rec, |
int32_t | ip | ||
) |
Definition at line 125 of file read_mask.c.
◆ land_mask()
int land_mask | ( | float | lat, |
float | lon | ||
) |
Definition at line 80 of file read_mask.c.
◆ land_mask_init()
int land_mask_init | ( | ) |
Definition at line 23 of file read_mask.c.
◆ loadl1()
◆ lowercase()
void lowercase | ( | char * | s | ) |
◆ msl12_input()
int msl12_input | ( | int | argc, |
char * | argv[], | ||
const char * | progName, | ||
filehandle * | l1file | ||
) |
Definition at line 4201 of file msl12_input.c.
◆ msl12_input_defaults()
int msl12_input_defaults | ( | filehandle * | l1file | ) |
Definition at line 4225 of file msl12_input.c.
◆ msl12_input_init()
void msl12_input_init | ( | ) |
Definition at line 485 of file msl12_input.c.
◆ msl12_option_input()
int msl12_option_input | ( | int | argc, |
char * | argv[], | ||
clo_optionList_t * | list, | ||
char * | progName, | ||
filehandle * | l1file | ||
) |
◆ ncio_dim_siz()
◆ ncio_grab_f_ds()
◆ ncio_grab_stdsclf_ds()
◆ nlw_outband()
void nlw_outband | ( | int32_t | evalmask, |
int32_t | sensorID, | ||
float | wave[], | ||
int32_t | nwave, | ||
float | Lw[], | ||
float | nLw[], | ||
float | outband_correction[] | ||
) |
Definition at line 3 of file nlw_outband.c.
◆ ocbrdf()
int ocbrdf | ( | l2str * | l2rec, |
int32_t | ip, | ||
int32_t | brdf_opt, | ||
float | wave[], | ||
int32_t | nwave, | ||
float | solz, | ||
float | senz, | ||
float | phi, | ||
float | ws, | ||
float | chl, | ||
float | nLw[], | ||
float | Fo[], | ||
float | brdf[] | ||
) |
◆ open_aer()
◆ open_target()
int open_target | ( | filehandle * | file | ) |
Definition at line 79 of file target_io.c.
◆ openl2()
int openl2 | ( | filehandle * | l2file | ) |
Definition at line 222 of file l2_generic.c.
◆ optical_class()
void optical_class | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ optical_water_type()
void optical_water_type | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
void * | vptr | ||
) |
◆ polcor()
◆ pp_airmass()
◆ prodgen()
◆ prodlist()
int32_t prodlist | ( | int32_t | sensorID, |
int32_t | evalmask, | ||
const char * | inprod, | ||
const char * | defprod, | ||
char | outprod[L1_MAXPROD][32] | ||
) |
◆ qint_morel()
void qint_morel | ( | float | wave[], |
int32_t | nwave, | ||
float | solz, | ||
float | chl, | ||
float | Qn[] | ||
) |
◆ rayleigh()
void rayleigh | ( | l1str * | l1rec, |
int32_t | ip | ||
) |
Definition at line 130 of file rayleigh.c.
◆ rdfilter()
int rdfilter | ( | char * | file, |
fctlstr * | fctl, | ||
int32_t | nbands | ||
) |
◆ read_aer()
int read_aer | ( | filehandle * | file, |
int32_t | recnum, | ||
aestr * | aerec | ||
) |
◆ read_albedo()
int read_albedo | ( | int32_t | d_np, |
int32_t | d_nl, | ||
int32_t | st_lin, | ||
int32_t | ix_clim, | ||
int | ncid, | ||
int * | d_id, | ||
unsigned char *** | alb_dat | ||
) |
Definition at line 52 of file acq_sfc_albedo.c.
◆ read_target()
int read_target | ( | filehandle * | file, |
int32_t | recnum, | ||
tgstr * | tgrec | ||
) |
Definition at line 105 of file target_io.c.
◆ read_target_l3()
int read_target_l3 | ( | filehandle * | file, |
l1str * | l1rec, | ||
int32_t | nbands, | ||
tgstr * | tgrec | ||
) |
read_target_l3 - loads a vicarous calibration target record, applying band shifting if necessary
- Parameters
-
file - filehandle structure for L3 bin target file l1rec nbands tgrec
- Returns
Definition at line 209 of file target_io.c.
◆ rrs_above_to_below()
◆ run_giop()
◆ run_raman_cor()
◆ seawater_bb()
float seawater_bb | ( | float | wave, |
float | sst, | ||
float | sss, | ||
double | delta | ||
) |
Definition at line 176 of file seawater.c.
◆ seawater_get_a()
float seawater_get_a | ( | int32_t | ip, |
int32_t | ib | ||
) |
Definition at line 21 of file seawater_get.c.
◆ seawater_get_bb()
float seawater_get_bb | ( | int32_t | ip, |
int32_t | ib | ||
) |
Definition at line 25 of file seawater_get.c.
◆ seawater_get_n()
float seawater_get_n | ( | int32_t | ip, |
int32_t | ib | ||
) |
Definition at line 17 of file seawater_get.c.
◆ seawater_nsw()
float seawater_nsw | ( | float | wave, |
float | sst, | ||
float | sss, | ||
float * | dnswds | ||
) |
Definition at line 8 of file seawater.c.
◆ seawater_set()
void seawater_set | ( | l1str * | l1rec | ) |
Definition at line 8 of file seawater_get.c.
◆ set_iop_flag()
void set_iop_flag | ( | float | wave[], |
int32_t | nwave, | ||
float | a[], | ||
float | aph[], | ||
float | adg[], | ||
float | bb[], | ||
float | bbp[], | ||
int16_t * | flag | ||
) |
◆ setanc()
◆ setflagbits_l2()
void setflagbits_l2 | ( | l2str * | l2rec, |
int32_t | ipix | ||
) |
Definition at line 14 of file setflags_l2.c.
◆ sunangs_()
void sunangs_ | ( | int * | iyr, |
int * | iday, | ||
float * | gmt, | ||
float * | xlon, | ||
float * | ylat, | ||
float * | sunz, | ||
float * | suna | ||
) |
◆ tindx_morel()
void tindx_morel | ( | l2str * | l2rec, |
int32_t | ip, | ||
float * | tindx | ||
) |
◆ tindx_shi()
◆ update_flag_cnts()
void update_flag_cnts | ( | int32_t * | flag_cnt, |
int32_t * | flags, | ||
int32_t | nflags, | ||
int32_t | npix, | ||
uint32_t | init_mask | ||
) |
Definition at line 1546 of file l2_generic.c.
◆ update_flag_cnts16()
void update_flag_cnts16 | ( | int32_t * | flag_cnt, |
int16_t * | flags, | ||
int32_t | nflags, | ||
int32_t | npix, | ||
uint32_t | init_mask | ||
) |
Definition at line 1561 of file l2_generic.c.
◆ update_qual_cnts()
void update_qual_cnts | ( | int32_t * | flag_cnt, |
int8_t * | flags, | ||
int32_t | nflags, | ||
int32_t | npix | ||
) |
Definition at line 1576 of file l2_generic.c.
◆ vcal()
◆ viirs_pxcvt_2ag()
void viirs_pxcvt_2ag | ( | int | , |
int * | |||
) |
Definition at line 62 of file viirs_pxcvt.c.
◆ viirs_pxcvt_2uag()
void viirs_pxcvt_2uag | ( | int | , |
int * | , | ||
int * | |||
) |
Definition at line 11 of file viirs_pxcvt.c.
◆ viirs_pxcvt_agdel()
void viirs_pxcvt_agdel | ( | int | , |
int | , | ||
int * | |||
) |
Definition at line 106 of file viirs_pxcvt.c.
◆ virtual_constellation()
void virtual_constellation | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
Definition at line 296 of file virtual_constellation.c.
◆ water_vapor()
float water_vapor | ( | int | ib, |
float | wv, | ||
float | airmass | ||
) |
Definition at line 4 of file water_vapor.c.
◆ westernmost()
float westernmost | ( | float | lon1, |
float | lon2 | ||
) |
Definition at line 380 of file getl0scene_nav.c.
◆ whitecaps()
void whitecaps | ( | int32_t | sensorID, |
int32_t | evalmask, | ||
int32_t | nwave, | ||
float | ws, | ||
float | ws_max, | ||
float | rhof[] | ||
) |
Definition at line 51 of file whitecaps.c.
◆ write_flag_pcnts()
int write_flag_pcnts | ( | idDS | ds_id, |
FILE * | fpmeta, | ||
int32_t * | flag_cnt, | ||
int32_t | nflags, | ||
const char *const | flag_lname[], | ||
int32_t | numScans, | ||
int32_t | numPixels | ||
) |
Definition at line 1591 of file l2_generic.c.
◆ write_product_XML_file()
void write_product_XML_file | ( | char * | filename | ) |
Definition at line 505 of file get_l2prod_index.c.
◆ write_qual_flag_pcnts()
int write_qual_flag_pcnts | ( | idDS | ds_id, |
FILE * | fpmeta, | ||
int32_t * | flag_cnt, | ||
int32_t | nflags, | ||
const char *const | flag_lname[] | ||
) |
Definition at line 1611 of file l2_generic.c.
◆ writel2()
int writel2 | ( | filehandle * | l2file, |
int32_t | recnum, | ||
l2str * | l2rec, | ||
int | outfile_number | ||
) |
Definition at line 988 of file l2_generic.c.
Variable Documentation
◆ input
instr* input |
Definition at line 27 of file main_l2binmatch.cpp.