OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l2_flags_sw.h
Go to the documentation of this file.
1 /*
2  $Header: /app/shared/RCS/irix-5.2/seawifsd/src/hdfio/Shared.V4.4/L012_Util/util/hdf/l2_flags.h,v 1.1 1995/12/07 16:20:23 seawifsd Exp seawifsd $
3  $Log: l2_flags.h,v $
4  Revision 1.1 1995/12/07 16:20:23 seawifsd
5  Initial revision
6 
7  */
8 #ifndef L2_FLAGS_SW_H_
9 #define L2_FLAGS_SW_H_
10 
11 #define TOTAL_FLAG_NAMES 16
12 #define LEN_FLAG_NAMES 19
13 #define LEN_FLAG_NAMES_P1 (LEN_FLAG_NAMES + 1)
14 #define MAXLEN_FLAG_NAMES (TOTAL_FLAG_NAMES * LEN_FLAG_NAMES_P1)
15 
16 static const char * const l2_flags_name[][3] = {
17  {"EPSILON1", "f01_name", "atmospheric correction algorithm failure"},
18  {"LAND1", "f02_name", "land"},
19  {"ANCIL1", "f03_name", "missing ancillary data"},
20  {"SUNGLINT1", "f04_name", "Sun glint"},
21  {"HIGHLT1", "f05_name", "total radiance greater than knee value"},
22  {"SATZEN1", "f06_name", "large spacecraft zenith angle"},
23  {"COASTZ1", "f07_name", "shallow water"},
24  {"NEGLW1", "f08_name", "negative water-leaving radiance"},
25  {"STRAYLIGHT1", "f09_name", "stray light"},
26  {"CLDICE1", "f10_name", "cloud and ice"},
27  {"COCCOLITH1", "f11_name", "coccolithophores"},
28  {"TURBIDW1", "f12_name", "turbid, case-2 water"},
29  {"SOLZEN1", "f13_name", "large solar zenith angle"},
30  {"HIGHTAU1", "f14_name", "high aerosol concentration"},
31  {"LOWLW1", "f15_name", "low water-leaving radiance at 555 nm"},
32  {"CHLOR1", "f16_name", "chlorophyll algorithm failure"}
33 };
34 
35 #define MASK_EPSILON1 1
36 #define MASK_LAND1 2
37 #define MASK_ANCIL1 4
38 #define MASK_SUNGLINT1 8
39 #define MASK_HIGHLT1 16
40 #define MASK_SATZEN1 32
41 #define MASK_COSTZ1 64
42 #define MASK_NEGLW1 128
43 #define MASK_STRAYLIGHT1 256
44 #define MASK_CLDICE1 512
45 #define MASK_COCCOLITH1 1024
46 #define MASK_TURBIDW1 2048
47 #define MASK_SOLZEN1 4096
48 #define MASK_HIGHTAU1 8192
49 #define MASK_LOWLW1 16384
50 #define MASK_CHLOR1 32768
51 
52 #include "l2_flags_proto.h"
53 
54 #endif /* L2_FLAGS_SW_H_ */