/[MITgcm]/MITgcm/pkg/aim_v23/aim_readparms.F
ViewVC logotype

Contents of /MITgcm/pkg/aim_v23/aim_readparms.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (show annotations) (download)
Thu Feb 8 17:41:37 2007 UTC (17 years, 4 months ago) by enderton
Branch: MAIN
CVS Tags: checkpoint59, checkpoint58y_post, checkpoint60, checkpoint61, checkpoint58w_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint61f, checkpoint58x_post, checkpoint61e, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a
Changes since 1.13: +10 -2 lines
Option for setting ocean albedo as a function of latitude

aim_selectOceAlbedo :: Ocean albedo(latitude) scheme (integer)
                          0 = constant (default)
                          1 = Briegleb et al. 1986

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

  ViewVC Help
Powered by ViewVC 1.1.22