1 |
jmc |
1.33 |
C $Header: /u/gcmpack/MITgcm/model/src/config_summary.F,v 1.32 2002/03/07 14:09:02 jmc Exp $ |
2 |
cnh |
1.26 |
C $Name: $ |
3 |
cnh |
1.1 |
|
4 |
cnh |
1.18 |
#include "CPP_OPTIONS.h" |
5 |
cnh |
1.1 |
|
6 |
cnh |
1.30 |
CBOP |
7 |
|
|
C !ROUTINE: CONFIG_SUMMARY |
8 |
|
|
C !INTERFACE: |
9 |
cnh |
1.1 |
SUBROUTINE CONFIG_SUMMARY( myThid ) |
10 |
cnh |
1.30 |
C !DESCRIPTION: \bv |
11 |
|
|
C *=========================================================* |
12 |
|
|
C | SUBROUTINE CONFIG_SUMMARY |
13 |
|
|
C | o Summarize model parameter settings. |
14 |
|
|
C *=========================================================* |
15 |
|
|
C | This routine writes a tabulated summary of the kernel |
16 |
|
|
C | model configuration. Information describes all the |
17 |
|
|
C | parameter setting in force and the meaning and units of |
18 |
|
|
C | those parameters. Individal packages report a similar |
19 |
|
|
C | table for each package using the same format as employed |
20 |
|
|
C | here. If parameters are missing or incorrectly described |
21 |
|
|
C | or dimensioned please contact support@mitgcm.org |
22 |
|
|
C *=========================================================* |
23 |
|
|
C \ev |
24 |
|
|
|
25 |
|
|
C !USES: |
26 |
adcroft |
1.19 |
IMPLICIT NONE |
27 |
cnh |
1.1 |
C === Global variables === |
28 |
|
|
#include "SIZE.h" |
29 |
|
|
#include "EEPARAMS.h" |
30 |
|
|
#include "PARAMS.h" |
31 |
|
|
#include "GRID.h" |
32 |
|
|
#include "DYNVARS.h" |
33 |
|
|
|
34 |
cnh |
1.30 |
C !INPUT/OUTPUT PARAMETERS: |
35 |
cnh |
1.1 |
C == Routine arguments == |
36 |
|
|
C myThid - Number of this instance of CONFIG_SUMMARY |
37 |
|
|
INTEGER myThid |
38 |
|
|
CEndOfInterface |
39 |
|
|
|
40 |
cnh |
1.30 |
C !LOCAL VARIABLES: |
41 |
cnh |
1.1 |
C == Local variables == |
42 |
cnh |
1.30 |
C msgBuf :: Temp. for building output string. |
43 |
|
|
C I,J,K :: Loop counters. |
44 |
|
|
C bi,bj :: Tile loop counters. |
45 |
|
|
C xcoord :: Temps. for building lists of values for uni-dimensionally |
46 |
|
|
C ycoord :: varying parameters. |
47 |
|
|
C zcoord :: |
48 |
cnh |
1.1 |
CHARACTER*(MAX_LEN_MBUF) msgBuf |
49 |
cnh |
1.5 |
INTEGER I,J,K |
50 |
cnh |
1.6 |
INTEGER bi, bj |
51 |
heimbach |
1.22 |
_RL xcoord(Nx) |
52 |
|
|
_RL ycoord(Ny) |
53 |
jmc |
1.32 |
_RL rcoord(Nr+1) |
54 |
cnh |
1.26 |
INTEGER coordLine |
55 |
|
|
INTEGER tileLine |
56 |
cnh |
1.30 |
CEOP |
57 |
cnh |
1.5 |
|
58 |
cnh |
1.1 |
|
59 |
|
|
_BARRIER |
60 |
cnh |
1.5 |
_BEGIN_MASTER(myThid) |
61 |
cnh |
1.1 |
|
62 |
|
|
WRITE(msgBuf,'(A)') |
63 |
|
|
&'// =======================================================' |
64 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
65 |
|
|
& SQUEEZE_RIGHT , 1) |
66 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') '// Model configuration' |
67 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
68 |
|
|
& SQUEEZE_RIGHT , 1) |
69 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') |
70 |
|
|
&'// =======================================================' |
71 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
72 |
|
|
& SQUEEZE_RIGHT , 1) |
73 |
cnh |
1.5 |
|
74 |
cnh |
1.6 |
WRITE(msgBuf,'(A)') '// ' |
75 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
76 |
|
|
& SQUEEZE_RIGHT , 1) |
77 |
|
|
WRITE(msgBuf,'(A)') |
78 |
|
|
& '// "Physical" paramters ( PARM01 in namelist ) ' |
79 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
80 |
|
|
& SQUEEZE_RIGHT , 1) |
81 |
cnh |
1.6 |
WRITE(msgBuf,'(A)') '// ' |
82 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
83 |
|
|
& SQUEEZE_RIGHT , 1) |
84 |
cnh |
1.13 |
CALL WRITE_1D_R8( tRef, Nr, INDEX_K,'tRef =', |
85 |
cnh |
1.5 |
&' /* Reference temperature profile ( oC or oK ) */') |
86 |
cnh |
1.13 |
CALL WRITE_1D_R8( sRef, Nr, INDEX_K,'sRef =', |
87 |
cnh |
1.6 |
&' /* Reference salinity profile ( ppt ) */') |
88 |
heimbach |
1.22 |
CALL WRITE_0D_R8( viscAh, INDEX_NONE,'viscAh =', |
89 |
cnh |
1.5 |
&' /* Lateral eddy viscosity ( m^2/s ) */') |
90 |
heimbach |
1.22 |
CALL WRITE_0D_R8( viscA4, INDEX_NONE,'viscAh =', |
91 |
cnh |
1.14 |
&' /* Lateral biharmonic viscosity ( m^4/s ) */') |
92 |
heimbach |
1.22 |
CALL WRITE_0D_L( no_slip_sides, INDEX_NONE, |
93 |
adcroft |
1.20 |
& 'no_slip_sides =', ' /* Viscous BCs: No-slip sides */') |
94 |
cnh |
1.16 |
IF ( viscAz .NE. UNSET_RL ) THEN |
95 |
heimbach |
1.22 |
CALL WRITE_0D_R8( viscAz, INDEX_NONE,'viscAz =', |
96 |
cnh |
1.16 |
& ' /* Vertical eddy viscosity ( m^2/s ) */') |
97 |
|
|
ENDIF |
98 |
|
|
IF ( viscAp .NE. UNSET_RL ) THEN |
99 |
heimbach |
1.22 |
CALL WRITE_0D_R8( viscAp, INDEX_NONE,'viscAp =', |
100 |
cnh |
1.16 |
& ' /* Vertical eddy viscosity ( Pa^2/s ) */') |
101 |
|
|
ENDIF |
102 |
heimbach |
1.22 |
CALL WRITE_0D_R8( viscAr, INDEX_NONE,'viscAr =', |
103 |
cnh |
1.16 |
&' /* Vertical eddy viscosity ( units of r^2/s ) */') |
104 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffKhT, INDEX_NONE,'diffKhT =', |
105 |
cnh |
1.5 |
&' /* Laplacian diffusion of heat laterally ( m^2/s ) */') |
106 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffK4T, INDEX_NONE,'diffK4T =', |
107 |
adcroft |
1.20 |
&' /* Bihaarmonic diffusion of heat laterally ( m^4/s ) */') |
108 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffKzT, INDEX_NONE,'diffKzT =', |
109 |
cnh |
1.5 |
&' /* Laplacian diffusion of heat vertically ( m^2/s ) */') |
110 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffKrT, INDEX_NONE,'diffKrT =', |
111 |
adcroft |
1.20 |
&' /* Laplacian diffusion of heat vertically ( m^2/s ) */') |
112 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffKhS, INDEX_NONE,'diffKhS =', |
113 |
cnh |
1.5 |
&' /* Laplacian diffusion of salt laterally ( m^2/s ) */') |
114 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffK4S, INDEX_NONE,'diffK4S =', |
115 |
adcroft |
1.20 |
&' /* Bihaarmonic diffusion of salt laterally ( m^4/s ) */') |
116 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffKzS, INDEX_NONE,'diffKzS =', |
117 |
cnh |
1.5 |
&' /* Laplacian diffusion of salt vertically ( m^2/s ) */') |
118 |
heimbach |
1.22 |
CALL WRITE_0D_R8( diffKrS, INDEX_NONE,'diffKrS =', |
119 |
adcroft |
1.20 |
&' /* Laplacian diffusion of salt vertically ( m^2/s ) */') |
120 |
heimbach |
1.22 |
CALL WRITE_0D_R8( tAlpha, INDEX_NONE,'tAlpha =', |
121 |
cnh |
1.6 |
&' /* Linear EOS thermal expansion coefficient ( 1/degree ) */') |
122 |
heimbach |
1.22 |
CALL WRITE_0D_R8( sBeta, INDEX_NONE,'sBeta =', |
123 |
cnh |
1.6 |
&' /* Linear EOS haline contraction coefficient ( 1/ppt ) */') |
124 |
cnh |
1.16 |
IF ( eosType .EQ. 'POLY3' ) THEN |
125 |
cnh |
1.17 |
WRITE(msgBuf,'(A)') |
126 |
|
|
& '// Polynomial EQS parameters ( from POLY3.COEFFS ) ' |
127 |
cnh |
1.16 |
DO K = 1, Nr |
128 |
|
|
WRITE(msgBuf,'(I3,13F8.3)') |
129 |
|
|
& K,eosRefT(K),eosRefS(K),eosSig0(K), (eosC(I,K),I=1,9) |
130 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
131 |
|
|
& SQUEEZE_RIGHT , 1) |
132 |
cnh |
1.16 |
ENDDO |
133 |
|
|
ENDIF |
134 |
heimbach |
1.22 |
CALL WRITE_0D_R8( rhonil, INDEX_NONE,'rhonil =', |
135 |
cnh |
1.6 |
&' /* Reference density ( kg/m^3 ) */') |
136 |
heimbach |
1.22 |
CALL WRITE_0D_R8( rhoConst, INDEX_NONE,'rhoConst =', |
137 |
adcroft |
1.20 |
&' /* Reference density ( kg/m^3 ) */') |
138 |
heimbach |
1.22 |
CALL WRITE_0D_R8( gravity, INDEX_NONE,'gravity =', |
139 |
cnh |
1.6 |
&' /* Gravitational acceleration ( m/s^2 ) */') |
140 |
jmc |
1.29 |
CALL WRITE_0D_R8( gBaro, INDEX_NONE,'gBaro =', |
141 |
|
|
&' /* Barotropic gravity ( m/s^2 ) */') |
142 |
heimbach |
1.22 |
CALL WRITE_0D_R8( f0, INDEX_NONE,'f0 =', |
143 |
cnh |
1.6 |
&' /* Reference coriolis parameter ( 1/s ) */') |
144 |
heimbach |
1.22 |
CALL WRITE_0D_R8( beta, INDEX_NONE,'beta =', |
145 |
cnh |
1.6 |
&' /* Beta ( 1/(m.s) ) */') |
146 |
jmc |
1.31 |
|
147 |
heimbach |
1.22 |
CALL WRITE_0D_R8( freeSurfFac, INDEX_NONE,'freeSurfFac =', |
148 |
jmc |
1.27 |
&' /* Implicit free surface factor */') |
149 |
heimbach |
1.22 |
CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE, |
150 |
cnh |
1.8 |
& 'implicitFreeSurface =', |
151 |
|
|
&' /* Implicit free surface on/off flag */') |
152 |
heimbach |
1.22 |
CALL WRITE_0D_L( rigidLid, INDEX_NONE, |
153 |
cnh |
1.8 |
& 'rigidLid =', |
154 |
|
|
&' /* Rigid lid on/off flag */') |
155 |
jmc |
1.27 |
CALL WRITE_0D_R8( implicSurfPress, INDEX_NONE, |
156 |
|
|
&'implicSurfPress =', |
157 |
|
|
&' /* Surface Pressure implicit factor (0-1)*/') |
158 |
|
|
CALL WRITE_0D_R8( implicDiv2Dflow, INDEX_NONE, |
159 |
|
|
&'implicDiv2Dflow =', |
160 |
|
|
&' /* Barot. Flow Div. implicit factor (0-1)*/') |
161 |
jmc |
1.31 |
CALL WRITE_0D_L( exactConserv, INDEX_NONE, |
162 |
|
|
&'exactConserv =', |
163 |
|
|
&' /* Exact Volume Conservation on/off flag*/') |
164 |
|
|
CALL WRITE_0D_L( uniformLin_PhiSurf, INDEX_NONE, |
165 |
|
|
&'uniformLin_PhiSurf =', |
166 |
|
|
&' /* use uniform Bo_surf on/off flag*/') |
167 |
|
|
CALL WRITE_0D_I( nonlinFreeSurf, INDEX_NONE, |
168 |
|
|
&'nonlinFreeSurf =', |
169 |
|
|
&' /* Non-linear Free Surf. options (-1,0,1,2,3)*/') |
170 |
|
|
WRITE(msgBuf,'(2A)') ' -1,0= Off ; 1,2,3= On,', |
171 |
|
|
& ' 2=+rescale gU,gV, 3=+update cg2d solv.' |
172 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
173 |
|
|
& SQUEEZE_RIGHT , 1) |
174 |
|
|
CALL WRITE_0D_R8( hFacInf, INDEX_NONE, |
175 |
|
|
&'hFacInf =', |
176 |
|
|
&' /* lower threshold for hFac (nonlinFreeSurf only)*/') |
177 |
|
|
CALL WRITE_0D_R8( hFacSup, INDEX_NONE, |
178 |
|
|
&'hFacSup =', |
179 |
|
|
&' /* upper threshold for hFac (nonlinFreeSurf only)*/') |
180 |
|
|
CALL WRITE_0D_L( useRealFreshWaterFlux, INDEX_NONE, |
181 |
|
|
&'useRealFreshWaterFlux =', |
182 |
|
|
&' /* Real Fresh Water Flux on/off flag*/') |
183 |
|
|
IF (useRealFreshWaterFlux .AND. nonlinFreeSurf.GT.0) THEN |
184 |
|
|
CALL WRITE_0D_R8( temp_EvPrRn, INDEX_NONE, |
185 |
|
|
&'temp_EvPrRn =', |
186 |
|
|
&' /* Temp. of Evap/Prec/R (UNSET=use local T)(oC)*/') |
187 |
|
|
CALL WRITE_0D_R8( salt_EvPrRn, INDEX_NONE, |
188 |
|
|
&'salt_EvPrRn =', |
189 |
|
|
&' /* Salin. of Evap/Prec/R (UNSET=use local S)(ppt)*/') |
190 |
|
|
CALL WRITE_0D_R8( trac_EvPrRn, INDEX_NONE, |
191 |
|
|
&'trac_EvPrRn =', |
192 |
|
|
&' /* Tracer in Evap/Prec/R (UNSET=use local Tr)*/') |
193 |
|
|
ELSE |
194 |
|
|
CALL WRITE_0D_R8( convertFW2Salt, INDEX_NONE, |
195 |
|
|
&'convertFW2Salt =', |
196 |
|
|
&' /* convert F.W. Flux to Salt Flux (-1=use local S)(ppt)*/') |
197 |
|
|
ENDIF |
198 |
|
|
|
199 |
jmc |
1.33 |
CALL WRITE_0D_L( multiDimAdvection, INDEX_NONE, |
200 |
|
|
& 'multiDimAdvection =', |
201 |
|
|
&' /* enable/disable Multi-Dim Advection */') |
202 |
jmc |
1.27 |
CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE, |
203 |
|
|
& 'staggerTimeStep =', |
204 |
|
|
&' /* Stagger time stepping on/off flag */') |
205 |
heimbach |
1.22 |
CALL WRITE_0D_L( momStepping, INDEX_NONE, |
206 |
cnh |
1.10 |
& 'momStepping =', ' /* Momentum equation on/off flag */') |
207 |
heimbach |
1.22 |
CALL WRITE_0D_L( momAdvection, INDEX_NONE, |
208 |
cnh |
1.10 |
& 'momAdvection =', ' /* Momentum advection on/off flag */') |
209 |
heimbach |
1.22 |
CALL WRITE_0D_L( momViscosity, INDEX_NONE, |
210 |
cnh |
1.9 |
& 'momViscosity =', ' /* Momentum viscosity on/off flag */') |
211 |
heimbach |
1.22 |
CALL WRITE_0D_L( useCoriolis, INDEX_NONE, |
212 |
cnh |
1.9 |
& 'useCoriolis =', ' /* Coriolis on/off flag */') |
213 |
heimbach |
1.22 |
CALL WRITE_0D_L( momForcing, INDEX_NONE, |
214 |
cnh |
1.9 |
& 'momForcing =', ' /* Momentum forcing on/off flag */') |
215 |
heimbach |
1.22 |
CALL WRITE_0D_L( momPressureForcing, INDEX_NONE, |
216 |
cnh |
1.17 |
& 'momPressureForcing =', |
217 |
|
|
& ' /* Momentum pressure term on/off flag */') |
218 |
heimbach |
1.22 |
CALL WRITE_0D_L( tempStepping, INDEX_NONE, |
219 |
cnh |
1.10 |
& 'tempStepping =', ' /* Temperature equation on/off flag */') |
220 |
jmc |
1.33 |
CALL WRITE_0D_L( tempAdvection, INDEX_NONE, |
221 |
|
|
& 'tempAdvection=', ' /* Temperature advection on/off flag */') |
222 |
|
|
CALL WRITE_0D_L( tempForcing, INDEX_NONE, |
223 |
|
|
& 'tempForcing =', ' /* Temperature forcing on/off flag */') |
224 |
|
|
CALL WRITE_0D_L( saltStepping, INDEX_NONE, |
225 |
|
|
& 'saltStepping =', ' /* Salinity equation on/off flag */') |
226 |
|
|
CALL WRITE_0D_L( saltAdvection, INDEX_NONE, |
227 |
|
|
& 'saltAdvection=', ' /* Salinity advection on/off flag */') |
228 |
|
|
CALL WRITE_0D_L( saltForcing, INDEX_NONE, |
229 |
|
|
& 'saltForcing =', ' /* Salinity forcing on/off flag */') |
230 |
heimbach |
1.22 |
CALL WRITE_0D_L( nonHydrostatic, INDEX_NONE, |
231 |
adcroft |
1.20 |
& 'nonHydrostatic =', ' /* Non-Hydrostatic on/off flag */') |
232 |
cnh |
1.6 |
WRITE(msgBuf,'(A)') '// ' |
233 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
234 |
|
|
& SQUEEZE_RIGHT , 1) |
235 |
cnh |
1.9 |
|
236 |
cnh |
1.17 |
WRITE(msgBuf,'(A)') |
237 |
|
|
& '// Elliptic solver(s) paramters ( PARM02 in namelist ) ' |
238 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
239 |
|
|
& SQUEEZE_RIGHT , 1) |
240 |
cnh |
1.6 |
WRITE(msgBuf,'(A)') '// ' |
241 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
242 |
|
|
& SQUEEZE_RIGHT , 1) |
243 |
heimbach |
1.22 |
CALL WRITE_0D_I( cg2dMaxIters, INDEX_NONE,'cg2dMaxIters =', |
244 |
cnh |
1.6 |
&' /* Upper limit on 2d con. grad iterations */') |
245 |
heimbach |
1.22 |
CALL WRITE_0D_I( cg2dChkResFreq, INDEX_NONE,'cg2dChkResFreq =', |
246 |
cnh |
1.6 |
&' /* 2d con. grad convergence test frequency */') |
247 |
heimbach |
1.22 |
CALL WRITE_0D_R8( cg2dTargetResidual, INDEX_NONE, |
248 |
cnh |
1.17 |
& 'cg2dTargetResidual =', |
249 |
cnh |
1.6 |
&' /* 2d con. grad target residual */') |
250 |
|
|
|
251 |
|
|
WRITE(msgBuf,'(A)') '// ' |
252 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
253 |
|
|
& SQUEEZE_RIGHT , 1) |
254 |
|
|
WRITE(msgBuf,'(A)') |
255 |
|
|
& '// Time stepping paramters ( PARM03 in namelist ) ' |
256 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
257 |
|
|
& SQUEEZE_RIGHT , 1) |
258 |
cnh |
1.6 |
WRITE(msgBuf,'(A)') '// ' |
259 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
260 |
|
|
& SQUEEZE_RIGHT , 1) |
261 |
heimbach |
1.22 |
CALL WRITE_0D_I( nIter0, INDEX_NONE,'nIter0 =', |
262 |
cnh |
1.6 |
&' /* Base timestep number */') |
263 |
heimbach |
1.22 |
CALL WRITE_0D_I( nTimeSteps, INDEX_NONE,'nTimeSteps =', |
264 |
cnh |
1.6 |
&' /* Number of timesteps */') |
265 |
heimbach |
1.22 |
CALL WRITE_0D_R8( deltaTmom, INDEX_NONE,'deltatTmom =', |
266 |
cnh |
1.6 |
&' /* Momentum equation timestep ( s ) */') |
267 |
heimbach |
1.22 |
CALL WRITE_0D_R8( deltaTtracer, INDEX_NONE,'deltatTtracer =', |
268 |
cnh |
1.6 |
&' /* Tracer equation timestep ( s ) */') |
269 |
heimbach |
1.22 |
CALL WRITE_0D_R8( deltaTClock, INDEX_NONE,'deltatTClock =', |
270 |
cnh |
1.12 |
&' /* Model clock timestep ( s ) */') |
271 |
heimbach |
1.22 |
CALL WRITE_0D_R8( cAdjFreq, INDEX_NONE,'cAdjFreq =', |
272 |
cnh |
1.9 |
&' /* Convective adjustment interval ( s ) */') |
273 |
jmc |
1.33 |
CALL WRITE_0D_L( forcing_In_AB,INDEX_NONE,'forcing_In_AB =', |
274 |
|
|
&' /* put T,S Forcing in Adams-Bash. stepping */') |
275 |
heimbach |
1.22 |
CALL WRITE_0D_R8( abeps, INDEX_NONE,'abeps =', |
276 |
cnh |
1.6 |
&' /* Adams-Bashforth stabilizing weight */') |
277 |
heimbach |
1.22 |
CALL WRITE_0D_R8( tauCD, INDEX_NONE,'tauCD =', |
278 |
cnh |
1.6 |
&' /* CD coupling time-scale ( s ) */') |
279 |
heimbach |
1.22 |
CALL WRITE_0D_R8( rCD, INDEX_NONE,'rCD =', |
280 |
cnh |
1.6 |
&' /* Normalised CD coupling parameter */') |
281 |
heimbach |
1.22 |
CALL WRITE_0D_R8( startTime, INDEX_NONE,'startTime =', |
282 |
cnh |
1.6 |
&' /* Run start time ( s ). */') |
283 |
heimbach |
1.22 |
CALL WRITE_0D_R8( endTime, INDEX_NONE,'endTime =', |
284 |
cnh |
1.6 |
&' /* Integration ending time ( s ). */') |
285 |
heimbach |
1.22 |
CALL WRITE_0D_R8( pChkPtFreq, INDEX_NONE,'pChkPtFreq =', |
286 |
cnh |
1.7 |
&' /* Permanent restart/checkpoint file interval ( s ). */') |
287 |
heimbach |
1.22 |
CALL WRITE_0D_R8( chkPtFreq, INDEX_NONE,'chkPtFreq =', |
288 |
cnh |
1.7 |
&' /* Rolling restart/checkpoint file interval ( s ). */') |
289 |
heimbach |
1.22 |
CALL WRITE_0D_R8( dumpFreq, INDEX_NONE,'dumpFreq =', |
290 |
cnh |
1.6 |
&' /* Model state write out interval ( s ). */') |
291 |
|
|
|
292 |
|
|
WRITE(msgBuf,'(A)') '// ' |
293 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
294 |
|
|
& SQUEEZE_RIGHT , 1) |
295 |
|
|
WRITE(msgBuf,'(A)') |
296 |
|
|
& '// Gridding paramters ( PARM04 in namelist ) ' |
297 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
298 |
|
|
& SQUEEZE_RIGHT , 1) |
299 |
cnh |
1.6 |
WRITE(msgBuf,'(A)') '// ' |
300 |
cnh |
1.17 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
301 |
|
|
& SQUEEZE_RIGHT , 1) |
302 |
heimbach |
1.22 |
CALL WRITE_0D_L( usingCartesianGrid, INDEX_NONE, |
303 |
cnh |
1.17 |
& 'usingCartesianGrid =', |
304 |
cnh |
1.6 |
&' /* Cartesian coordinates flag ( True / False ) */') |
305 |
heimbach |
1.22 |
CALL WRITE_0D_L( usingSphericalPolarGrid, INDEX_NONE, |
306 |
cnh |
1.17 |
& 'usingSphericalPolarGrid =', |
307 |
cnh |
1.6 |
&' /* Spherical coordinates flag ( True / False ) */') |
308 |
adcroft |
1.24 |
CALL WRITE_0D_L( groundAtK1, INDEX_NONE, 'groundAtK1 =', |
309 |
|
|
&' /* Lower Boundary (ground) at the surface(k=1) ( T / F ) */') |
310 |
|
|
CALL WRITE_1D_R8( Ro_SeaLevel,1, INDEX_NONE,'Ro_SeaLevel =', |
311 |
|
|
&' /* r(1) ( units of r ) */') |
312 |
|
|
CALL WRITE_1D_R8( rkFac,1, INDEX_NONE,'rkFac =', |
313 |
|
|
&' /* minus Vertical index orientation */') |
314 |
|
|
CALL WRITE_1D_R8( horiVertRatio,1, INDEX_NONE,'horiVertRatio =', |
315 |
|
|
&' /* Ratio on units : Horiz - Vertical */') |
316 |
jmc |
1.32 |
c CALL WRITE_1D_R8( delZ,Nr, INDEX_K,'delZ = ', |
317 |
|
|
c &' /* W spacing ( m ) */') |
318 |
|
|
c CALL WRITE_1D_R8( delP,Nr, INDEX_K,'delP = ', |
319 |
|
|
c &' /* W spacing ( Pa ) */') |
320 |
|
|
c CALL WRITE_1D_R8( delR,Nr, INDEX_K,'delR = ', |
321 |
|
|
c &' /* W spacing ( units of r ) */') |
322 |
|
|
CALL WRITE_1D_R8( drC,Nr, INDEX_K,'drC = ', |
323 |
|
|
&' /* C spacing ( units of r ) */') |
324 |
|
|
CALL WRITE_1D_R8( drF,Nr, INDEX_K,'drF = ', |
325 |
cnh |
1.15 |
&' /* W spacing ( units of r ) */') |
326 |
cnh |
1.6 |
CALL WRITE_1D_R8( delX, Nx, INDEX_I,'delX = ', |
327 |
|
|
&' /* U spacing ( m - cartesian, degrees - spherical ) */') |
328 |
|
|
CALL WRITE_1D_R8( delY, Ny, INDEX_J,'delY = ', |
329 |
|
|
&' /* V spacing ( m - cartesian, degrees - spherical ) */') |
330 |
heimbach |
1.22 |
CALL WRITE_0D_R8( phiMin, INDEX_NONE,'phiMin = ', |
331 |
cnh |
1.17 |
&' /* South edge (ignored - cartesian, degrees - spherical ) */') |
332 |
heimbach |
1.22 |
CALL WRITE_0D_R8( thetaMin, INDEX_NONE,'thetaMin = ', |
333 |
cnh |
1.17 |
&' /* West edge ( ignored - cartesian, degrees - spherical ) */') |
334 |
heimbach |
1.22 |
CALL WRITE_0D_R8( rSphere, INDEX_NONE,'rSphere = ', |
335 |
cnh |
1.6 |
&' /* Radius ( ignored - cartesian, m - spherical ) */') |
336 |
|
|
DO bi=1,nSx |
337 |
|
|
DO I=1,sNx |
338 |
heimbach |
1.22 |
xcoord((bi-1)*sNx+I) = xC(I,1,bi,1) |
339 |
cnh |
1.6 |
ENDDO |
340 |
|
|
ENDDO |
341 |
cnh |
1.11 |
CALL WRITE_1D_R8( xcoord, sNx*nSx, INDEX_I,'xcoord = ', |
342 |
cnh |
1.17 |
&' /* P-point X coord ( m - cartesian, degrees - spherical ) */') |
343 |
cnh |
1.6 |
DO bj=1,nSy |
344 |
|
|
DO J=1,sNy |
345 |
heimbach |
1.22 |
ycoord((bj-1)*sNy+J) = yC(1,J,1,bj) |
346 |
cnh |
1.6 |
ENDDO |
347 |
|
|
ENDDO |
348 |
cnh |
1.11 |
CALL WRITE_1D_R8( ycoord, sNy*nSy, INDEX_J,'ycoord = ', |
349 |
cnh |
1.17 |
&' /* P-point Y coord ( m - cartesian, degrees - spherical ) */') |
350 |
cnh |
1.13 |
DO K=1,Nr |
351 |
heimbach |
1.22 |
rcoord(K) = rC(K) |
352 |
cnh |
1.6 |
ENDDO |
353 |
cnh |
1.13 |
CALL WRITE_1D_R8( rcoord, Nr, INDEX_K,'rcoord = ', |
354 |
|
|
&' /* P-point R coordinate ( units of r ) */') |
355 |
jmc |
1.32 |
DO K=1,Nr+1 |
356 |
|
|
rcoord(K) = rF(K) |
357 |
|
|
ENDDO |
358 |
|
|
CALL WRITE_1D_R8( rcoord, Nr+1, INDEX_K,'rF = ', |
359 |
|
|
&' /* W-Interf. R coordinate ( units of r ) */') |
360 |
cnh |
1.6 |
|
361 |
cnh |
1.26 |
C Grid along selected grid lines |
362 |
|
|
coordLine = 1 |
363 |
|
|
tileLine = 1 |
364 |
|
|
CALL WRITE_XY_XLINE_RS( dxF, coordLine, tileLine, |
365 |
|
|
I 'dxF','( m - cartesian, degrees - spherical )') |
366 |
|
|
CALL WRITE_XY_YLINE_RS( dxF, coordLine, tileLine, |
367 |
|
|
I 'dxF','( m - cartesian, degrees - spherical )') |
368 |
|
|
CALL WRITE_XY_XLINE_RS( dyF, coordLine, tileLine, |
369 |
|
|
I 'dyF','( m - cartesian, degrees - spherical )') |
370 |
|
|
CALL WRITE_XY_YLINE_RS( dyF, coordLine, tileLine, |
371 |
|
|
I 'dyF','( m - cartesian, degrees - spherical )') |
372 |
|
|
CALL WRITE_XY_XLINE_RS( dxG, coordLine, tileLine, |
373 |
|
|
I 'dxG','( m - cartesian, degrees - spherical )') |
374 |
|
|
CALL WRITE_XY_YLINE_RS( dxG, coordLine, tileLine, |
375 |
|
|
I 'dxG','( m - cartesian, degrees - spherical )') |
376 |
|
|
CALL WRITE_XY_XLINE_RS( dyG, coordLine, tileLine, |
377 |
|
|
I 'dyG','( m - cartesian, degrees - spherical )') |
378 |
|
|
CALL WRITE_XY_YLINE_RS( dyG, coordLine, tileLine, |
379 |
|
|
I 'dyG','( m - cartesian, degrees - spherical )') |
380 |
|
|
CALL WRITE_XY_XLINE_RS( dxC, coordLine, tileLine, |
381 |
|
|
I 'dxC','( m - cartesian, degrees - spherical )') |
382 |
|
|
CALL WRITE_XY_YLINE_RS( dxC, coordLine, tileLine, |
383 |
|
|
I 'dxC','( m - cartesian, degrees - spherical )') |
384 |
|
|
CALL WRITE_XY_XLINE_RS( dyC, coordLine, tileLine, |
385 |
|
|
I 'dyC','( m - cartesian, degrees - spherical )') |
386 |
|
|
CALL WRITE_XY_YLINE_RS( dyC, coordLine, tileLine, |
387 |
|
|
I 'dyC','( m - cartesian, degrees - spherical )') |
388 |
|
|
CALL WRITE_XY_XLINE_RS( dxV, coordLine, tileLine, |
389 |
|
|
I 'dxV','( m - cartesian, degrees - spherical )') |
390 |
|
|
CALL WRITE_XY_YLINE_RS( dxV, coordLine, tileLine, |
391 |
|
|
I 'dxV','( m - cartesian, degrees - spherical )') |
392 |
|
|
CALL WRITE_XY_XLINE_RS( dyU, coordLine, tileLine, |
393 |
|
|
I 'dyU','( m - cartesian, degrees - spherical )') |
394 |
|
|
CALL WRITE_XY_YLINE_RS( dyU, coordLine, tileLine, |
395 |
|
|
I 'dyU','( m - cartesian, degrees - spherical )') |
396 |
|
|
CALL WRITE_XY_XLINE_RS( rA, coordLine, tileLine, |
397 |
|
|
I 'rA','( m - cartesian, degrees - spherical )') |
398 |
|
|
CALL WRITE_XY_YLINE_RS( rA, coordLine, tileLine, |
399 |
|
|
I 'rA','( m - cartesian, degrees - spherical )') |
400 |
|
|
CALL WRITE_XY_XLINE_RS( rAw, coordLine, tileLine, |
401 |
|
|
I 'rAw','( m - cartesian, degrees - spherical )') |
402 |
|
|
CALL WRITE_XY_YLINE_RS( rAw, coordLine, tileLine, |
403 |
|
|
I 'rAw','( m - cartesian, degrees - spherical )') |
404 |
|
|
CALL WRITE_XY_XLINE_RS( rAs, coordLine, tileLine, |
405 |
|
|
I 'rAs','( m - cartesian, degrees - spherical )') |
406 |
|
|
CALL WRITE_XY_YLINE_RS( rAs, coordLine, tileLine, |
407 |
|
|
I 'rAs','( m - cartesian, degrees - spherical )') |
408 |
cnh |
1.5 |
|
409 |
cnh |
1.1 |
WRITE(msgBuf,'(A)') ' ' |
410 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
411 |
|
|
& SQUEEZE_RIGHT , 1) |
412 |
cnh |
1.5 |
|
413 |
cnh |
1.1 |
_END_MASTER(myThid) |
414 |
|
|
_BARRIER |
415 |
|
|
|
416 |
|
|
|
417 |
|
|
RETURN |
418 |
|
|
100 FORMAT(A, |
419 |
cnh |
1.4 |
&' ' |
420 |
cnh |
1.1 |
&) |
421 |
|
|
END |
422 |
|
|
|