OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
modis_cloudstructure.f90
Go to the documentation of this file.
2 
3 ! These desginations can only really be understood in conjunction with
4 ! the following document:
5 ! http://modis-atmos.gsfc.nasa.gov/MOD35_L2/format.html
6 ! Commented field names are from this document
7 
8 ! mag Sept 2003
9 
11 
12 ! top level flags
13  logical :: cloudmask_determined
14  logical :: confident_cloudy
15  logical :: probablyclear_66
16  logical :: probablyclear_95
17  logical :: probablyclear_99
18 
19 ! processing path flags
20  integer*1 :: night
21  integer*1 :: sunglint
22  logical :: snowice_surface
23 
24  logical :: water_surface
25  logical :: coastal_surface
26  logical :: desert_surface
27  logical :: land_surface
28 
29  integer*1 :: ocean_no_snow
30  integer*1 :: ocean_snow
31  integer*1 :: land_no_snow
32  integer*1 :: land_snow
33 
34 #ifndef SEVIRI_INST
35 
36 #if EMAS_INST || AMS_INST || MAS_INST
37 
38  logical :: test_high_67
39  logical :: test_high_138
40  logical :: test_irdiff
41  logical :: test_39_11
42  logical :: test_visiblereflectance
43 
44  logical :: applied_highcloud67
45  logical :: applied_highcloud138
46  logical :: applied_irtempdifference
47  logical :: applied_39_11
48  logical :: applied_visiblereflectance
49 
50 #else
51 ! 1km cloud test flags
52  integer*1 :: test_high_138 ! High Cloud Flag (1.38 micron Test)
53  integer*1 :: test_visiblereflectance
54  integer*1 :: test_visnirratio ! KGM 3-4-13, GW 3.28.13
55 
56 ! 250m cloud test flags
57  integer*1 :: visible_cloudtest_250m
58 
59 ! 1km cloud test application flags
60 
61  integer*1 :: applied_highcloud138
62  integer*1 :: applied_visiblereflectance
63  integer*1 :: applied_visnirratio ! KGM 3-4-13 GW 3.28.13
64 #endif
65 
66 #else
67 
68  integer*1 :: partly_cloudy
69 
70 #endif
71 
72 
73  end type cloudmask_type
74 
75  type processflag ! WDR-UIV
76  logical :: cloudmask_determined = .false.
77  logical :: cloudobserved = .false.
78  logical :: land_surface = .false.
79  logical :: ocean_surface = .false.
80  logical :: coastal_surface = .false.
81  logical :: desert_surface = .false.
82  logical :: snowice_surface = .false.
83  logical :: watercloud = .false.
84  logical :: icecloud = .false.
85  logical :: unknowncloud = .false.
86  end type processflag
87 
89  integer*1 :: watercloud
90  integer*1 :: icecloud
91  integer*1 :: unknowncloud
92 #ifdef CT_CODE
93  integer*1 :: mlayer
94 #endif
95 
96  end type cloudphase
97 
98 
99 
100 end module modis_cloudstructure