-
Notifications
You must be signed in to change notification settings - Fork 2
/
MAM7_DataMod.F90
212 lines (178 loc) · 9.8 KB
/
MAM7_DataMod.F90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
!-------------------------------------------------------------------------
! NASA/GSFC, Global Modeling and Assimilation Office, Code 710.1 !
!-------------------------------------------------------------------------
!BOP
!
! !MODULE: MAM7_DataMod - basic MAM7 parameters and types
!
! !INTERFACE:
!
MODULE MAM7_DataMod
!
! !USES:
!
IMPLICIT NONE
PRIVATE
!
! !PUBLIC MEMBER FUNCTIONS:
!
! !DESCRIPTION:
!
! {\tt MAM7\_DataMod} provides a collection of parameters and
! types used in the MAM code.
!
!
! !REVISION HISTORY:
!
! 14Sep2011 A. Darmenov Initial version
!
!EOP
!-------------------------------------------------------------------------
! Number of aerosol components
! ----------------------------
integer, public, parameter :: MAM7_AEROSOL_COMPONENTS = 7
! Number of modes
! ---------------
integer, public, parameter :: MAM7_MODES = 7
! Mode IDs
! ------------------
integer, public, parameter :: MAM7_AITKEN_MODE_ID = 1
integer, public, parameter :: MAM7_ACCUMULATION_MODE_ID = 2
integer, public, parameter :: MAM7_PRIMARY_CARBON_MODE_ID = 3
integer, public, parameter :: MAM7_FINE_SEASALT_MODE_ID = 4
integer, public, parameter :: MAM7_FINE_DUST_MODE_ID = 5
integer, public, parameter :: MAM7_COARSE_SEASALT_MODE_ID = 6
integer, public, parameter :: MAM7_COARSE_DUST_MODE_ID = 7
! Mode Names
! ------------------
character(len=*), public, parameter :: MAM7_AITKEN_MODE_NAME = 'AIT'
character(len=*), public, parameter :: MAM7_ACCUMULATION_MODE_NAME = 'ACC'
character(len=*), public, parameter :: MAM7_PRIMARY_CARBON_MODE_NAME = 'PCM'
character(len=*), public, parameter :: MAM7_FINE_SEASALT_MODE_NAME = 'FSS'
character(len=*), public, parameter :: MAM7_FINE_DUST_MODE_NAME = 'FDU'
character(len=*), public, parameter :: MAM7_COARSE_SEASALT_MODE_NAME = 'CSS'
character(len=*), public, parameter :: MAM7_COARSE_DUST_MODE_NAME = 'CDU'
! Number of species
! -----------------
integer, public, parameter :: MAM7_AITKEN_MODE_SPECIES = 4
integer, public, parameter :: MAM7_ACCUMULATION_MODE_SPECIES = 6
integer, public, parameter :: MAM7_PRIMARY_CARBON_MODE_SPECIES = 2
integer, public, parameter :: MAM7_FINE_SEASALT_MODE_SPECIES = 3
integer, public, parameter :: MAM7_FINE_DUST_MODE_SPECIES = 3
integer, public, parameter :: MAM7_COARSE_SEASALT_MODE_SPECIES = 3
integer, public, parameter :: MAM7_COARSE_DUST_MODE_SPECIES = 3
! Geometric standard deviation
! ------------------------------
real, public, parameter :: MAM7_AITKEN_MODE_SIGMA = 1.6
real, public, parameter :: MAM7_ACCUMULATION_MODE_SIGMA = 1.8
real, public, parameter :: MAM7_PRIMARY_CARBON_MODE_SIGMA = 1.6
real, public, parameter :: MAM7_FINE_SEASALT_MODE_SIGMA = 2.0
real, public, parameter :: MAM7_FINE_DUST_MODE_SIGMA = 1.8
real, public, parameter :: MAM7_COARSE_SEASALT_MODE_SIGMA = 2.0
real, public, parameter :: MAM7_COARSE_DUST_MODE_SIGMA = 1.8
! Default Size - Median geometric diameter of number size distribution), 'm'
! ------------
real, public, parameter :: MAM7_AITKEN_MODE_SIZE = 0.0260e-6
real, public, parameter :: MAM7_ACCUMULATION_MODE_SIZE = 0.1100e-6
real, public, parameter :: MAM7_PRIMARY_CARBON_MODE_SIZE = 0.0500e-6
real, public, parameter :: MAM7_FINE_SEASALT_MODE_SIZE = 0.2000e-6
real, public, parameter :: MAM7_FINE_DUST_MODE_SIZE = 0.1000e-6
real, public, parameter :: MAM7_COARSE_SEASALT_MODE_SIZE = 2.0000e-6
real, public, parameter :: MAM7_COARSE_DUST_MODE_SIZE = 1.0000e-6
! Minimum Size - lower limit of the number size distribution), 'm'
! ------------
real, public, parameter :: MAM7_AITKEN_MODE_SIZE_MIN = 0.0087e-6
real, public, parameter :: MAM7_ACCUMULATION_MODE_SIZE_MIN = 0.0535e-6
real, public, parameter :: MAM7_PRIMARY_CARBON_MODE_SIZE_MIN = 0.0100e-6
real, public, parameter :: MAM7_FINE_SEASALT_MODE_SIZE_MIN = 0.0500e-6
real, public, parameter :: MAM7_FINE_DUST_MODE_SIZE_MIN = 0.0500e-6
real, public, parameter :: MAM7_COARSE_SEASALT_MODE_SIZE_MIN = 1.0000e-6
real, public, parameter :: MAM7_COARSE_DUST_MODE_SIZE_MIN = 0.5000e-6
! Maximum Size - upper limit of the number size distribution), 'm'
! ------------
real, public, parameter :: MAM7_AITKEN_MODE_SIZE_MAX = 0.0520e-6
real, public, parameter :: MAM7_ACCUMULATION_MODE_SIZE_MAX = 0.4400e-6
real, public, parameter :: MAM7_PRIMARY_CARBON_MODE_SIZE_MAX = 0.1000e-6
real, public, parameter :: MAM7_FINE_SEASALT_MODE_SIZE_MAX = 1.0000e-6
real, public, parameter :: MAM7_FINE_DUST_MODE_SIZE_MAX = 0.5000e-6
real, public, parameter :: MAM7_COARSE_SEASALT_MODE_SIZE_MAX = 4.0000e-6
real, public, parameter :: MAM7_COARSE_DUST_MODE_SIZE_MAX = 2.0000e-6
! Crystallization RH points
! ------------------------
real, public, parameter :: MAM7_AITKEN_MODE_RH_CRYSTALLIZATION = 0.350
real, public, parameter :: MAM7_ACCUMULATION_MODE_RH_CRYSTALLIZATION = 0.350
real, public, parameter :: MAM7_PRIMARY_CARBON_MODE_RH_CRYSTALLIZATION = 0.350
real, public, parameter :: MAM7_FINE_SEASALT_MODE_RH_CRYSTALLIZATION = 0.350
real, public, parameter :: MAM7_FINE_DUST_MODE_RH_CRYSTALLIZATION = 0.350
real, public, parameter :: MAM7_COARSE_SEASALT_MODE_RH_CRYSTALLIZATION = 0.350
real, public, parameter :: MAM7_COARSE_DUST_MODE_RH_CRYSTALLIZATION = 0.350
! Deliquescence RH points
! ------------------------
real, public, parameter :: MAM7_AITKEN_MODE_RH_DELIQUESCENCE = 0.800
real, public, parameter :: MAM7_ACCUMULATION_MODE_RH_DELIQUESCENCE = 0.800
real, public, parameter :: MAM7_PRIMARY_CARBON_MODE_RH_DELIQUESCENCE = 0.800
real, public, parameter :: MAM7_FINE_SEASALT_MODE_RH_DELIQUESCENCE = 0.800
real, public, parameter :: MAM7_FINE_DUST_MODE_RH_DELIQUESCENCE = 0.800
real, public, parameter :: MAM7_COARSE_SEASALT_MODE_RH_DELIQUESCENCE = 0.800
real, public, parameter :: MAM7_COARSE_DUST_MODE_RH_DELIQUESCENCE = 0.800
! Sea-salt emission cut-off size ranges in [m]
! ----------------------------------------------
real, public, parameter :: MAM7_AIT_SS_D_CUTOFF(2) = (/ 0.02, 0.08 /) * 1.0e-6
real, public, parameter :: MAM7_ACC_SS_D_CUTOFF(2) = (/ 0.08, 0.30 /) * 1.0e-6
real, public, parameter :: MAM7_FSS_SS_D_CUTOFF(2) = (/ 0.30, 1.00 /) * 1.0e-6
real, public, parameter :: MAM7_CSS_SS_D_CUTOFF(2) = (/ 1.00, 10.0 /) * 1.0e-6
! Dust emission cut-off size ranges in units [m]
! ----------------------------------------------
real, public, parameter :: MAM7_FDU_DU_D_CUTOFF(2) = (/ 0.10, 2.00 /) * 1.0e-6
real, public, parameter :: MAM7_CDU_DU_D_CUTOFF(2) = (/ 2.00, 10.0 /) * 1.0e-6
! ...conveniently packed, use the MAM7_MODE_ID array to inquire data
! -------------------------------------------------------------------
integer, public, parameter, dimension(MAM7_MODES) :: &
MAM7_MODE_ID = (/ MAM7_AITKEN_MODE_ID, &
MAM7_ACCUMULATION_MODE_ID, &
MAM7_PRIMARY_CARBON_MODE_ID, &
MAM7_FINE_SEASALT_MODE_ID, &
MAM7_FINE_DUST_MODE_ID, &
MAM7_COARSE_SEASALT_MODE_ID, &
MAM7_COARSE_DUST_MODE_ID /)
character(len=*), public, parameter, dimension(MAM7_MODES) :: &
MAM7_MODE_NAME = (/ MAM7_AITKEN_MODE_NAME, &
MAM7_ACCUMULATION_MODE_NAME, &
MAM7_PRIMARY_CARBON_MODE_NAME, &
MAM7_FINE_SEASALT_MODE_NAME, &
MAM7_FINE_DUST_MODE_NAME, &
MAM7_COARSE_SEASALT_MODE_NAME, &
MAM7_COARSE_DUST_MODE_NAME /)
real, public, parameter, dimension(MAM7_MODES) :: &
MAM7_MODE_SIGMA = (/ MAM7_AITKEN_MODE_SIGMA, &
MAM7_ACCUMULATION_MODE_SIGMA, &
MAM7_PRIMARY_CARBON_MODE_SIGMA, &
MAM7_FINE_SEASALT_MODE_SIGMA, &
MAM7_FINE_DUST_MODE_SIGMA, &
MAM7_COARSE_SEASALT_MODE_SIGMA, &
MAM7_COARSE_DUST_MODE_SIGMA /)
integer, public, parameter, dimension(4) :: &
MAM7_SS_EMISSION_MODE_ID = (/ MAM7_AITKEN_MODE_ID, &
MAM7_ACCUMULATION_MODE_ID, &
MAM7_FINE_SEASALT_MODE_ID, &
MAM7_COARSE_SEASALT_MODE_ID /)
real, public, parameter, dimension(4) :: &
MAM7_SS_EMISSION_D_CUTOFF_LOW = (/ MAM7_AIT_SS_D_CUTOFF(1), &
MAM7_ACC_SS_D_CUTOFF(1), &
MAM7_FSS_SS_D_CUTOFF(1), &
MAM7_CSS_SS_D_CUTOFF(1) /)
real, public, parameter, dimension(4) :: &
MAM7_SS_EMISSION_D_CUTOFF_UP = (/ MAM7_AIT_SS_D_CUTOFF(2), &
MAM7_ACC_SS_D_CUTOFF(2), &
MAM7_FSS_SS_D_CUTOFF(2), &
MAM7_CSS_SS_D_CUTOFF(2) /)
integer, public, parameter, dimension(2) :: &
MAM7_DU_EMISSION_MODE_ID = (/ MAM7_FINE_DUST_MODE_ID, &
MAM7_COARSE_DUST_MODE_ID /)
real, public, parameter, dimension(2) :: &
MAM7_DU_EMISSION_D_CUTOFF_LOW = (/ MAM7_FDU_DU_D_CUTOFF(1), &
MAM7_CDU_DU_D_CUTOFF(1) /)
real, public, parameter, dimension(2) :: &
MAM7_DU_EMISSION_D_CUTOFF_UP = (/ MAM7_FDU_DU_D_CUTOFF(2), &
MAM7_CDU_DU_D_CUTOFF(2) /)
END MODULE MAM7_DataMod