1 |
C $Header: /u/gcmpack/MITgcm/pkg/aim_v23/aim_readparms.F,v 1.8 2004/06/24 23:43:11 jmc Exp $ |
2 |
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 |
#include "PARAMS.h" |
28 |
#include "AIM_PARAMS.h" |
29 |
|
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 |
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_energPrecip :: account for energy of precipitation (snow & rain temp) |
61 |
C aim_splitSIOsFx :: compute separately Sea-Ice & Ocean surf. Flux |
62 |
C (also land SW & LW) ; default=F as in original version |
63 |
C aim_MMsufx :: sufix for all Monthly Mean surface forcing files |
64 |
C aim_MMsufxLength :: Length of sufix (Monthly Mean surf. forc. files) |
65 |
C aim_LandFile :: file name for Land fraction (F.M. surfBC) |
66 |
C aim_albFile :: file name for Albedo input file (F.M. surfBC) |
67 |
C aim_vegFile :: file name for vegetation fraction (F.M. surfBC) |
68 |
C aim_sstFile :: file name for Sea.Surf.Temp (F.M. surfBC) |
69 |
C aim_lstFile :: file name for Land.Surf.Temp (F.M. surfBC) |
70 |
C aim_oiceFile :: file name for Sea Ice fraction (F.M. surfBC) |
71 |
C aim_snowFile :: file name for Snow depth (F.M. surfBC) |
72 |
C aim_swcFile :: file name for Soil Water content (F.M. surfBC) |
73 |
C aim_dragStrato :: stratospheric-drag damping time scale (s) |
74 |
C aim_clrSkyDiag :: compute clear-sky radiation for diagnostics |
75 |
C aim_taveFreq :: Frequency^-1 for time-average output (s) |
76 |
C aim_diagFreq :: Frequency^-1 for diagnostic output (s) |
77 |
C aim_tendFreq :: Frequency^-1 for tendencies output (s) |
78 |
C aim_tave_mnc :: write TimeAverage output using MNC |
79 |
NAMELIST /AIM_PARAMS/ |
80 |
& aim_useFMsurfBC, aim_useMMsurfFc, |
81 |
& aim_surfPotTemp, aim_energPrecip, aim_splitSIOsFx, |
82 |
& aim_MMsufx, aim_MMsufxLength, |
83 |
& aim_LandFile, aim_albFile, aim_vegFile, |
84 |
& aim_sstFile, aim_lstFile, aim_oiceFile, aim_snowFile, |
85 |
& aim_swcFile, |
86 |
& aim_dragStrato, |
87 |
& aim_clrSkyDiag, aim_taveFreq, aim_diagFreq, aim_tendFreq, |
88 |
& aim_tave_mnc |
89 |
|
90 |
C-- Physical constants (common PHYCON) : |
91 |
C P0 = reference pressure [Pa=N/m2] |
92 |
C GG = gravity accel. [m/s2] |
93 |
C RD = gas constant for dry air [J/kg/K] |
94 |
C CP = specific heat at constant pressure [J/kg/K] |
95 |
C ALHC = latent heat of condensation [J/g] |
96 |
C ALHF = latent heat of freezing [J/g] |
97 |
C SBC = Stefan-Boltzmann constant |
98 |
C rainCP = heat capacity of liquid water [J/g/K] |
99 |
C tFreeze = freezing temperature of pure water [K] |
100 |
|
101 |
C-- Constants for forcing fields (common FORCON) : |
102 |
C SOLC = Solar constant (area averaged) in W/m^2 |
103 |
C ALBSEA = Albedo over sea |
104 |
C ALBICE = Albedo over sea ice (for ice fraction = 1) |
105 |
C ALBSN = Albedo over snow (for snow depth > SDALB) |
106 |
C SDALB = Snow depth (mm water) corresponding to maximum albedo |
107 |
C SWCAP = Soil wetness at field capacity (volume fraction) |
108 |
C SWWIL = Soil wetness at wilting point (volume fraction) |
109 |
C hSnowWetness :: snow depth (m) corresponding to maximum wetness |
110 |
NAMELIST /AIM_PAR_FOR/ |
111 |
& SOLC, ALBSEA, ALBICE, ALBSN, |
112 |
& SDALB, SWCAP, SWWIL, hSnowWetness |
113 |
|
114 |
C-- Constants for surface fluxes (common SFLCON) : |
115 |
C FWIND0 = ratio of near-sfc wind to lowest-level wind |
116 |
C FTEMP0 = weight for near-sfc temperature extrapolation (0-1) : |
117 |
C 1 : linear extrapolation from two lowest levels |
118 |
C 0 : constant potential temperature ( = lowest level) |
119 |
C FHUM0 = weight for near-sfc specific humidity extrapolation (0-1) : |
120 |
C 1 : extrap. with constant relative hum. ( = lowest level) |
121 |
C 0 : constant specific hum. ( = lowest level) |
122 |
C CDL = drag coefficient for momentum over land |
123 |
C CDS = drag coefficient for momentum over sea |
124 |
C CHL = heat exchange coefficient over land |
125 |
C CHS = heat exchange coefficient over sea |
126 |
C VGUST = wind speed for sub-grid-scale gusts |
127 |
C CTDAY = daily-cycle correction (dTskin/dSSRad) |
128 |
C DTHETA = Potential temp. gradient for stability correction |
129 |
C dTstab = potential temp. increment for stability function derivative |
130 |
C FSTAB = Amplitude of stability correction (fraction) |
131 |
C HDRAG = Height scale for orographic correction |
132 |
C FHDRAG = Amplitude of orographic correction (fraction) |
133 |
NAMELIST /AIM_PAR_SFL/ |
134 |
& FWIND0, FTEMP0, FHUM0, |
135 |
& CDL, CDS, CHL, CHS, VGUST, CTDAY, |
136 |
& DTHETA, dTstab, FSTAB, HDRAG, FHDRAG |
137 |
|
138 |
C-- Convection constants (common CNVCON) : |
139 |
C PSMIN = minimum (norm.) sfc. pressure for the occurrence of convection |
140 |
C TRCNV = time of relaxation (in hours) towards reference state |
141 |
C QBL = specific hum. threshold in the boundary layer |
142 |
C RHBL = relative hum. threshold in the boundary layer |
143 |
C RHIL = rel. hum. threshold in intermed. layers for secondary mass flux |
144 |
C ENTMAX = max. entrainment as a fraction of cloud-base mass flux |
145 |
C SMF = ratio between secondary and primary mass flux at cloud-base |
146 |
NAMELIST /AIM_PAR_CNV/ |
147 |
& PSMIN, TRCNV, QBL, RHBL, RHIL, ENTMAX, SMF |
148 |
|
149 |
|
150 |
C-- Constants for large-scale condendation (common LSCCON) : |
151 |
C TRLSC = Relaxation time (in hours) for specific humidity |
152 |
C RHLSC = Maximum relative humidity threshold (at sigma=1) |
153 |
C DRHLSC = Vertical range of relative humidity threshold |
154 |
C QSMAX = used to define the maximum latent heat release |
155 |
NAMELIST /AIM_PAR_LSC/ |
156 |
& TRLSC, RHLSC, DRHLSC, QSMAX |
157 |
|
158 |
C-- Radiation constants (common RADCON) : |
159 |
C RHCL1 = relative hum. corresponding to cloud cover = 0 |
160 |
C RHCL2 = relative hum. corresponding to cloud cover = 1 |
161 |
C QACL1 = specific hum. threshold for cloud cover in the upper troposphere |
162 |
C QACL2 = specific hum. threshold for cloud cover in the upper troposphere |
163 |
C ALBCL = cloud albedo (for cloud cover = 1) |
164 |
C EPSSW = fraction of incoming solar radiation absorbed by ozone |
165 |
C EPSLW = fraction of surface LW radiation emitted directly to space |
166 |
C EMISFC = longwave surface emissivity |
167 |
C--: shortwave absorptivities (for dp = 10^5 Pa) : |
168 |
C ABSDRY = abs. of dry air (visible band) |
169 |
C ABSAER = abs. of aerosols (visible band) |
170 |
C ABSWV1 = abs. of water vapour (visible band, for dq = 1 g/kg) |
171 |
C ABSWV2 = abs. of water vapour (near IR band, for dq = 1 g/kg) |
172 |
C ABSCL1 = abs. of clouds (visible band, constant term) |
173 |
C ABSCL2 = abs. of clouds (visible band, for dw = 1 g/kg) |
174 |
C--: longwave absorptivities (per dp = 10^5 Pa) : |
175 |
C ABLWIN = abs. of air in "window" band |
176 |
C ABLCO2 = abs. of air in CO2 band |
177 |
C ABLWV1 = abs. of water vapour in H2O band 1 (weak), for dq = 1 g/kg |
178 |
C ABLWV2 = abs. of water vapour in H2O band 2 (strong), for dq = 1 g/kg |
179 |
C ABLCL1 = abs. of clouds in "window" band, constant term |
180 |
C ABLCL2 = abs. of clouds in "window" band, for dw = 1 g/kg |
181 |
NAMELIST /AIM_PAR_RAD/ |
182 |
& RHCL1, RHCL2, QACL1, QACL2, ALBCL, |
183 |
& EPSSW, EPSLW, EMISFC, |
184 |
& ABSDRY, ABSAER, ABSWV1, ABSWV2, ABSCL1, ABSCL2, |
185 |
& ABLWIN, ABLCO2, ABLWV1, ABLWV2, ABLCL1, ABLCL2 |
186 |
|
187 |
C-- Constants for vertical dif. and sh. conv. (common VDICON) : |
188 |
C TRSHC = relaxation time (in hours) for shallow convection |
189 |
C TRVDI = relaxation time (in hours) for moisture diffusion |
190 |
C TRVDS = relaxation time (in hours) for super-adiab. conditions |
191 |
C RHGRAD = maximum gradient of relative humidity (d_RH/d_sigma) |
192 |
C SEGRAD = minimum gradient of dry static energy (d_DSE/d_phi) |
193 |
NAMELIST /AIM_PAR_VDI/ |
194 |
& TRSHC, TRVDI, TRVDS, RHGRAD, SEGRAD |
195 |
|
196 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
197 |
|
198 |
_BEGIN_MASTER(myThid) |
199 |
|
200 |
WRITE(msgBuf,'(A)') ' AIM_READ_PHYSPARMS: opening data.aimphys' |
201 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
202 |
|
203 |
CALL OPEN_COPY_DATA_FILE( 'data.aimphys', 'AIM_READ_PHYSPARMS', |
204 |
O iUnit, myThid ) |
205 |
|
206 |
C-- Read parameters from open data file: |
207 |
|
208 |
C- Parameters for AIM interface code: |
209 |
READ(UNIT=iUnit,NML=AIM_PARAMS) |
210 |
|
211 |
C- Constants for boundary forcing |
212 |
READ(UNIT=iUnit,NML=AIM_PAR_FOR) |
213 |
|
214 |
C- Constants for surface fluxes |
215 |
READ(UNIT=iUnit,NML=AIM_PAR_SFL) |
216 |
|
217 |
C- Constants for convection |
218 |
READ(UNIT=iUnit,NML=AIM_PAR_CNV) |
219 |
|
220 |
C- Constants for large-scale condensation |
221 |
READ(UNIT=iUnit,NML=AIM_PAR_LSC) |
222 |
|
223 |
C- Constants for radiation |
224 |
READ(UNIT=iUnit,NML=AIM_PAR_RAD) |
225 |
|
226 |
C- Constants for vertical diffusion and sh. conv. |
227 |
READ(UNIT=iUnit,NML=AIM_PAR_VDI) |
228 |
|
229 |
WRITE(msgBuf,'(A)') |
230 |
& ' AIM_READ_PHYSPARMS: finished reading data.aimphys' |
231 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
232 |
|
233 |
C-- Close the open data file |
234 |
CLOSE(iUnit) |
235 |
|
236 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
237 |
C-- Check parameters and model configuration |
238 |
|
239 |
#ifndef ALLOW_CLR_SKY_DIAG |
240 |
C- If aim_clrSkyDiag is set, then must compile the Clear-Sky Diagnostic code |
241 |
IF ( aim_clrSkyDiag ) THEN |
242 |
WRITE(msgBuf,'(A)') |
243 |
& 'AIM_READPARMS: aim_clrSkyDiag=T but ALLOW_CLR_SKY_DIAG undef' |
244 |
CALL PRINT_ERROR( msgBuf, myThid) |
245 |
WRITE(msgBuf,'(2A)') |
246 |
& 'Re-compile with: #define ALLOW_CLR_SKY_DIAG (AIM_OPTIONS.h)' |
247 |
CALL PRINT_ERROR( msgBuf, myThid) |
248 |
STOP 'ABNORMAL END: S/R AIM_READPARMS' |
249 |
ENDIF |
250 |
#endif |
251 |
|
252 |
C- If aim_taveFreq is positive, then must compile the aim-diagnostics code |
253 |
#ifndef ALLOW_AIM_TAVE |
254 |
IF (aim_taveFreq.GT.0.) THEN |
255 |
WRITE(msgBuf,'(A)') |
256 |
& 'AIM_READPARMS: aim_taveFreq > 0 but ALLOW_AIM_TAVE undefined' |
257 |
CALL PRINT_ERROR( msgBuf, myThid) |
258 |
WRITE(msgBuf,'(2A)') |
259 |
& 'Re-compile with: #define ALLOW_AIM_TAVE (AIM_OPTIONS.h)' |
260 |
CALL PRINT_ERROR( msgBuf, myThid) |
261 |
STOP 'ABNORMAL END: S/R AIM_READPARMS' |
262 |
ENDIF |
263 |
#endif /* ALLOW_AIM_TAVE */ |
264 |
|
265 |
#ifdef ALLOW_MNC |
266 |
IF (useMNC) THEN |
267 |
IF ( .NOT.outputTypesInclusive |
268 |
& .AND. aim_tave_mnc ) aim_tave_mdsio = .FALSE. |
269 |
ENDIF |
270 |
#else |
271 |
C Stop if MNC is not compiled-in and aim_tave_mnc=.TRUE. |
272 |
IF (aim_tave_mnc) THEN |
273 |
WRITE(msgBuf,'(2A)') 'AIM_READPARMS: aim_tave_mnc=.TRUE. ', |
274 |
& 'but ALLOW_MNC is undefined' |
275 |
CALL PRINT_ERROR( msgBuf, myThid) |
276 |
WRITE(msgBuf,'(2A)') 'Please re-compile with the MNC ', |
277 |
& 'package enabled' |
278 |
CALL PRINT_ERROR( msgBuf, myThid) |
279 |
STOP 'ABNORMAL END: S/R AIM_READPARMS' |
280 |
ENDIF |
281 |
#endif /* ALLOW_MNC */ |
282 |
|
283 |
|
284 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
285 |
C-- Print out parameter values : |
286 |
|
287 |
WRITE(msgBuf,'(A)') ' ' |
288 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
289 |
WRITE(msgBuf,'(A)') '// ===================================' |
290 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
291 |
WRITE(msgBuf,'(A)') '// AIM physics parameters :' |
292 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
293 |
WRITE(msgBuf,'(A)') '// ===================================' |
294 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
295 |
|
296 |
CALL WRITE_0D_L( useLand, INDEX_NONE, |
297 |
& 'useLand =', |
298 |
&' /* use Land package for surf.BC over land */') |
299 |
|
300 |
C- namelist AIM_PARAMS: |
301 |
CALL WRITE_0D_L( aim_useFMsurfBC, INDEX_NONE, |
302 |
& 'aim_useFMsurfBC =', |
303 |
&' /* F.Molteni surf. BC scheme on/off flag */') |
304 |
CALL WRITE_0D_L( aim_useMMsurfFc, INDEX_NONE, |
305 |
& 'aim_useMMsurfFc =', |
306 |
&' /* Monthly Mean surf. Forcing on/off flag */') |
307 |
CALL WRITE_0D_L( aim_surfPotTemp, INDEX_NONE, |
308 |
& 'aim_surfPotTemp =', |
309 |
&' /* Surf Temp file in Pot.Temp on/off flag */') |
310 |
CALL WRITE_0D_L( aim_energPrecip, INDEX_NONE, |
311 |
& 'aim_energPrecip =', |
312 |
& ' /* account for energy of precip. on/off flag */') |
313 |
CALL WRITE_0D_L( aim_splitSIOsFx, INDEX_NONE, |
314 |
& 'aim_splitSIOsFx =', |
315 |
& ' /* separate Sea-Ice & Ocean Flux on/off flag */') |
316 |
CALL WRITE_0D_R8(aim_dragStrato,INDEX_NONE,'aim_dragStrato=', |
317 |
& ' /* stratospheric-drag damping time scale (s) */') |
318 |
CALL WRITE_0D_L( aim_clrSkyDiag, INDEX_NONE, |
319 |
& 'aim_clrSkyDiag =', |
320 |
& ' /* do clear-sky radiation diagnostics */') |
321 |
CALL WRITE_0D_R8( aim_taveFreq, INDEX_NONE,'aim_taveFreq =', |
322 |
& ' /* Frequency^-1 for time-Aver. output (s) */') |
323 |
CALL WRITE_0D_R8( aim_diagFreq, INDEX_NONE,'aim_diagFreq =', |
324 |
& ' /* Frequency^-1 for diagnostic output (s) */') |
325 |
CALL WRITE_0D_R8( aim_tendFreq, INDEX_NONE,'aim_tendFreq =', |
326 |
& ' /* Frequency^-1 for tendencies output (s) */') |
327 |
|
328 |
C- namelist AIM_PAR_FOR: |
329 |
CALL WRITE_0D_R8( SOLC, INDEX_NONE,'AIM_FOR: SOLC =', |
330 |
& ' /* Solar constant (area averaged) in W/m2 */') |
331 |
CALL WRITE_0D_R8( ALBSEA,INDEX_NONE,'AIM_FOR: ALBSEA =', |
332 |
& ' /* Albedo over sea [0-1] */') |
333 |
CALL WRITE_0D_R8( ALBICE,INDEX_NONE,'AIM_FOR: ALBICE =', |
334 |
& ' /* Albedo over sea ice (for ice fraction =1) */') |
335 |
CALL WRITE_0D_R8( ALBSN, INDEX_NONE,'AIM_FOR: ALBSN =', |
336 |
& ' /* Albedo over snow (for snow depth > SDALB) */') |
337 |
CALL WRITE_0D_R8( SDALB, INDEX_NONE,'AIM_FOR: SDALB =', |
338 |
& ' /* Snow depth (mm H2O) corresp. maximum albedo */') |
339 |
CALL WRITE_0D_R8( SWCAP, INDEX_NONE,'AIM_FOR: SWCAP =', |
340 |
& ' /* Soil wetness at field capacity (Vol.fract.) */') |
341 |
CALL WRITE_0D_R8( SWWIL, INDEX_NONE,'AIM_FOR: SWWIL =', |
342 |
& ' /* Soil wetness at wilting point (Vol.fract.) */') |
343 |
CALL WRITE_0D_R8( hSnowWetness, INDEX_NONE, |
344 |
& 'AIM_FOR: hSnowWetness=', |
345 |
& ' /* snow depth corresp. maximum wetness (m) */') |
346 |
|
347 |
C- namelist AIM_PAR_SFL: |
348 |
CALL WRITE_0D_R8( FWIND0,INDEX_NONE,'AIM_SFL: FWIND0 =', |
349 |
& ' /* ratio of near-sfc wind to lowest-level wind */') |
350 |
CALL WRITE_0D_R8( FTEMP0,INDEX_NONE,'AIM_SFL: FTEMP0 =', |
351 |
& ' /* weight for near-sfc temp. extrapolation (0-1)*/') |
352 |
CALL WRITE_0D_R8( FHUM0, INDEX_NONE,'AIM_SFL: FHUM0 =', |
353 |
& ' /* weight for near-sfc spec.humid. extrap. (0-1)*/') |
354 |
CALL WRITE_0D_R8( CDL, INDEX_NONE,'AIM_SFL: CDL =', |
355 |
& ' /* drag coefficient for momentum over land */') |
356 |
CALL WRITE_0D_R8( CDS, INDEX_NONE,'AIM_SFL: CDS =', |
357 |
& ' /* drag coefficient for momentum over sea */') |
358 |
CALL WRITE_0D_R8( CHL, INDEX_NONE,'AIM_SFL: CHL =', |
359 |
& ' /* heat exchange coefficient over land */') |
360 |
CALL WRITE_0D_R8( CHS, INDEX_NONE,'AIM_SFL: CHS =', |
361 |
& ' /* heat exchange coefficient over sea */') |
362 |
CALL WRITE_0D_R8( VGUST, INDEX_NONE,'AIM_SFL: VGUST =', |
363 |
& ' /* wind speed [m/s] for sub-grid-scale gusts */') |
364 |
CALL WRITE_0D_R8( CTDAY, INDEX_NONE,'AIM_SFL: CTDAY =', |
365 |
& ' /* daily-cycle correction (dTskin/dSSRad) */') |
366 |
CALL WRITE_0D_R8( DTHETA,INDEX_NONE,'AIM_SFL: DTHETA =', |
367 |
& ' /* Pot.Temp. gradient for stability correction */') |
368 |
CALL WRITE_0D_R8( dTstab,INDEX_NONE,'AIM_SFL: dTstab =', |
369 |
& ' /* Pot.Temp. increment for stab.funct. derivative */') |
370 |
CALL WRITE_0D_R8( FSTAB, INDEX_NONE,'AIM_SFL: FSTAB =', |
371 |
& ' /* Amplitude of stability correction (fract.) */') |
372 |
CALL WRITE_0D_R8( HDRAG, INDEX_NONE,'AIM_SFL: HDRAG =', |
373 |
& ' /* Height scale for orographic correction */') |
374 |
CALL WRITE_0D_R8( FHDRAG,INDEX_NONE,'AIM_SFL: FHDRAG =', |
375 |
& ' /* Amplitude of orographic correction (fract.)*/') |
376 |
|
377 |
C- namelist AIM_PAR_CNV: |
378 |
CALL WRITE_0D_R8( PSMIN, INDEX_NONE,'AIM_CNV: PSMIN =', |
379 |
& ' /* min norm.sfc.P. for occurrence of convect. */') |
380 |
CALL WRITE_0D_R8( TRCNV, INDEX_NONE,'AIM_CNV: TRCNV =', |
381 |
& ' /* time of relaxation [h] towards ref state */') |
382 |
CALL WRITE_0D_R8( QBL, INDEX_NONE,'AIM_CNV: QBL =', |
383 |
& ' /* specific hum. threshold in the Bound.layer */') |
384 |
CALL WRITE_0D_R8( RHBL, INDEX_NONE,'AIM_CNV: RHBL =', |
385 |
& ' /* relative hum. threshold in the Bound.layer */') |
386 |
CALL WRITE_0D_R8( RHIL, INDEX_NONE,'AIM_CNV: RHIL =', |
387 |
& ' /* rel.hum. threshold (intern) for 2nd mass.Flx*/') |
388 |
CALL WRITE_0D_R8( ENTMAX,INDEX_NONE,'AIM_CNV: ENTMAX =', |
389 |
& ' /* time of relaxation [h] towards neutral eq. */') |
390 |
CALL WRITE_0D_R8( SMF, INDEX_NONE,'AIM_CNV: SMF =', |
391 |
& ' /* ratio 2ndary/primary mass.Flx at cloud-base*/') |
392 |
|
393 |
C- namelist AIM_PAR_LSC: |
394 |
CALL WRITE_0D_R8( TRLSC, INDEX_NONE,'AIM_LSC: TRLSC =', |
395 |
& ' /* relaxation time [h] for supersat. spec.hum. */') |
396 |
CALL WRITE_0D_R8( RHLSC, INDEX_NONE,'AIM_LSC: RHLSC =', |
397 |
& ' /* Max rel.humidity threshold (at sigma=1) */') |
398 |
CALL WRITE_0D_R8( DRHLSC,INDEX_NONE,'AIM_LSC: DRHLSC =', |
399 |
& ' /* Vertical range of rel.humidity threshold */') |
400 |
CALL WRITE_0D_R8( QSMAX, INDEX_NONE,'AIM_LSC: QSMAX =', |
401 |
& ' /* Define the maximum latent heat release */') |
402 |
|
403 |
C- namelist AIM_PAR_RAD: |
404 |
CALL WRITE_0D_R8( RHCL1, INDEX_NONE,'AIM_RAD: RHCL1 =', |
405 |
& ' /* rel.hum. corresponding to cloud cover = 0 */') |
406 |
CALL WRITE_0D_R8( RHCL2, INDEX_NONE,'AIM_RAD: RHCL2 =', |
407 |
& ' /* rel.hum. corresponding to cloud cover = 1 */') |
408 |
CALL WRITE_0D_R8( QACL1, INDEX_NONE,'AIM_RAD: QACL1 =', |
409 |
& ' /* spec.hum. threshold for cloud, upper trop. */') |
410 |
CALL WRITE_0D_R8( QACL2, INDEX_NONE,'AIM_RAD: QACL2 =', |
411 |
& ' /* spec.hum. threshold for cloud, upper trop. */') |
412 |
CALL WRITE_0D_R8( ALBCL, INDEX_NONE,'AIM_RAD: ALBCL =', |
413 |
& ' /* cloud albedo (for cloud cover = 1) */') |
414 |
CALL WRITE_0D_R8( EPSSW, INDEX_NONE,'AIM_RAD: EPSSW =', |
415 |
& ' /* fract. of inc.solar rad. absorbed by ozone */') |
416 |
CALL WRITE_0D_R8( EPSLW, INDEX_NONE,'AIM_RAD: EPSLW =', |
417 |
& ' /* fract. of sfc LW emitted directly to space */') |
418 |
CALL WRITE_0D_R8( EMISFC,INDEX_NONE,'AIM_RAD: EMISFC =', |
419 |
& ' /* longwave surface emissivity */') |
420 |
|
421 |
WRITE(msgBuf,'(A)') |
422 |
& ' AIM_RAD : ShortWave absorptivities (for dp = 10^5 Pa) :' |
423 |
CALL PRINT_MESSAGE(msgBuf,standardMessageUnit,SQUEEZE_RIGHT,1) |
424 |
CALL WRITE_0D_R8( ABSDRY,INDEX_NONE,'AIM_RAD: ABSDRY =', |
425 |
& ' /* abs. of dry air (visible band) */') |
426 |
CALL WRITE_0D_R8( ABSAER,INDEX_NONE,'AIM_RAD: ABSAER =', |
427 |
& ' /* abs. of aerosols (visible band) */') |
428 |
CALL WRITE_0D_R8( ABSWV1,INDEX_NONE,'AIM_RAD: ABSWV1 =', |
429 |
& ' /* abs. of water vap. (vis. band)(/dq, 1g/kg) */') |
430 |
CALL WRITE_0D_R8( ABSWV2,INDEX_NONE,'AIM_RAD: ABSWV2 =', |
431 |
& ' /* abs. of water vap.(near IR bd)(/dq, 1g/kg) */') |
432 |
CALL WRITE_0D_R8( ABSCL1,INDEX_NONE,'AIM_RAD: ABSCL1 =', |
433 |
& ' /* abs. of clouds (vis.band)(constant term) */') |
434 |
CALL WRITE_0D_R8( ABSCL2,INDEX_NONE,'AIM_RAD: ABSCL2 =', |
435 |
& ' /* abs. of clouds (vis.band) (/dw, 1g/kg) */') |
436 |
|
437 |
WRITE(msgBuf,'(A)') |
438 |
& ' AIM_RAD : LongWave absorptivities (per dp = 10^5 Pa) :' |
439 |
CALL WRITE_0D_R8( ABLWIN,INDEX_NONE,'AIM_RAD: ABLWIN =', |
440 |
& ' /* abs. of air in "window" band */') |
441 |
CALL WRITE_0D_R8( ABLCO2,INDEX_NONE,'AIM_RAD: ABLCO2 =', |
442 |
& ' /* abs. of air in CO2 band */') |
443 |
CALL WRITE_0D_R8( ABLWV1,INDEX_NONE,'AIM_RAD: ABLWV1 =', |
444 |
& ' /* abs. of Water vap. H2O bd-1(weak)(/dq,1g/kg)*/') |
445 |
CALL WRITE_0D_R8( ABLWV2,INDEX_NONE,'AIM_RAD: ABLWV2 =', |
446 |
& ' /* abs. of W. vap., H2O bd-2(strong)(/dq,1g/kg)*/') |
447 |
CALL WRITE_0D_R8( ABLCL1,INDEX_NONE,'AIM_RAD: ABLCL1 =', |
448 |
& ' /* abs. of clouds in window band (const term) */') |
449 |
CALL WRITE_0D_R8( ABLCL2,INDEX_NONE,'AIM_RAD: ABLCL2 =', |
450 |
& ' /* abs. of clouds in window band (/dw, 1g/kg) */') |
451 |
|
452 |
C- namelist AIM_PAR_VDI: |
453 |
CALL WRITE_0D_R8( TRSHC, INDEX_NONE,'AIM_VDI: TRSHC =', |
454 |
& ' /* relaxation time [h] for shallow convection */') |
455 |
CALL WRITE_0D_R8( TRVDI, INDEX_NONE,'AIM_VDI: TRVDI =', |
456 |
& ' /* relaxation time [h] for moisture diffusion */') |
457 |
CALL WRITE_0D_R8( TRVDS, INDEX_NONE,'AIM_VDI: TRVDS =', |
458 |
& ' /* relaxation time [h] for super-adiab. cond. */') |
459 |
CALL WRITE_0D_R8( RHGRAD,INDEX_NONE,'AIM_VDI: RHGRAD =', |
460 |
& ' /* max gradient of rel.humidity (d_RH/d_sigma)*/') |
461 |
CALL WRITE_0D_R8( RHGRAD,INDEX_NONE,'AIM_VDI: RHGRAD =', |
462 |
& ' /* max grad. of dry static Energy(d_DSE/d_phi)*/') |
463 |
|
464 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
465 |
|
466 |
_END_MASTER(myThid) |
467 |
|
468 |
C-- Everyone else must wait for the parameters to be loaded |
469 |
_BARRIER |
470 |
|
471 |
#endif /* ALLOW_AIM */ |
472 |
|
473 |
RETURN |
474 |
END |