OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
emeta_geometry.h
Go to the documentation of this file.
1 /*
2  * Name: emeta_geometry.c
3  *
4  * Purpose:
5  * Source file containing the functions used to relate Level 1T pixel line/sample
6  * coordinates to the corresponding viewing and solar illumination angles. These functions
7  * operate on the EMETA data type defined in "emeta.h".
8  */
9 #ifndef _EMETA_GEOMETRY_H_
10 #define _EMETA_GEOMETRY_H_
11 
12 #include "emeta.h" /* Definition of EMETA structure */
13 
15  EMETA_BAND *emeta_band, /* Enhanced metadata band structure */
16  double l1t_line, /* Input L1T line coordinate */
17  double l1t_samp, /* Input L1T sample coordinate */
18  double height, /* Input L1T height coordinate */
19  int *sca_list, /* Array of SCA numbers containing point */
20  double *l1r_line, /* Array of L1R line coordinates by SCA */
21  double *l1r_samp ); /* Array of L1R sample coordinates by SCA */
22 
24  EMETA *emeta, /* Input enhanced metadata info */
25  int band ); /* Input band number */
26 
27 #endif
int emeta_l1t_to_l1r(EMETA_BAND *emeta_band, double l1t_line, double l1t_samp, double height, int *sca_list, double *l1r_line, double *l1r_samp)
PARAM_TYPE_NONE Default value No parameter is buried in the product name name_prefix is case insensitive string compared to the product name PARAM_TYPE_VIS_WAVE The visible wavelength bands from the sensor are buried in the product name The product name is compared by appending and name_suffix ie aph_412_giop where prod_ix will be set to PARAM_TYPE_IR_WAVE same search method as PARAM_TYPE_VIS_WAVE except only wavelength above are looped through but prod_ix is still based ie aph_2_giop for the second band
int emeta_band_number_to_index(EMETA *emeta, int band)
Definition: emeta.h:102