1 |
jmc |
1.4 |
C $Header: /u/gcmpack/MITgcm/pkg/aim_v23/aim_readparms.F,v 1.3 2003/01/03 03:51:26 jmc Exp $ |
2 |
jmc |
1.1 |
C $Name: $ |
3 |
|
|
|
4 |
|
|
#include "AIM_OPTIONS.h" |
5 |
|
|
|
6 |
|
|
CBOP |
7 |
|
|
C !ROUTINE: AIM_READPARMS |
8 |
|
|
C !INTERFACE: |
9 |
|
|
SUBROUTINE AIM_READPARMS( myThid ) |
10 |
|
|
|
11 |
|
|
C !DESCRIPTION: \bv |
12 |
|
|
C *==========================================================* |
13 |
|
|
C | S/R AIM_READPARMS |
14 |
|
|
C | o Read AIM physics package parameters |
15 |
|
|
C *==========================================================* |
16 |
|
|
C | Initialized parameter in common blocks: |
17 |
|
|
C | FORCON, SFLCON, CNVCON, LSCCON, RADCON, VDICON |
18 |
|
|
C *==========================================================* |
19 |
|
|
C \ev |
20 |
|
|
|
21 |
|
|
C !USES: |
22 |
|
|
IMPLICIT NONE |
23 |
|
|
|
24 |
|
|
C == Global variables === |
25 |
|
|
#include "AIM_SIZE.h" |
26 |
|
|
#include "EEPARAMS.h" |
27 |
jmc |
1.4 |
#include "PARAMS.h" |
28 |
jmc |
1.2 |
#include "AIM_PARAMS.h" |
29 |
jmc |
1.1 |
|
30 |
|
|
C- Physical constants + functions of sigma and latitude |
31 |
|
|
c #include "com_physcon.h" |
32 |
|
|
C- Constants for sub-grid-scale physics |
33 |
|
|
#include "com_forcon.h" |
34 |
|
|
#include "com_sflcon.h" |
35 |
|
|
#include "com_cnvcon.h" |
36 |
|
|
#include "com_lsccon.h" |
37 |
|
|
#include "com_radcon.h" |
38 |
|
|
#include "com_vdicon.h" |
39 |
|
|
|
40 |
|
|
C !INPUT/OUTPUT PARAMETERS: |
41 |
|
|
C == Routine Arguments == |
42 |
|
|
C myThid - Number of this instance |
43 |
|
|
INTEGER myThid |
44 |
|
|
CEOP |
45 |
|
|
|
46 |
|
|
#ifdef ALLOW_AIM |
47 |
|
|
|
48 |
|
|
C == Local Variables == |
49 |
|
|
C msgBuf - Informational/error meesage buffer |
50 |
|
|
C iUnit - Work variable for IO unit number |
51 |
|
|
CHARACTER*(MAX_LEN_MBUF) msgBuf |
52 |
|
|
INTEGER iUnit |
53 |
|
|
|
54 |
|
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
55 |
|
|
|
56 |
jmc |
1.2 |
C-- AIM interface parameter (common AIM_PARM_?): |
57 |
|
|
C aim_useFMsurfBC :: select surface B.C. from Franco Molteni |
58 |
|
|
C aim_useMMsurfFc :: select Monthly Mean surface forcing (e.g., NCEP) |
59 |
|
|
C aim_surfPotTemp :: surf.Temp input file is in Pot.Temp (aim_useMMsurfFc) |
60 |
|
|
C aim_MMsufx :: sufix for all Monthly Mean surface forcing files |
61 |
|
|
C aim_MMsufxLength :: Length of sufix (Monthly Mean surf. forc. files) |
62 |
|
|
C aim_LandFile :: file name for Land fraction (F.M. surfBC) |
63 |
|
|
C aim_albFile :: file name for Albedo input file (F.M. surfBC) |
64 |
|
|
C aim_vegFile :: file name for vegetation fraction (F.M. surfBC) |
65 |
|
|
C aim_sstFile :: file name for Sea.Surf.Temp (F.M. surfBC) |
66 |
|
|
C aim_lstFile :: file name for Land.Surf.Temp (F.M. surfBC) |
67 |
|
|
C aim_oiceFile :: file name for Sea Ice fraction (F.M. surfBC) |
68 |
|
|
C aim_snowFile :: file name for Snow depth (F.M. surfBC) |
69 |
|
|
C aim_swcFile :: file name for Soil Water content (F.M. surfBC) |
70 |
jmc |
1.3 |
C aim_taveFreq :: Frequency^-1 for time-average output (s) |
71 |
jmc |
1.2 |
C aim_diagFreq :: Frequency^-1 for diagnostic output (s) |
72 |
|
|
C aim_tendFreq :: Frequency^-1 for tendencies output (s) |
73 |
|
|
NAMELIST /AIM_PARAMS/ |
74 |
|
|
& aim_useFMsurfBC, aim_useMMsurfFc, aim_surfPotTemp, |
75 |
|
|
& aim_MMsufx, aim_MMsufxLength, |
76 |
|
|
& aim_LandFile, aim_albFile, aim_vegFile, |
77 |
|
|
& aim_sstFile, aim_lstFile, aim_oiceFile, aim_snowFile, |
78 |
|
|
& aim_swcFile, |
79 |
jmc |
1.3 |
& aim_taveFreq, aim_diagFreq, aim_tendFreq |
80 |
jmc |
1.2 |
|
81 |
jmc |
1.1 |
C-- Physical constants (common PHYCON) : |
82 |
|
|
C P0 = reference pressure |
83 |
|
|
C GG = gravity accel. |
84 |
|
|
C RD = gas constant for dry air |
85 |
|
|
C CP = specific heat at constant pressure |
86 |
|
|
C ALHC = latent heat of condensation |
87 |
|
|
C SBC = Stefan-Boltzmann constant |
88 |
|
|
|
89 |
|
|
C-- Constants for forcing fields (common FORCON) : |
90 |
|
|
C SOLC = Solar constant (area averaged) in W/m^2 |
91 |
|
|
C ALBSEA = Albedo over sea |
92 |
|
|
C ALBICE = Albedo over sea ice (for ice fraction = 1) |
93 |
|
|
C ALBSN = Albedo over snow (for snow depth > SDALB) |
94 |
|
|
C SDALB = Snow depth (mm water) corresponding to maximum albedo |
95 |
|
|
C SWCAP = Soil wetness at field capacity (volume fraction) |
96 |
|
|
C SWWIL = Soil wetness at wilting point (volume fraction) |
97 |
|
|
NAMELIST /AIM_PAR_FOR/ |
98 |
|
|
& SOLC, ALBSEA, ALBICE, ALBSN, |
99 |
|
|
& SDALB, SWCAP, SWWIL |
100 |
|
|
|
101 |
|
|
C-- Constants for surface fluxes (common SFLCON) : |
102 |
|
|
C FWIND0 = ratio of near-sfc wind to lowest-level wind |
103 |
|
|
C FTEMP0 = weight for near-sfc temperature extrapolation (0-1) : |
104 |
|
|
C 1 : linear extrapolation from two lowest levels |
105 |
|
|
C 0 : constant potential temperature ( = lowest level) |
106 |
|
|
C FHUM0 = weight for near-sfc specific humidity extrapolation (0-1) : |
107 |
|
|
C 1 : extrap. with constant relative hum. ( = lowest level) |
108 |
|
|
C 0 : constant specific hum. ( = lowest level) |
109 |
|
|
C CDL = drag coefficient for momentum over land |
110 |
|
|
C CDS = drag coefficient for momentum over sea |
111 |
|
|
C CHL = heat exchange coefficient over land |
112 |
|
|
C CHS = heat exchange coefficient over sea |
113 |
|
|
C VGUST = wind speed for sub-grid-scale gusts |
114 |
|
|
C CTDAY = daily-cycle correction (dTskin/dSSRad) |
115 |
|
|
C DTHETA = Potential temp. gradient for stability correction |
116 |
|
|
C FSTAB = Amplitude of stability correction (fraction) |
117 |
|
|
C HDRAG = Height scale for orographic correction |
118 |
|
|
C FHDRAG = Amplitude of orographic correction (fraction) |
119 |
|
|
NAMELIST /AIM_PAR_SFL/ |
120 |
|
|
& FWIND0, FTEMP0, FHUM0, |
121 |
|
|
& CDL, CDS, CHL, CHS, VGUST, CTDAY, |
122 |
|
|
& DTHETA, FSTAB, HDRAG, FHDRAG |
123 |
|
|
|
124 |
|
|
C-- Convection constants (common CNVCON) : |
125 |
|
|
C PSMIN = minimum (norm.) sfc. pressure for the occurrence of convection |
126 |
|
|
C TRCNV = time of relaxation (in hours) towards reference state |
127 |
|
|
C QBL = specific hum. threshold in the boundary layer |
128 |
|
|
C RHBL = relative hum. threshold in the boundary layer |
129 |
|
|
C RHIL = rel. hum. threshold in intermed. layers for secondary mass flux |
130 |
|
|
C ENTMAX = max. entrainment as a fraction of cloud-base mass flux |
131 |
|
|
C SMF = ratio between secondary and primary mass flux at cloud-base |
132 |
|
|
NAMELIST /AIM_PAR_CNV/ |
133 |
|
|
& PSMIN, TRCNV, QBL, RHBL, RHIL, ENTMAX, SMF |
134 |
|
|
|
135 |
|
|
|
136 |
|
|
C-- Constants for large-scale condendation (common LSCCON) : |
137 |
|
|
C TRLSC = Relaxation time (in hours) for specific humidity |
138 |
|
|
C RHLSC = Maximum relative humidity threshold (at sigma=1) |
139 |
|
|
C DRHLSC = Vertical range of relative humidity threshold |
140 |
|
|
C QSMAX = used to define the maximum latent heat release |
141 |
|
|
NAMELIST /AIM_PAR_LSC/ |
142 |
|
|
& TRLSC, RHLSC, DRHLSC, QSMAX |
143 |
|
|
|
144 |
|
|
C-- Radiation constants (common RADCON) : |
145 |
|
|
C RHCL1 = relative hum. corresponding to cloud cover = 0 |
146 |
|
|
C RHCL2 = relative hum. corresponding to cloud cover = 1 |
147 |
|
|
C QACL1 = specific hum. threshold for cloud cover in the upper troposphere |
148 |
|
|
C QACL2 = specific hum. threshold for cloud cover in the upper troposphere |
149 |
|
|
C ALBCL = cloud albedo (for cloud cover = 1) |
150 |
|
|
C EPSSW = fraction of incoming solar radiation absorbed by ozone |
151 |
|
|
C EPSLW = fraction of surface LW radiation emitted directly to space |
152 |
|
|
C EMISFC = longwave surface emissivity |
153 |
|
|
C--: shortwave absorptivities (for dp = 10^5 Pa) : |
154 |
|
|
C ABSDRY = abs. of dry air (visible band) |
155 |
|
|
C ABSAER = abs. of aerosols (visible band) |
156 |
|
|
C ABSWV1 = abs. of water vapour (visible band, for dq = 1 g/kg) |
157 |
|
|
C ABSWV2 = abs. of water vapour (near IR band, for dq = 1 g/kg) |
158 |
|
|
C ABSCL1 = abs. of clouds (visible band, constant term) |
159 |
|
|
C ABSCL2 = abs. of clouds (visible band, for dw = 1 g/kg) |
160 |
|
|
C--: longwave absorptivities (per dp = 10^5 Pa) : |
161 |
|
|
C ABLWIN = abs. of air in "window" band |
162 |
|
|
C ABLCO2 = abs. of air in CO2 band |
163 |
|
|
C ABLWV1 = abs. of water vapour in H2O band 1 (weak), for dq = 1 g/kg |
164 |
|
|
C ABLWV2 = abs. of water vapour in H2O band 2 (strong), for dq = 1 g/kg |
165 |
|
|
C ABLCL1 = abs. of clouds in "window" band, constant term |
166 |
|
|
C ABLCL2 = abs. of clouds in "window" band, for dw = 1 g/kg |
167 |
|
|
NAMELIST /AIM_PAR_RAD/ |
168 |
|
|
& RHCL1, RHCL2, QACL1, QACL2, ALBCL, |
169 |
|
|
& EPSSW, EPSLW, EMISFC, |
170 |
|
|
& ABSDRY, ABSAER, ABSWV1, ABSWV2, ABSCL1, ABSCL2, |
171 |
|
|
& ABLWIN, ABLCO2, ABLWV1, ABLWV2, ABLCL1, ABLCL2 |
172 |
|
|
|
173 |
|
|
C-- Constants for vertical dif. and sh. conv. (common VDICON) : |
174 |
|
|
C TRSHC = relaxation time (in hours) for shallow convection |
175 |
|
|
C TRVDI = relaxation time (in hours) for moisture diffusion |
176 |
|
|
C TRVDS = relaxation time (in hours) for super-adiab. conditions |
177 |
|
|
C RHGRAD = maximum gradient of relative humidity (d_RH/d_sigma) |
178 |
|
|
C SEGRAD = minimum gradient of dry static energy (d_DSE/d_phi) |
179 |
|
|
NAMELIST /AIM_PAR_VDI/ |
180 |
|
|
& TRSHC, TRVDI, TRVDS, RHGRAD, SEGRAD |
181 |
|
|
|
182 |
|
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
183 |
|
|
|
184 |
|
|
_BEGIN_MASTER(myThid) |
185 |
|
|
|
186 |
|
|
WRITE(msgBuf,'(A)') ' AIM_READ_PHYSPARMS: opening data.aimphys' |
187 |
|
|
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
188 |
|
|
|
189 |
|
|
CALL OPEN_COPY_DATA_FILE( 'data.aimphys', 'AIM_READ_PHYSPARMS', |
190 |
|
|
O iUnit, myThid ) |
191 |
|
|
|
192 |
|
|
C-- Read parameters from open data file: |
193 |
|
|
|
194 |
jmc |
1.2 |
C- Parameters for AIM interface code: |
195 |
|
|
READ(UNIT=iUnit,NML=AIM_PARAMS) |
196 |
|
|
|
197 |
jmc |
1.1 |
C- Constants for boundary forcing |
198 |
|
|
READ(UNIT=iUnit,NML=AIM_PAR_FOR) |
199 |
|
|
|
200 |
|
|
C- Constants for surface fluxes |
201 |
|
|
READ(UNIT=iUnit,NML=AIM_PAR_SFL) |
202 |
|
|
|
203 |
|
|
C- Constants for convection |
204 |
|
|
READ(UNIT=iUnit,NML=AIM_PAR_CNV) |
205 |
|
|
|
206 |
|
|
C- Constants for large-scale condensation |
207 |
|
|
READ(UNIT=iUnit,NML=AIM_PAR_LSC) |
208 |
|
|
|
209 |
|
|
C- Constants for radiation |
210 |
|
|
READ(UNIT=iUnit,NML=AIM_PAR_RAD) |
211 |
|
|
|
212 |
|
|
C- Constants for vertical diffusion and sh. conv. |
213 |
|
|
READ(UNIT=iUnit,NML=AIM_PAR_VDI) |
214 |
|
|
|
215 |
|
|
WRITE(msgBuf,'(A)') |
216 |
|
|
& ' AIM_READ_PHYSPARMS: finished reading data.aimphys' |
217 |
|
|
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
218 |
|
|
|
219 |
|
|
C-- Close the open data file |
220 |
|
|
CLOSE(iUnit) |
221 |
|
|
|
222 |
|
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
223 |
jmc |
1.3 |
C-- Check parameters and model configuration |
224 |
|
|
|
225 |
|
|
C- If aim_taveFreq is positive, then must compile the aim-diagnostics code |
226 |
|
|
#ifndef ALLOW_AIM_TAVE |
227 |
|
|
IF (aim_taveFreq.GT.0.) THEN |
228 |
|
|
WRITE(msgBuf,'(A)') |
229 |
|
|
& 'AIM_READPARMS: aim_taveFreq > 0 but ALLOW_AIM_TAVE undefined' |
230 |
|
|
CALL PRINT_ERROR( msgBuf, myThid) |
231 |
|
|
WRITE(msgBuf,'(2A)') |
232 |
|
|
& 'Re-compile with: #define ALLOW_AIM_TAVE', |
233 |
|
|
& ' or -DALLOW_AIM_TAVE' |
234 |
|
|
CALL PRINT_ERROR( msgBuf, myThid) |
235 |
|
|
STOP 'ABNORMAL END: S/R AIM_READPARMS' |
236 |
|
|
ENDIF |
237 |
|
|
#endif /* ALLOW_AIM_TAVE */ |
238 |
|
|
|
239 |
|
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
240 |
jmc |
1.1 |
C-- Print out parameter values : |
241 |
|
|
|
242 |
|
|
WRITE(msgBuf,'(A)') ' ' |
243 |
|
|
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
244 |
|
|
WRITE(msgBuf,'(A)') '// ===================================' |
245 |
|
|
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
246 |
|
|
WRITE(msgBuf,'(A)') '// AIM physics parameters :' |
247 |
|
|
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
248 |
|
|
WRITE(msgBuf,'(A)') '// ===================================' |
249 |
|
|
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
250 |
jmc |
1.4 |
|
251 |
|
|
CALL WRITE_0D_L( useLand, INDEX_NONE, |
252 |
|
|
& 'useLand =', |
253 |
|
|
&' /* use Land package for surf.BC over land */') |
254 |
jmc |
1.2 |
|
255 |
|
|
C- namelist AIM_PARAMS: |
256 |
|
|
CALL WRITE_0D_L( aim_useFMsurfBC, INDEX_NONE, |
257 |
|
|
& 'aim_useFMsurfBC =', |
258 |
|
|
&' /* F.Molteni surf. BC scheme on/off flag */') |
259 |
|
|
CALL WRITE_0D_L( aim_useMMsurfFc, INDEX_NONE, |
260 |
|
|
& 'aim_useMMsurfFc =', |
261 |
|
|
&' /* Monthly Mean surf. Forcing on/off flag */') |
262 |
|
|
CALL WRITE_0D_L( aim_surfPotTemp, INDEX_NONE, |
263 |
|
|
& 'aim_surfPotTemp =', |
264 |
|
|
&' /* Surf Temp file in Pot.Temp on/off flag */') |
265 |
jmc |
1.3 |
CALL WRITE_0D_R8( aim_taveFreq, INDEX_NONE,'aim_taveFreq =', |
266 |
|
|
& ' /* Frequency^-1 for time-Aver. output (s) */') |
267 |
jmc |
1.2 |
CALL WRITE_0D_R8( aim_diagFreq, INDEX_NONE,'aim_diagFreq =', |
268 |
|
|
& ' /* Frequency^-1 for diagnostic output (s) */') |
269 |
|
|
CALL WRITE_0D_R8( aim_tendFreq, INDEX_NONE,'aim_tendFreq =', |
270 |
|
|
& ' /* Frequency^-1 for tendencies output (s) */') |
271 |
jmc |
1.1 |
|
272 |
|
|
C- namelist AIM_PAR_FOR: |
273 |
|
|
CALL WRITE_0D_R8( SOLC, INDEX_NONE,'AIM_FOR: SOLC =', |
274 |
|
|
& ' /* Solar constant (area averaged) in W/m2 */') |
275 |
|
|
CALL WRITE_0D_R8( ALBSEA,INDEX_NONE,'AIM_FOR: ALBSEA =', |
276 |
|
|
& ' /* Albedo over sea [0-1] */') |
277 |
|
|
CALL WRITE_0D_R8( ALBICE,INDEX_NONE,'AIM_FOR: ALBICE =', |
278 |
|
|
& ' /* Albedo over sea ice (for ice fraction =1) */') |
279 |
|
|
CALL WRITE_0D_R8( ALBSN, INDEX_NONE,'AIM_FOR: ALBSN =', |
280 |
|
|
& ' /* Albedo over snow (for snow depth > SDALB) */') |
281 |
|
|
CALL WRITE_0D_R8( SDALB, INDEX_NONE,'AIM_FOR: SDALB =', |
282 |
|
|
& ' /* Snow depth (mm H2O) corresp. maximum albedo */') |
283 |
|
|
CALL WRITE_0D_R8( SWCAP, INDEX_NONE,'AIM_FOR: SWCAP =', |
284 |
|
|
& ' /* Soil wetness at field capacity (Vol.fract.) */') |
285 |
|
|
CALL WRITE_0D_R8( SWWIL, INDEX_NONE,'AIM_FOR: SWWIL =', |
286 |
|
|
& ' /* Soil wetness at wilting point (Vol.fract.) */') |
287 |
|
|
|
288 |
|
|
C- namelist AIM_PAR_SFL: |
289 |
|
|
CALL WRITE_0D_R8( FWIND0,INDEX_NONE,'AIM_SFL: FWIND0 =', |
290 |
|
|
& ' /* ratio of near-sfc wind to lowest-level wind */') |
291 |
|
|
CALL WRITE_0D_R8( FTEMP0,INDEX_NONE,'AIM_SFL: FTEMP0 =', |
292 |
|
|
& ' /* weight for near-sfc temp. extrapolation (0-1)*/') |
293 |
|
|
CALL WRITE_0D_R8( FHUM0, INDEX_NONE,'AIM_SFL: FHUM0 =', |
294 |
|
|
& ' /* weight for near-sfc spec.humid. extrap. (0-1)*/') |
295 |
|
|
CALL WRITE_0D_R8( CDL, INDEX_NONE,'AIM_SFL: CDL =', |
296 |
|
|
& ' /* drag coefficient for momentum over land */') |
297 |
|
|
CALL WRITE_0D_R8( CDS, INDEX_NONE,'AIM_SFL: CDS =', |
298 |
|
|
& ' /* drag coefficient for momentum over sea */') |
299 |
|
|
CALL WRITE_0D_R8( CHL, INDEX_NONE,'AIM_SFL: CHL =', |
300 |
|
|
& ' /* heat exchange coefficient over land */') |
301 |
|
|
CALL WRITE_0D_R8( CHS, INDEX_NONE,'AIM_SFL: CHS =', |
302 |
|
|
& ' /* heat exchange coefficient over sea */') |
303 |
|
|
CALL WRITE_0D_R8( VGUST, INDEX_NONE,'AIM_SFL: VGUST =', |
304 |
|
|
& ' /* wind speed [m/s] for sub-grid-scale gusts */') |
305 |
|
|
CALL WRITE_0D_R8( CTDAY, INDEX_NONE,'AIM_SFL: CTDAY =', |
306 |
|
|
& ' /* daily-cycle correction (dTskin/dSSRad) */') |
307 |
|
|
CALL WRITE_0D_R8( DTHETA,INDEX_NONE,'AIM_SFL: DTHETA =', |
308 |
|
|
& ' /* Pot.Temp. gradient for stability correction */') |
309 |
|
|
CALL WRITE_0D_R8( FSTAB, INDEX_NONE,'AIM_SFL: FSTAB =', |
310 |
|
|
& ' /* Amplitude of stability correction (fract.) */') |
311 |
|
|
CALL WRITE_0D_R8( HDRAG, INDEX_NONE,'AIM_SFL: HDRAG =', |
312 |
|
|
& ' /* Height scale for orographic correction */') |
313 |
|
|
CALL WRITE_0D_R8( FHDRAG,INDEX_NONE,'AIM_SFL: FHDRAG =', |
314 |
|
|
& ' /* Amplitude of orographic correction (fract.)*/') |
315 |
|
|
|
316 |
|
|
C- namelist AIM_PAR_CNV: |
317 |
|
|
CALL WRITE_0D_R8( PSMIN, INDEX_NONE,'AIM_CNV: PSMIN =', |
318 |
|
|
& ' /* min norm.sfc.P. for occurrence of convect. */') |
319 |
|
|
CALL WRITE_0D_R8( TRCNV, INDEX_NONE,'AIM_CNV: TRCNV =', |
320 |
|
|
& ' /* time of relaxation [h] towards ref state */') |
321 |
|
|
CALL WRITE_0D_R8( QBL, INDEX_NONE,'AIM_CNV: QBL =', |
322 |
|
|
& ' /* specific hum. threshold in the Bound.layer */') |
323 |
|
|
CALL WRITE_0D_R8( RHBL, INDEX_NONE,'AIM_CNV: RHBL =', |
324 |
|
|
& ' /* relative hum. threshold in the Bound.layer */') |
325 |
|
|
CALL WRITE_0D_R8( RHIL, INDEX_NONE,'AIM_CNV: RHIL =', |
326 |
|
|
& ' /* rel.hum. threshold (intern) for 2nd mass.Flx*/') |
327 |
|
|
CALL WRITE_0D_R8( ENTMAX,INDEX_NONE,'AIM_CNV: ENTMAX =', |
328 |
|
|
& ' /* time of relaxation [h] towards neutral eq. */') |
329 |
|
|
CALL WRITE_0D_R8( SMF, INDEX_NONE,'AIM_CNV: SMF =', |
330 |
|
|
& ' /* ratio 2ndary/primary mass.Flx at cloud-base*/') |
331 |
|
|
|
332 |
|
|
C- namelist AIM_PAR_LSC: |
333 |
|
|
CALL WRITE_0D_R8( TRLSC, INDEX_NONE,'AIM_LSC: TRLSC =', |
334 |
|
|
& ' /* relaxation time [h] for supersat. spec.hum. */') |
335 |
|
|
CALL WRITE_0D_R8( RHLSC, INDEX_NONE,'AIM_LSC: RHLSC =', |
336 |
|
|
& ' /* Max rel.humidity threshold (at sigma=1) */') |
337 |
|
|
CALL WRITE_0D_R8( DRHLSC,INDEX_NONE,'AIM_LSC: DRHLSC =', |
338 |
|
|
& ' /* Vertical range of rel.humidity threshold */') |
339 |
|
|
CALL WRITE_0D_R8( QSMAX, INDEX_NONE,'AIM_LSC: QSMAX =', |
340 |
|
|
& ' /* Define the maximum latent heat release */') |
341 |
|
|
|
342 |
|
|
C- namelist AIM_PAR_RAD: |
343 |
|
|
CALL WRITE_0D_R8( RHCL1, INDEX_NONE,'AIM_RAD: RHCL1 =', |
344 |
|
|
& ' /* rel.hum. corresponding to cloud cover = 0 */') |
345 |
|
|
CALL WRITE_0D_R8( RHCL2, INDEX_NONE,'AIM_RAD: RHCL2 =', |
346 |
|
|
& ' /* rel.hum. corresponding to cloud cover = 1 */') |
347 |
|
|
CALL WRITE_0D_R8( QACL1, INDEX_NONE,'AIM_RAD: QACL1 =', |
348 |
|
|
& ' /* spec.hum. threshold for cloud, upper trop. */') |
349 |
|
|
CALL WRITE_0D_R8( QACL2, INDEX_NONE,'AIM_RAD: QACL2 =', |
350 |
|
|
& ' /* spec.hum. threshold for cloud, upper trop. */') |
351 |
|
|
CALL WRITE_0D_R8( ALBCL, INDEX_NONE,'AIM_RAD: ALBCL =', |
352 |
|
|
& ' /* cloud albedo (for cloud cover = 1) */') |
353 |
|
|
CALL WRITE_0D_R8( EPSSW, INDEX_NONE,'AIM_RAD: EPSSW =', |
354 |
|
|
& ' /* fract. of inc.solar rad. absorbed by ozone */') |
355 |
|
|
CALL WRITE_0D_R8( EPSLW, INDEX_NONE,'AIM_RAD: EPSLW =', |
356 |
|
|
& ' /* fract. of sfc LW emitted directly to space */') |
357 |
|
|
CALL WRITE_0D_R8( EMISFC,INDEX_NONE,'AIM_RAD: EMISFC =', |
358 |
|
|
& ' /* longwave surface emissivity */') |
359 |
|
|
|
360 |
|
|
WRITE(msgBuf,'(A)') |
361 |
|
|
& ' AIM_RAD : ShortWave absorptivities (for dp = 10^5 Pa) :' |
362 |
|
|
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
363 |
|
|
CALL WRITE_0D_R8( ABSDRY,INDEX_NONE,'AIM_RAD: ABSDRY =', |
364 |
|
|
& ' /* abs. of dry air (visible band) */') |
365 |
|
|
CALL WRITE_0D_R8( ABSAER,INDEX_NONE,'AIM_RAD: ABSAER =', |
366 |
|
|
& ' /* abs. of aerosols (visible band) */') |
367 |
|
|
CALL WRITE_0D_R8( ABSWV1,INDEX_NONE,'AIM_RAD: ABSWV1 =', |
368 |
|
|
& ' /* abs. of water vap. (vis. band)(/dq, 1g/kg) */') |
369 |
|
|
CALL WRITE_0D_R8( ABSWV1,INDEX_NONE,'AIM_RAD: ABSWV1 =', |
370 |
|
|
& ' /* abs. of water vap. (vis. band)(/dq, 1g/kg) */') |
371 |
|
|
CALL WRITE_0D_R8( ABSWV2,INDEX_NONE,'AIM_RAD: ABSWV2 =', |
372 |
|
|
& ' /* abs. of water vap.(near IR bd)(/dq, 1g/kg) */') |
373 |
|
|
CALL WRITE_0D_R8( ABSCL1,INDEX_NONE,'AIM_RAD: ABSCL1 =', |
374 |
|
|
& ' /* abs. of clouds (vis.band)(constant term) */') |
375 |
|
|
CALL WRITE_0D_R8( ABSCL2,INDEX_NONE,'AIM_RAD: ABSCL2 =', |
376 |
|
|
& ' /* abs. of clouds (vis.band) (/dw, 1g/kg) */') |
377 |
|
|
|
378 |
|
|
WRITE(msgBuf,'(A)') |
379 |
|
|
& ' AIM_RAD : LongWave absorptivities (per dp = 10^5 Pa) :' |
380 |
|
|
CALL WRITE_0D_R8( ABLWIN,INDEX_NONE,'AIM_RAD: ABLWIN =', |
381 |
|
|
& ' /* abs. of air in "window" band */') |
382 |
|
|
CALL WRITE_0D_R8( ABLCO2,INDEX_NONE,'AIM_RAD: ABLCO2 =', |
383 |
|
|
& ' /* abs. of air in CO2 band */') |
384 |
|
|
CALL WRITE_0D_R8( ABLWV1,INDEX_NONE,'AIM_RAD: ABLWV1 =', |
385 |
|
|
& ' /* abs. of Water vap. H2O bd-1(weak)(/dq,1g/kg)*/') |
386 |
|
|
CALL WRITE_0D_R8( ABLWV2,INDEX_NONE,'AIM_RAD: ABLWV2 =', |
387 |
|
|
& ' /* abs. of W. vap., H2O bd-2(strong)(/dq,1g/kg)*/') |
388 |
|
|
CALL WRITE_0D_R8( ABLCL1,INDEX_NONE,'AIM_RAD: ABLCL1 =', |
389 |
|
|
& ' /* abs. of clouds in window band (const term) */') |
390 |
|
|
CALL WRITE_0D_R8( ABLCL2,INDEX_NONE,'AIM_RAD: ABLCL2 =', |
391 |
|
|
& ' /* abs. of clouds in window band (/dw, 1g/kg) */') |
392 |
|
|
|
393 |
|
|
C- namelist AIM_PAR_VDI: |
394 |
|
|
CALL WRITE_0D_R8( TRSHC, INDEX_NONE,'AIM_VDI: TRSHC =', |
395 |
|
|
& ' /* relaxation time [h] for shallow convection */') |
396 |
|
|
CALL WRITE_0D_R8( TRVDI, INDEX_NONE,'AIM_VDI: TRVDI =', |
397 |
|
|
& ' /* relaxation time [h] for moisture diffusion */') |
398 |
|
|
CALL WRITE_0D_R8( TRVDS, INDEX_NONE,'AIM_VDI: TRVDS =', |
399 |
|
|
& ' /* relaxation time [h] for super-adiab. cond. */') |
400 |
|
|
CALL WRITE_0D_R8( RHGRAD,INDEX_NONE,'AIM_VDI: RHGRAD =', |
401 |
|
|
& ' /* max gradient of rel.humidity (d_RH/d_sigma)*/') |
402 |
|
|
CALL WRITE_0D_R8( RHGRAD,INDEX_NONE,'AIM_VDI: RHGRAD =', |
403 |
|
|
& ' /* max grad. of dry static Energy(d_DSE/d_phi)*/') |
404 |
|
|
|
405 |
|
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
406 |
|
|
|
407 |
|
|
_END_MASTER(myThid) |
408 |
|
|
|
409 |
|
|
C-- Everyone else must wait for the parameters to be loaded |
410 |
|
|
_BARRIER |
411 |
|
|
|
412 |
|
|
#endif /* ALLOW_AIM */ |
413 |
|
|
|
414 |
|
|
RETURN |
415 |
|
|
END |