|
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 <uncertainty.h>#include "read_l3bin.h"#include "par_utils.h"#include "get_nitrate.h"#include "get_ctht.h"#include "get_ndvi.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 (const 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 | acq_cth_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, float *mbac_w) |
| 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[], float dRrs[], float dchl, float drhown[]) |
| 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[], l2str *l2rec, int32_t ip) |
| 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[], uncertainty_t *errstr) |
| 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, l2prodstr *p, float prod[]) |
| float | poc_stramski_hybrid (float *Rrs, int32_t sensorID) |
| 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_par_scalar (l2str *l2rec, float par[]) |
| void | get_par_below_surface (l2str *l2rec, float par[]) |
| void | get_mu_cosine (l2str *l2rec, float mu[]) |
| void | get_ipar2 (l2str *l2rec, float ipar[]) |
| void | get_ipar_below_surface (l2str *l2rec, float ipar[]) |
| void | get_depth_classification (l2str *l2rec, float depth[]) |
| void | get_par (l2str *l2rec, float par[]) |
| void | get_par2 (l2str *l2rec, float par[]) |
| void | get_ipar_scalar (l2str *l2rec, float ipar[]) |
| void | get_taucld (l2str *l2rec, float taucld[]) |
| void | get_clfr (l2str *l2rec, float clfr[]) |
| 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 (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_cci (l1str *l1rec, float cci[]) |
| void | get_ndii (l1str *l1rec, float ndii[]) |
| void | get_ndsi (l1str *l1rec, float ndsi[]) |
| void | get_ndwi (l1str *l1rec, float ndwi[]) |
| int | get_hyper_vi (l1str *l1rec, int product_number, float product[]) |
| 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[]) |
| void | get_Cpicophyt (l2str *l2rec, l2prodstr *p, float *cell_abundance) |
| 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 dRrs_in, float *dRrs_out) |
| 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 () |
| float * | giop_get_ubbp_s_pointer () |
| float * | giop_get_a_unc_pointer () |
| float * | giop_get_bb_unc_pointer () |
| void | run_giop (l2str *l2rec) |
| int | giop_ran (int recnum) |
| float | first_deriv (float x[], float y[], int n) |
| void | gas_trans_uncertainty (l1str *l1rec) |
| int | noise_index_oci (float wave) |
| void | noise_model_ocis (l1str *l1rec, float *noise) |
| void | noise_model_hmodisa (l1str *l1rec, float *noise) |
| void | noise_model_hmodist (l1str *l1rec, float *noise) |
| void | lt_agregat_ocis (l1str *l1rec) |
| float * | get_uncertainty (l1str *l1rec) |
| void | Kd490_unc (l2str *l2rec, int32_t ip) |
| void | get_unc_fsat (l2str *l2rec, float uflh[]) |
| float | get_aphstar_pderiv (float wave, int dwave, int ftype, float proxy) |
| void | get_Cphyt_unc (l2str *l2rec, float cphyt_unc[]) |
| void | get_sdp (l2str *l2rec, l2prodstr *p, float prod[]) |
Variables | |
| instr * | input |
Function Documentation
◆ acq_cth_albedo()
| int acq_cth_albedo | ( | l1str * | l1rec | ) |
Definition at line 520 of file acq_sfc_albedo.c.
◆ acq_sfc_albedo()
| int acq_sfc_albedo | ( | l1str * | l1rec | ) |
Definition at line 176 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, | ||
| float * | mbac_w | ||
| ) |
◆ 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 20 of file atmocor1_land.c.
◆ atmocor2()
| int atmocor2 | ( | l2str * | l2rec, |
| aestr * | aerec, | ||
| int32_t | ip | ||
| ) |
used for calculation cov(Rrs1,Rrs2)=F1.cov(X1,X2).F2
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 1440 of file l2_generic.c.
◆ compfloat()
◆ conv_rrs_to_555()
| float conv_rrs_to_555 | ( | float | Rrs, |
| float | wave, | ||
| float | dRrs_in, | ||
| float * | dRrs_out | ||
| ) |
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 | ||
| ) |
◆ gas_trans_uncertainty()
| void gas_trans_uncertainty | ( | l1str * | l1rec | ) |
Definition at line 742 of file gas_trans.c.
◆ gaseous_transmittance()
| void gaseous_transmittance | ( | l1str * | l1rec, |
| int32_t | ip | ||
| ) |
Definition at line 633 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_aphstar_pderiv()
| float get_aphstar_pderiv | ( | 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()
| float* get_bias_mean_sst | ( | l2str * | l2rec | ) |
◆ get_bias_mean_sst4()
| float* get_bias_mean_sst4 | ( | l2str * | l2rec | ) |
◆ get_bias_mean_sst_triple()
| float* get_bias_mean_sst_triple | ( | l2str * | l2rec | ) |
◆ get_bias_sst()
| float* get_bias_sst | ( | l2str * | l2rec | ) |
◆ get_bias_sst4()
| float* get_bias_sst4 | ( | l2str * | l2rec | ) |
◆ get_bias_sst_triple()
| float* get_bias_sst_triple | ( | l2str * | l2rec | ) |
◆ 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_cci()
◆ 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_clfr()
◆ get_cmp()
◆ get_cmp_byt()
| unsigned char* get_cmp_byt | ( | l2str * | l2rec, |
| int32_t | |||
| ) |
◆ get_counts_sst()
| int16_t* get_counts_sst | ( | l2str * | l2rec | ) |
◆ get_counts_sst4()
| int16_t* get_counts_sst4 | ( | l2str * | l2rec | ) |
◆ get_counts_sst_triple()
| int16_t* get_counts_sst_triple | ( | l2str * | l2rec | ) |
◆ get_Cphyt()
| void get_Cphyt | ( | l2str * | l2rec, |
| float | cphyt[] | ||
| ) |
Definition at line 19 of file get_Cphyt.c.
◆ get_Cphyt_unc()
| void get_Cphyt_unc | ( | l2str * | l2rec, |
| float | cphyt_unc[] | ||
| ) |
Definition at line 86 of file get_Cphyt.c.
◆ get_Cpicophyt()
| void get_Cpicophyt | ( | l2str * | l2rec, |
| l2prodstr * | p, | ||
| float * | cell_abundance | ||
| ) |
Definition at line 38 of file get_Cpicophyt.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[] | ||
| ) |
Calculate Enhanced Vegetation Index CAT_ix 38.
- Parameters
-
l1rec Level 1 record evi Array to place resultant values into
Definition at line 91 of file get_ndvi.c.
◆ get_evi2()
| void get_evi2 | ( | l1str * | l1rec, |
| float | evi2[] | ||
| ) |
Calculate Enhanced Vegetation Index - EVI2 CAT_ix 63.
- Parameters
-
l1rec Level 1 record evi2 Array to place resultant values into
Definition at line 164 of file get_ndvi.c.
◆ get_evi3()
| void get_evi3 | ( | l1str * | l1rec, |
| float | evi3[] | ||
| ) |
Calculate Enhanced Vegetation Index - EVI3 CAT_ix 64.
- Parameters
-
l1rec Level 1 record evi3 Array to place resultant values into
Definition at line 212 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 694 of file get_habs.c.
◆ get_flags_habs_mph()
| uint8_t* get_flags_habs_mph | ( | l2str * | l2rec | ) |
Definition at line 370 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()
| int16_t* get_flags_sst | ( | l2str * | l2rec | ) |
◆ get_flags_sst4()
| int16_t* get_flags_sst4 | ( | l2str * | l2rec | ) |
◆ get_flags_sst_triple()
| int16_t* get_flags_sst_triple | ( | l2str * | l2rec | ) |
◆ 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 258 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
Definition at line 168 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 85 of file get_habs.c.
◆ get_habs_mph()
| void get_habs_mph | ( | l2str * | l2rec, |
| l2prodstr * | p, | ||
| float | mph_chl[] | ||
| ) |
Definition at line 275 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 20 of file get_height.c.
◆ get_hyper_vi()
| int get_hyper_vi | ( | l1str * | l1rec, |
| int | product_number, | ||
| float | product[] | ||
| ) |
Definition at line 211 of file get_hyper_vi.cpp.
◆ 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()
◆ get_ipar_below_surface()
| void get_ipar_below_surface | ( | l2str * | l2rec, |
| float | ipar[] | ||
| ) |
◆ get_ipar_scalar()
◆ get_iter_giop()
◆ get_iter_gsm()
◆ get_Kd()
◆ get_l2prod_index()
| l2prodstr* get_l2prod_index | ( | const 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_mu_cosine()
◆ get_ndii()
| void get_ndii | ( | l1str * | l1rec, |
| float | prod[] | ||
| ) |
Main entry point for getting ndii.
- Parameters
-
l1rec A level 1 record prod A caller-provided array that will contain the result of calculation
Definition at line 81 of file get_ndii.c.
◆ get_ndsi()
| void get_ndsi | ( | l1str * | l1rec, |
| float | ndsi[] | ||
| ) |
Definition at line 73 of file get_ndsi.c.
◆ get_ndvi()
| void get_ndvi | ( | l1str * | l1rec, |
| float | ndvi[] | ||
| ) |
Calculate Normalized Difference Vegetation Index CAT_ix 32.
- Parameters
-
l1rec Level 1 record ndvi Array to place resultant values into
Definition at line 46 of file get_ndvi.c.
◆ get_ndwi()
| void get_ndwi | ( | l1str * | l1rec, |
| float | prod[] | ||
| ) |
Main entry point for getting NDWI.
- Parameters
-
l1rec A level 1 record prod A caller-provided array that will contain the result of calculation
Definition at line 79 of file get_ndwi.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_par2()
◆ get_par_below_surface()
◆ get_par_scalar()
◆ 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()
| void get_poc | ( | l2str * | l2rec, |
| l2prodstr * | p, | ||
| float | prod[] | ||
| ) |
◆ 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()
| int8_t* get_qual_sst | ( | l2str * | l2rec | ) |
◆ get_qual_sst4()
| int8_t* get_qual_sst4 | ( | l2str * | l2rec | ) |
◆ get_qual_sst_triple()
| int8_t* get_qual_sst_triple | ( | l2str * | l2rec | ) |
◆ 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[], | ||
| l2str * | l2rec, | ||
| int32_t | ip | ||
| ) |
Definition at line 286 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[], | ||
| float | dRrs[], | ||
| float | dchl, | ||
| float | drhown[] | ||
| ) |
◆ get_Rrs_brightness()
| void get_Rrs_brightness | ( | l2str * | l2rec, |
| float | Rrs_brightness[] | ||
| ) |
◆ get_sdp()
| void get_sdp | ( | l2str * | l2rec, |
| l2prodstr * | p, | ||
| float | prod[] | ||
| ) |
◆ 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()
| float* get_sst | ( | l2str * | l2rec | ) |
◆ get_sst4()
| float* get_sst4 | ( | l2str * | l2rec | ) |
◆ get_sst_dust_correction()
| float* get_sst_dust_correction | ( | l2str * | l2rec | ) |
◆ get_sst_triple()
| float* get_sst_triple | ( | l2str * | l2rec | ) |
◆ get_sstref()
| float get_sstref | ( | short | reftyp, |
| char * | file, | ||
| l1str * | l1rec, | ||
| int32_t | ip | ||
| ) |
◆ get_stdv_sst()
| float* get_stdv_sst | ( | l2str * | l2rec | ) |
◆ get_stdv_sst4()
| float* get_stdv_sst4 | ( | l2str * | l2rec | ) |
◆ get_stdv_sst_triple()
| float* get_stdv_sst_triple | ( | l2str * | l2rec | ) |
◆ get_swim()
◆ get_tauc()
| void get_tauc | ( | l2str * | l2rec, |
| float | tauc[] | ||
| ) |
◆ get_taucld()
◆ 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 | ||
| ) |
◆ get_unc_fsat()
| void get_unc_fsat | ( | l2str * | l2rec, |
| float | uflh[] | ||
| ) |
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
Definition at line 62 of file fluorescence.c.
◆ get_uncertainty()
| float* get_uncertainty | ( | l1str * | l1rec | ) |
Definition at line 331 of file get_uncertainty.c.
◆ getglint_()
| int getglint_ | ( | float * | , |
| float * | , | ||
| float * | , | ||
| float * | , | ||
| float * | , | ||
| float * | |||
| ) |
Definition at line 130 of file getglint.c.
◆ getglint_iqu_()
| int getglint_iqu_ | ( | float * | , |
| float * | , | ||
| float * | , | ||
| float * | , | ||
| float * | , | ||
| float * | , | ||
| float * | , | ||
| float * | |||
| ) |
Definition at line 135 of file getglint.c.
◆ getl1rec()
| int getl1rec | ( | int32_t | recnum, |
| int32_t | dscan, | ||
| l1str * | l1rec | ||
| ) |
Definition at line 169 of file getl1rec.c.
◆ giop_get_a_unc_pointer()
◆ giop_get_adg_pointer()
◆ giop_get_aph_pointer()
◆ giop_get_bb_unc_pointer()
◆ giop_get_bbp_pointer()
◆ giop_get_bbp_s_pointer()
◆ giop_get_ubbp_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[], | ||
| uncertainty_t * | errstr | ||
| ) |
◆ 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 15 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()
◆ Kd490_unc()
◆ 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 680 of file msl12_input.c.
◆ l2gen_usage()
| int l2gen_usage | ( | const char * | prog | ) |
Definition at line 4414 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 | ) |
◆ lt_agregat_ocis()
| void lt_agregat_ocis | ( | l1str * | l1rec | ) |
Definition at line 115 of file getl1rec.c.
◆ msl12_input()
| int msl12_input | ( | int | argc, |
| char * | argv[], | ||
| const char * | progName, | ||
| filehandle * | l1file | ||
| ) |
Definition at line 4359 of file msl12_input.c.
◆ msl12_input_defaults()
| int msl12_input_defaults | ( | filehandle * | l1file | ) |
Definition at line 4385 of file msl12_input.c.
◆ msl12_input_init()
| void msl12_input_init | ( | ) |
Definition at line 495 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.
◆ noise_index_oci()
| int noise_index_oci | ( | float | wave | ) |
derive the index of OCI wavelength in MODIS wavelength domain
Definition at line 124 of file get_uncertainty.c.
◆ noise_model_hmodisa()
| void noise_model_hmodisa | ( | l1str * | l1rec, |
| float * | noise | ||
| ) |
◆ noise_model_hmodist()
| void noise_model_hmodist | ( | l1str * | l1rec, |
| float * | noise | ||
| ) |
◆ noise_model_ocis()
| void noise_model_ocis | ( | l1str * | l1rec, |
| float * | noise | ||
| ) |
Definition at line 32 of file get_uncertainty.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 181 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 | ||
| ) |
◆ poc_stramski_hybrid()
| float poc_stramski_hybrid | ( | float * | Rrs, |
| int32_t | sensorID | ||
| ) |
Definition at line 22 of file get_poc_hybrid.c.
◆ 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 169 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 69 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 | ||
| ) |
$brief c Given year, day of year, time in hours (GMT) and latitude and c longitude, returns an accurate solar zenith and azimuth angle. c Based on IAU 1976 Earth ellipsoid. Method for computing solar c vector and local vertical from Patt and Gregg, 1993, Int. J. c Remote Sensing.c c Subroutines required: sun2000 c gha2000 c jd c
- Parameters
-
year day gmt lon lat sunz 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 1487 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 1502 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 1517 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 297 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 1532 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 1556 of file l2_generic.c.
◆ writel2()
| int writel2 | ( | filehandle * | l2file, |
| int32_t | recnum, | ||
| l2str * | l2rec, | ||
| int | outfile_number | ||
| ) |
Definition at line 939 of file l2_generic.c.
Variable Documentation
◆ input
| instr* input |
Definition at line 27 of file main_l2binmatch.cpp.


