NASA Logo
Ocean Color Science Software

ocssw V2022
l1_octs.h
Go to the documentation of this file.
1 #ifndef _L1_OCTS_H
2 #define _L1_OCTS_H
3 
4 #include <stdint.h>
5 #include "l1.h"
6 
7 #define MAXOCLIN 6700 /* max # lines */
8 #define MAXOCPIX 2218 /* max # pixels */
9 #define MAXOCARR 10000
10 #define NOCBANDS 8
11 
12 int openl1_octs(filehandle *l1file);
13 int readl1_octs(filehandle *l1file, int32_t recnum, l1str *l1rec);
14 int closel1_octs(filehandle *l1file);
15 
16 int32_t get_octs_cal(char *file, int16_t year, int16_t day, int32_t msec[MAXOCLIN],
17  int32_t recnum, int16_t npix, int32_t spix, int32_t tilt,
18  int16_t gainset[MAXOCLIN], float inst_temp[MAXOCLIN],
19  int16_t sample_table[3][8][2][400][2], int32_t scansPerScene,
20  uint16_t l1acnts[NOCBANDS][MAXOCPIX], float l1brads[MAXOCPIX][NOCBANDS]);
21 
22 int CalcViewAngle(float lon1, float lat1, float pos[3],float usun[3]);
23 int LeapCheck(int yr);
24 void reform_octs_time(char *time);
25 int navigation(int32_t fileID);
26 
27 #endif
28 
int32 l1file(int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum)
Definition: l1stat_chk.c:586
int openl1_octs(filehandle *l1file)
Definition: l1_octs.c:328
int32_t day
int32_t get_octs_cal(char *file, int16_t year, int16_t day, int32_t msec[MAXOCLIN], int32_t recnum, int16_t npix, int32_t spix, int32_t tilt, int16_t gainset[MAXOCLIN], float inst_temp[MAXOCLIN], int16_t sample_table[3][8][2][400][2], int32_t scansPerScene, uint16_t l1acnts[NOCBANDS][MAXOCPIX], float l1brads[MAXOCPIX][NOCBANDS])
Definition: l1_octs.c:95
int readl1_octs(filehandle *l1file, int32_t recnum, l1str *l1rec)
Definition: l1_octs.c:510
int16_t fileID
int navigation(int32_t fileID)
Definition: l1_octs.c:696
read l1rec
float32 * pos
Definition: l1_czcs_hdf.c:35
int LeapCheck(int yr)
Definition: l1_octs.c:1126
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
#define MAXOCPIX
Definition: l1_octs.h:8
read recnum
void reform_octs_time(char *time)
Definition: l1_octs.c:1167
int CalcViewAngle(float lon1, float lat1, float pos[3], float usun[3])
Definition: l1_octs.c:1032
this program makes no use of any feature of the SDP Toolkit that could generate such a then geolocation is calculated at that and then aggregated up to Resolved feature request Bug by adding three new int8 SDSs for each high resolution offsets between the high resolution geolocation and a bi linear interpolation extrapolation of the positions This can be used to reconstruct the high resolution geolocation Resolved Bug by delaying cumulation of gflags until after validation of derived products Resolved Bug by setting Latitude and Longitude to the correct fill resolving to support Near Real Time because they may be unnecessary if use of entrained ephemeris and attitude data is turned resolving bug report Corrected to filter out Aqua attitude records with missing status helping resolve bug MOD_PR03 will still correctly write scan and pixel data that does not depend upon the start time
Definition: HISTORY.txt:248
#define NOCBANDS
Definition: l1_octs.h:10
#define MAXOCLIN
Definition: l1_octs.h:7
int16_t * tilt
Definition: l2bin.cpp:80
int closel1_octs(filehandle *l1file)
Definition: l1_octs.c:1147
int npix
Definition: get_cmp.c:28