OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1c_msi.h
Go to the documentation of this file.
1 /*************************************************************/
2 /* Sentinel 2A MSI L1C PROCESSING */
3 /* Jiaying He 06/09/2016 */
4 /*************************************************************/
5 
6 #ifndef L1C_MSI_H
7 #define L1C_MSI_H
8 
9 #include "l1.h"
10 
11 /* -------------------------------------------------------------------------- */
12 /* l1c_msi Header */
13 /* Define */
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18  /* Definition of all l1c_msi.c functions */
19 
20  int openl1c_msi(filehandle *file);
21  int readl1c_msi(filehandle *file, int recnum, l1str *l1rec, int lonlat);
22  int closel1c_msi(filehandle *file);
23  int readl1c_msi_lonlat(filehandle *file, int recnum, l1str *l1rec);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 
30 
31 #endif
read l1rec
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
int readl1c_msi(filehandle *file, int recnum, l1str *l1rec, int lonlat)
Definition: l1c_msi.cpp:637
read recnum
subroutine lonlat(alon, alat, xlon, ylat)
Definition: lonlat.f:2
int openl1c_msi(filehandle *file)
Definition: l1c_msi.cpp:480
int readl1c_msi_lonlat(filehandle *file, int recnum, l1str *l1rec)
Definition: l1c_msi.cpp:610
int closel1c_msi(filehandle *file)
Definition: l1c_msi.cpp:1003