ocssw
V2022
|
anc_acq.c File Reference
#include "l12_proto.h"
#include "met_cvt.h"
#include "anc_acq.h"
#include <gsl/gsl_errno.h>
#include <gsl/gsl_interp2d.h>
#include <gsl/gsl_spline2d.h>
Include dependency graph for anc_acq.c:
Go to the source code of this file.
Classes | |
struct | met_sto_str |
Macros | |
#define | ANC_STAT_1T 1 /* one time used */ |
#define | ANC_STAT_2T_END |
#define | ANC_STAT_2T_START |
#define | ANC_STAT_3T 3 /* all 3 files with different times */ |
#define | ANC_STAT_CLIM 0 /* a climatology in use */ |
#define | NPRM 7 |
#define | ANCBAD -999. |
#define | OZ_KG_M2_TO_DU 1. / 2.1415e-5 |
#define | USE_PMSL |
#define | ANC_SRC_TYP_ECMWF 0 /* types of anc file data */ |
#define | ANC_SRC_TYP_STD_HDF 1 /* old HDF from NCEP (met) TOMS (oz) */ |
#define | ANC_SRC_TYP_OLCI 2 /* OLCI tie point at data points */ |
#define | ANC_SRC_TYP_GMAO 3 /* GMAP FP-IT or FP forecast */ |
#define | ANC_SRC_TYP_BAD -1 /* a bad or undefined type */ |
Enumerations | |
enum | out_nam { ZW, MW, PR, WV, RH, SFCP, SFCRH, SFCT, ICEFR } |
enum | out_prof { TPROF, RHPROF, HPROF, QPROF, O3PROF } |
enum | out_aerosol { BCEXTTAU, BCSCATAU, DUEXTTAU, DUSCATAU, SSEXTTAU, SSSCATAU, SUEXTTAU, SUSCATAU, OCEXTTAU, OCSCATAU, TOTEXTTAU, TOTSCATAU } |
Functions | |
int | anc_acq_init (instr *input, l1str *l1rec, int32_t *anc_id) |
int32_t | anc_acq_ck (char *file, char *file_olci) |
int32_t | anc_acq_f_stat (char **files, char prioritize_files, int32_t n_anc) |
int32_t | anc_acq_lin_met (l1str *l1rec) |
int32_t | anc_acq_lin_aerosol (l1str *l1rec) |
int32_t | anc_acq_lin_prof (l1str *l1rec) |
int32_t | init_anc_aerosol (l1str *l1rec) |
int | init_anc_add (l1str *l1rec) |
int32_t | anc_acq_lin_oz (l1str *l1rec) |
int32_t | anc_acq_gmao_met_prep (char *file, gen_int_str *met_int) |
int32_t | anc_acq_gmao_prof_prep (char *file, gen_int_str *prof_int, int32_t nlvl_expect) |
int32_t | anc_acq_gmao_oz_prep (char *file, gen_int_str *oz_int) |
int32_t | anc_acq_gmao_aer_prep (char *file, gen_int_str *aer_int) |
int32_t | anc_acq_eval_pt (gen_int_str *met_int, int32_t iprm, int32_t ilvl, float lat, float lon, int32_t t_interp, int32_t *data_ix, float wt_t1, int32_t ntim_int, int32_t nlvl, int32_t nprm, float *final_val, float *unc) |
int32_t | anc_acq_fnd_t_interp (double s_time, double *anc_time, int32_t anc_f_stat, int32_t *t_interp, int32_t *data_ix, float *wt) |
int32_t | anc_acq_read_gmao (char *file, char *group, char *ds_name, float **data, unsigned char **qa, double *time, int32_t *nlon, int32_t *nlat, int32_t *nlvl, double **lon_coord, double **lat_coord) |
int32_t | anc_acq_ecmwf_init (char **files, char **prm_nm, int n_prm, int32_t sto_ix) |
int | anc_acq_lin (int32_t anc_class, l1str *l1rec) |
int | anc_acq_lin_olci (int anc_class, char *file, l1str *l1rec) |
float | anc_miss_fill (int32_t prod_ix) |
float | bilin_interp (float *data, int xbox_st, int nx, int ybox_st, float xfrac, float yfrac) |
int64_t | jd4713bc_get_jd (int32_t year, int32_t month, int32_t day) |
int | jd4713bc_get_date (int64_t jd, int32_t *year, int32_t *month, int32_t *day) |
Macro Definition Documentation
◆ ANC_SRC_TYP_BAD
◆ ANC_SRC_TYP_ECMWF
◆ ANC_SRC_TYP_GMAO
◆ ANC_SRC_TYP_OLCI
#define ANC_SRC_TYP_OLCI 2 /* OLCI tie point at data points */ |
◆ ANC_SRC_TYP_STD_HDF
#define ANC_SRC_TYP_STD_HDF 1 /* old HDF from NCEP (met) TOMS (oz) */ |
◆ ANC_STAT_1T
◆ ANC_STAT_2T_END
#define ANC_STAT_2T_END |
◆ ANC_STAT_2T_START
#define ANC_STAT_2T_START |
◆ ANC_STAT_3T
#define ANC_STAT_3T 3 /* all 3 files with different times */ |
◆ ANC_STAT_CLIM
◆ ANCBAD
◆ NPRM
◆ OZ_KG_M2_TO_DU
◆ USE_PMSL
#define USE_PMSL |
Enumeration Type Documentation
◆ out_aerosol
enum out_aerosol |
◆ out_nam
enum out_nam |
◆ out_prof
Function Documentation
◆ anc_acq_ck()
◆ anc_acq_ecmwf_init()
int32_t anc_acq_ecmwf_init | ( | char ** | files, |
char ** | prm_nm, | ||
int | n_prm, | ||
int32_t | sto_ix | ||
) |
◆ anc_acq_eval_pt()
int32_t anc_acq_eval_pt | ( | gen_int_str * | met_int, |
int32_t | iprm, | ||
int32_t | ilvl, | ||
float | lat, | ||
float | lon, | ||
int32_t | t_interp, | ||
int32_t * | data_ix, | ||
float | wt_t1, | ||
int32_t | ntim_int, | ||
int32_t | nlvl, | ||
int32_t | nprm, | ||
float * | final_val, | ||
float * | unc | ||
) |
◆ anc_acq_f_stat()
int32_t anc_acq_f_stat | ( | char ** | files, |
char | prioritize_files, | ||
int32_t | n_anc | ||
) |
◆ anc_acq_fnd_t_interp()
int32_t anc_acq_fnd_t_interp | ( | double | s_time, |
double * | anc_time, | ||
int32_t | anc_f_stat, | ||
int32_t * | t_interp, | ||
int32_t * | data_ix, | ||
float * | wt | ||
) |
◆ anc_acq_gmao_aer_prep()
int32_t anc_acq_gmao_aer_prep | ( | char * | file, |
gen_int_str * | aer_int | ||
) |
◆ anc_acq_gmao_met_prep()
int32_t anc_acq_gmao_met_prep | ( | char * | file, |
gen_int_str * | met_int | ||
) |
◆ anc_acq_gmao_oz_prep()
int32_t anc_acq_gmao_oz_prep | ( | char * | file, |
gen_int_str * | oz_int | ||
) |
◆ anc_acq_gmao_prof_prep()
int32_t anc_acq_gmao_prof_prep | ( | char * | file, |
gen_int_str * | prof_int, | ||
int32_t | nlvl_expect | ||
) |
◆ anc_acq_init()
int anc_acq_init | ( | instr * | input, |
l1str * | l1rec, | ||
int32_t * | anc_id | ||
) |
◆ anc_acq_lin()
◆ anc_acq_lin_aerosol()
◆ anc_acq_lin_met()
◆ anc_acq_lin_olci()
int anc_acq_lin_olci | ( | int | anc_class, |
char * | file, | ||
l1str * | l1rec | ||
) |
◆ anc_acq_lin_oz()
◆ anc_acq_lin_prof()
◆ anc_acq_read_gmao()
int32_t anc_acq_read_gmao | ( | char * | file, |
char * | group, | ||
char * | ds_name, | ||
float ** | data, | ||
unsigned char ** | qa, | ||
double * | time, | ||
int32_t * | nlon, | ||
int32_t * | nlat, | ||
int32_t * | nlvl, | ||
double ** | lon_coord, | ||
double ** | lat_coord | ||
) |
◆ anc_miss_fill()
◆ bilin_interp()
float bilin_interp | ( | float * | data, |
int | xbox_st, | ||
int | nx, | ||
int | ybox_st, | ||
float | xfrac, | ||
float | yfrac | ||
) |
◆ init_anc_add()
◆ init_anc_aerosol()
◆ jd4713bc_get_date()
int jd4713bc_get_date | ( | int64_t | jd, |
int32_t * | year, | ||
int32_t * | month, | ||
int32_t * | day | ||
) |