OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1_viirs_h5.h
Go to the documentation of this file.
1 #ifndef _L1_VIIRS_H5_H
2 #define _L1_VIIRS_H5_H
3 
4 #include <stdint.h>
5 #include "l1.h"
6 #include "h5io.h"
7 
8 /* define fill condition values */
9 #define NA_FLOAT32_FILL -999.9f /* Algorithm Exclusions */
10 #define NA_UINT16_FILL 65535
11 #define MISS_FLOAT32_FILL -999.8f /* Missing at Time of Processing */
12 #define MISS_UINT16_FILL 65534
13 #define ONBOARD_PT_FLOAT32_FILL -999.7f /* Onboard Pixel Trimi (bow tie) */
14 #define ONBOARD_PT_UINT16_FILL 65533
15 #define ONGROUND_PT_FLOAT32_FILL -999.6f /* On-ground Pixel Trim */
16 #define ONGROUND_PT_UINT16_FILL 65532
17 #define ERR_FLOAT32_FILL -999.5f /* Cannot Calculate */
18 #define ERR_UINT16_FILL 65531
19 #define ELINT_FLOAT32_FILL -999.4f /* Ellipsoid Intersection Failed */
20 #define ELINT_UINT16_FILL 65530
21 #define VDNE_FLOAT32_FILL -999.3f /* Value Does Not Exist */
22 #define VDNE_UINT16_FILL 65529
23 #define SOUB_FLOAT32_FILL -999.2f /* Scaling Out Of Bounds */
24 #define SOUB_UINT16_FILL 65528
25 
26 int closel1_viirs_h5(filehandle *l1file);
27 int openl1_viirs_h5(filehandle *l1file);
28 int readl1_viirs_h5(filehandle *l1file, int32_t recnum, l1str *l1rec, int lonlat);
29 int gen_sdr_suite(char *);
30 int set_f_cal_corr(h5io_str *, filehandle *, int64_t);
31 int rd_vir_f_tbl(char *, int64_t, int);
32 
33 #endif
int rd_vir_f_tbl(char *, int64_t, int)
Definition: l1_viirs_h5.c:394
int32 l1file(int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum)
Definition: l1stat_chk.c:586
read l1rec
int set_f_cal_corr(h5io_str *, filehandle *, int64_t)
Definition: l1_viirs_h5.c:217
int closel1_viirs_h5(filehandle *l1file)
Definition: l1_viirs_h5.c:1725
read recnum
subroutine lonlat(alon, alat, xlon, ylat)
Definition: lonlat.f:2
int openl1_viirs_h5(filehandle *l1file)
Definition: l1_viirs_h5.c:600
int gen_sdr_suite(char *)
Definition: l1_viirs_h5.c:107
int readl1_viirs_h5(filehandle *l1file, int32_t recnum, l1str *l1rec, int lonlat)
Definition: l1_viirs_h5.c:1382