OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
anc_acq.h
Go to the documentation of this file.
1 #ifndef _ANC_ACQ_PROTO
2 #define _ANC_ACQ_PROTO
3 
4 #include <gsl/gsl_errno.h>
5 #include <gsl/gsl_interp2d.h>
6 #include <gsl/gsl_spline2d.h>
7 
8 /* define calls for the anc_acq here */
9 /* interpolation structure for one level, param, time */
10 typedef struct gen_int_str_def {
11  gsl_spline2d *int_id;
12  gsl_interp_accel *accel_lon, *accel_lat;
13  double anc_time;
14  double *lat_coord, *lon_coord;
15  unsigned char *qual;
16  int32_t nlon, nlat; /* sizes involved */
17 } gen_int_str;
18 
19 int anc_acq_init(instr *, l1str *, int32_t *);
20 int32_t anc_acq_ck(char *, char *);
21 int32_t anc_acq_ecmwf_init(char **, char **, int, int32_t);
22 int anc_acq_lin_olci(int, char *, l1str *);
23 int anc_acq_lin(int32_t, l1str *);
24 int32_t anc_acq_f_stat( char **, char, int32_t );
25 float anc_miss_fill(int32_t);
26 float bilin_interp(float *, int, int, int, float, float);
27 int64_t jd4713bc_get_jd(int32_t, int32_t, int32_t);
28 int jd4713bc_get_date(int64_t, int32_t *, int32_t *, int32_t *);
29 int32_t anc_acq_read_gmao( char *, char *, char *, float **, unsigned char **,
30  double *, int32_t *, int32_t *, int32_t *, double **, double ** );
31 int32_t anc_acq_lin_met( l1str * );
32 int32_t anc_acq_lin_prof( l1str * );
33 int32_t anc_acq_lin_aerosol( l1str * );
34 int32_t anc_acq_lin_oz( l1str * );
35 int32_t anc_acq_gmao_met_prep( char *, gen_int_str * );
36 int32_t anc_acq_gmao_prof_prep( char *, gen_int_str *, int32_t );
37 int32_t anc_acq_gmao_aer_prep(char *file, gen_int_str *aer_int);
38 int32_t anc_acq_gmao_oz_prep( char *, gen_int_str * );
39 int32_t anc_acq_fnd_t_interp( double, double *, int32_t, int32_t *,
40  int32_t *, float * );
41 int32_t anc_acq_eval_pt( gen_int_str *, int32_t, int32_t, float, float,
42  int32_t, int32_t *, float, int32_t, int32_t, int32_t, float *, float * );
43 int32_t init_anc_add( l1str * );
44 int32_t init_anc_aerosol(l1str *l1rec);
45 #endif
int32_t anc_acq_fnd_t_interp(double, double *, int32_t, int32_t *, int32_t *, float *)
Definition: anc_acq.c:1711
int32_t nlon
Definition: anc_acq.h:16
double * lat_coord
Definition: anc_acq.h:14
float anc_miss_fill(int32_t)
Definition: anc_acq.c:2911
int anc_acq_lin_olci(int, char *, l1str *)
Definition: anc_acq.c:2578
int32_t anc_acq_eval_pt(gen_int_str *, int32_t, int32_t, float, float, int32_t, int32_t *, float, int32_t, int32_t, int32_t, float *, float *)
Definition: anc_acq.c:1614
int32_t anc_acq_ck(char *, char *)
Definition: anc_acq.c:171
read l1rec
int anc_acq_init(instr *, l1str *, int32_t *)
Definition: anc_acq.c:74
int32_t anc_acq_lin_aerosol(l1str *)
Definition: anc_acq.c:584
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude resolving resolving GSFcd00179 Corrected handling of fill values for[Sensor|Solar][Zenith|Azimuth] resolving MODxl01751 Changed to validate LUT version against a value retrieved from the resolving MODxl02056 Changed to calculate Solar Diffuser angles without adjustment for estimated post launch changes in the MODIS orientation relative to incidentally resolving defects MODxl01766 Also resolves MODxl01947 Changed to ignore fill values in SCI_ABNORM and SCI_STATE rather than treating them as resolving MODxl01780 Changed to use spacecraft ancillary data to recognise when the mirror encoder data is being set by side A or side B and to change calculations accordingly This removes the need for seperate LUTs for Side A and Side B data it makes the new LUTs incompatible with older versions of the and vice versa Also resolves MODxl01685 A more robust GRing algorithm is being which will create a non default GRing anytime there s even a single geolocated pixel in a granule Removed obsolete messages from seed file
Definition: HISTORY.txt:413
gsl_spline2d * int_id
Definition: anc_acq.h:11
double * lon_coord
Definition: anc_acq.h:14
int32_t anc_acq_read_gmao(char *, char *, char *, float **, unsigned char **, double *, int32_t *, int32_t *, int32_t *, double **, double **)
Definition: anc_acq.c:1826
double anc_time
Definition: anc_acq.h:13
int32_t init_anc_add(l1str *)
Definition: anc_acq.c:939
int64_t jd4713bc_get_jd(int32_t, int32_t, int32_t)
Definition: anc_acq.c:2999
float bilin_interp(float *, int, int, int, float, float)
Definition: anc_acq.c:2949
int32_t anc_acq_gmao_aer_prep(char *file, gen_int_str *aer_int)
Definition: anc_acq.c:1556
int32_t init_anc_aerosol(l1str *l1rec)
Definition: anc_acq.c:898
int jd4713bc_get_date(int64_t, int32_t *, int32_t *, int32_t *)
Definition: anc_acq.c:3038
int32_t anc_acq_f_stat(char **, char, int32_t)
Definition: anc_acq.c:288
int32_t anc_acq_gmao_met_prep(char *, gen_int_str *)
Definition: anc_acq.c:1139
int32_t nlat
Definition: anc_acq.h:16
gsl_interp_accel * accel_lat
Definition: anc_acq.h:12
int anc_acq_lin(int32_t, l1str *)
Definition: anc_acq.c:2308
gsl_interp_accel * accel_lon
Definition: anc_acq.h:12
int32_t anc_acq_gmao_oz_prep(char *, gen_int_str *)
Definition: anc_acq.c:1484
int32_t anc_acq_lin_prof(l1str *)
Definition: anc_acq.c:738
int32_t anc_acq_lin_oz(l1str *)
Definition: anc_acq.c:989
int32_t anc_acq_lin_met(l1str *)
Definition: anc_acq.c:373
int32_t anc_acq_ecmwf_init(char **, char **, int, int32_t)
Definition: anc_acq.c:2016
unsigned char * qual
Definition: anc_acq.h:15
int32_t anc_acq_gmao_prof_prep(char *, gen_int_str *, int32_t)
Definition: anc_acq.c:1363