OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
mph_flags.h
Go to the documentation of this file.
1 /*
2  * mph_flags.h
3  *
4  * Created on: Sep 8, 2015
5  * Author: rhealy
6  */
7 
8 #ifndef SRC_L2GEN_MPH_FLAGS_H_
9 #define SRC_L2GEN_MPH_FLAGS_H_
10 
11 #define NMPHFLAGS 4
12 #define MPH_FLOAT 0x0001 /* floating aquatic vegetation. */
13 #define MPH_CYANO 0x0002 /* Cyanobacteria . */
14 #define MPH_ADJ 0x0004 /* Adjacency effect (stray light)*/
15 #define MPH_BADINPUT 0x0008 /* Bad Input */
16 
17 #define NHABSFLAGS 5
18 #define HABS_CLOUD 0x0001 /* Cloud Flag */
19 #define HABS_NONWTR 0x0002 /* Not Water */
20 #define HABS_SNOWICE 0x0004 /* Snow/Ice */
21 #define HABS_ADJ 0x0008 /* Adjacency effect (stray light)*/
22 #define HABS_BADINPUT 0x0010 /* Bad Input */
23 
24 static const char * const mph_flag_lname[NMPHFLAGS] = {"FLOAT",
25  "CYANO", "ADJACENCY", "BADINPUT"};
26 static const char * const habs_flag_lname[NHABSFLAGS] = {"CLOUD",
27  "NONWATER", "SNOWICE", "ADJACENCY", "BADINPUT"};
28 
29 #endif /* SRC_L2GEN_MPH_FLAGS_H_ */
#define NHABSFLAGS
Definition: mph_flags.h:17
#define NMPHFLAGS
Definition: mph_flags.h:11