/[MITgcm]/MITgcm/model/src/config_summary.F
ViewVC logotype

Annotation of /MITgcm/model/src/config_summary.F

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


Revision 1.43 - (hide annotations) (download)
Wed Oct 15 22:55:51 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint51o_pre, checkpoint51l_post, checkpoint51n_post, checkpoint51n_pre, checkpoint51l_pre, checkpoint51o_post, checkpoint51m_post
Branch point for: tg2-branch, checkpoint51n_branch
Changes since 1.42: +11 -2 lines
* reverse gravitySign back to "logical" value: +1 when R increases downward
* add a parameter to apply surface relaxation only in a latitude band

1 jmc 1.43 C $Header: /u/gcmpack/MITgcm/model/src/config_summary.F,v 1.42 2003/08/01 01:45:45 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 mlosch 1.34 #include "EOS.h"
32 cnh 1.1 #include "GRID.h"
33     #include "DYNVARS.h"
34    
35 cnh 1.30 C !INPUT/OUTPUT PARAMETERS:
36 cnh 1.1 C == Routine arguments ==
37     C myThid - Number of this instance of CONFIG_SUMMARY
38     INTEGER myThid
39     CEndOfInterface
40    
41 cnh 1.30 C !LOCAL VARIABLES:
42 cnh 1.1 C == Local variables ==
43 cnh 1.30 C msgBuf :: Temp. for building output string.
44     C I,J,K :: Loop counters.
45     C bi,bj :: Tile loop counters.
46     C xcoord :: Temps. for building lists of values for uni-dimensionally
47     C ycoord :: varying parameters.
48     C zcoord ::
49 cnh 1.1 CHARACTER*(MAX_LEN_MBUF) msgBuf
50 cnh 1.5 INTEGER I,J,K
51 cnh 1.6 INTEGER bi, bj
52 heimbach 1.22 _RL xcoord(Nx)
53     _RL ycoord(Ny)
54 jmc 1.32 _RL rcoord(Nr+1)
55 cnh 1.26 INTEGER coordLine
56     INTEGER tileLine
57 cnh 1.30 CEOP
58 cnh 1.5
59 cnh 1.1
60     _BARRIER
61 cnh 1.5 _BEGIN_MASTER(myThid)
62 cnh 1.1
63     WRITE(msgBuf,'(A)')
64     &'// ======================================================='
65 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
66     & SQUEEZE_RIGHT , 1)
67 cnh 1.1 WRITE(msgBuf,'(A)') '// Model configuration'
68 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
69     & SQUEEZE_RIGHT , 1)
70 cnh 1.1 WRITE(msgBuf,'(A)')
71     &'// ======================================================='
72     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
73     & SQUEEZE_RIGHT , 1)
74 cnh 1.5
75 cnh 1.6 WRITE(msgBuf,'(A)') '// '
76 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
77     & SQUEEZE_RIGHT , 1)
78     WRITE(msgBuf,'(A)')
79     & '// "Physical" paramters ( PARM01 in namelist ) '
80     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
81     & SQUEEZE_RIGHT , 1)
82 cnh 1.6 WRITE(msgBuf,'(A)') '// '
83 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
84     & SQUEEZE_RIGHT , 1)
85 jmc 1.37 WRITE(msgBuf,'(A,A40)') 'buoyancyRelation = ', buoyancyRelation
86     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
87     & SQUEEZE_RIGHT , 1)
88 cnh 1.13 CALL WRITE_1D_R8( tRef, Nr, INDEX_K,'tRef =',
89 cnh 1.5 &' /* Reference temperature profile ( oC or oK ) */')
90 cnh 1.13 CALL WRITE_1D_R8( sRef, Nr, INDEX_K,'sRef =',
91 cnh 1.6 &' /* Reference salinity profile ( ppt ) */')
92 heimbach 1.22 CALL WRITE_0D_R8( viscAh, INDEX_NONE,'viscAh =',
93 cnh 1.5 &' /* Lateral eddy viscosity ( m^2/s ) */')
94 heimbach 1.22 CALL WRITE_0D_R8( viscA4, INDEX_NONE,'viscAh =',
95 cnh 1.14 &' /* Lateral biharmonic viscosity ( m^4/s ) */')
96 heimbach 1.22 CALL WRITE_0D_L( no_slip_sides, INDEX_NONE,
97 adcroft 1.20 & 'no_slip_sides =', ' /* Viscous BCs: No-slip sides */')
98 cnh 1.16 IF ( viscAz .NE. UNSET_RL ) THEN
99 heimbach 1.22 CALL WRITE_0D_R8( viscAz, INDEX_NONE,'viscAz =',
100 cnh 1.16 & ' /* Vertical eddy viscosity ( m^2/s ) */')
101     ENDIF
102     IF ( viscAp .NE. UNSET_RL ) THEN
103 heimbach 1.22 CALL WRITE_0D_R8( viscAp, INDEX_NONE,'viscAp =',
104 cnh 1.16 & ' /* Vertical eddy viscosity ( Pa^2/s ) */')
105     ENDIF
106 heimbach 1.22 CALL WRITE_0D_R8( viscAr, INDEX_NONE,'viscAr =',
107 cnh 1.16 &' /* Vertical eddy viscosity ( units of r^2/s ) */')
108 heimbach 1.22 CALL WRITE_0D_R8( diffKhT, INDEX_NONE,'diffKhT =',
109 cnh 1.5 &' /* Laplacian diffusion of heat laterally ( m^2/s ) */')
110 heimbach 1.22 CALL WRITE_0D_R8( diffK4T, INDEX_NONE,'diffK4T =',
111 adcroft 1.20 &' /* Bihaarmonic diffusion of heat laterally ( m^4/s ) */')
112 heimbach 1.22 CALL WRITE_0D_R8( diffKzT, INDEX_NONE,'diffKzT =',
113 cnh 1.5 &' /* Laplacian diffusion of heat vertically ( m^2/s ) */')
114 heimbach 1.22 CALL WRITE_0D_R8( diffKrT, INDEX_NONE,'diffKrT =',
115 adcroft 1.20 &' /* Laplacian diffusion of heat vertically ( m^2/s ) */')
116 heimbach 1.22 CALL WRITE_0D_R8( diffKhS, INDEX_NONE,'diffKhS =',
117 cnh 1.5 &' /* Laplacian diffusion of salt laterally ( m^2/s ) */')
118 heimbach 1.22 CALL WRITE_0D_R8( diffK4S, INDEX_NONE,'diffK4S =',
119 adcroft 1.20 &' /* Bihaarmonic diffusion of salt laterally ( m^4/s ) */')
120 heimbach 1.22 CALL WRITE_0D_R8( diffKzS, INDEX_NONE,'diffKzS =',
121 cnh 1.5 &' /* Laplacian diffusion of salt vertically ( m^2/s ) */')
122 heimbach 1.22 CALL WRITE_0D_R8( diffKrS, INDEX_NONE,'diffKrS =',
123 adcroft 1.20 &' /* Laplacian diffusion of salt vertically ( m^2/s ) */')
124 jmc 1.37 WRITE(msgBuf,'(2A)') ' Equation of State : eosType = ', eosType
125     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
126     & SQUEEZE_RIGHT , 1)
127 heimbach 1.22 CALL WRITE_0D_R8( tAlpha, INDEX_NONE,'tAlpha =',
128 cnh 1.6 &' /* Linear EOS thermal expansion coefficient ( 1/degree ) */')
129 heimbach 1.22 CALL WRITE_0D_R8( sBeta, INDEX_NONE,'sBeta =',
130 cnh 1.6 &' /* Linear EOS haline contraction coefficient ( 1/ppt ) */')
131 cnh 1.16 IF ( eosType .EQ. 'POLY3' ) THEN
132 cnh 1.17 WRITE(msgBuf,'(A)')
133     & '// Polynomial EQS parameters ( from POLY3.COEFFS ) '
134 cnh 1.16 DO K = 1, Nr
135     WRITE(msgBuf,'(I3,13F8.3)')
136     & K,eosRefT(K),eosRefS(K),eosSig0(K), (eosC(I,K),I=1,9)
137 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
138     & SQUEEZE_RIGHT , 1)
139 cnh 1.16 ENDDO
140     ENDIF
141 jmc 1.37 IF ( buoyancyRelation .eq. 'ATMOSPHERIC' ) THEN
142     CALL WRITE_0D_R8( atm_Rd, INDEX_NONE, 'atm_Rd =',
143     & ' /* gas constant for dry air ( J/kg/K ) */')
144     CALL WRITE_0D_R8( atm_Cp, INDEX_NONE, 'atm_Cp =',
145     & ' /* specific heat (Cp) of dry air ( J/kg/K ) */')
146     CALL WRITE_0D_R8( atm_kappa, INDEX_NONE, 'atm_kappa =',
147     & ' /* kappa (=Rd/Cp ) of dry air */')
148 jmc 1.42 CALL WRITE_0D_R8( atm_Rq, INDEX_NONE, 'atm_Rq =',
149     & ' /* water vap. specific vol. anomaly relative to dry air */')
150 jmc 1.37 CALL WRITE_0D_R8( atm_Po, INDEX_NONE, 'atm_Po =',
151     & ' /* standard reference pressure ( Pa ) */')
152     CALL WRITE_0D_I( integr_GeoPot, INDEX_NONE, 'integr_GeoPot =',
153     & ' /* select how the geopotential is integrated */')
154     CALL WRITE_0D_I( selectFindRoSurf, INDEX_NONE,
155     & 'selectFindRoSurf=',
156     & ' /* select how Surf.Ref. pressure is defined */')
157     ENDIF
158 heimbach 1.22 CALL WRITE_0D_R8( rhonil, INDEX_NONE,'rhonil =',
159 cnh 1.6 &' /* Reference density ( kg/m^3 ) */')
160 heimbach 1.22 CALL WRITE_0D_R8( rhoConst, INDEX_NONE,'rhoConst =',
161 mlosch 1.35 &' /* Reference density ( kg/m^3 ) */')
162     CALL WRITE_0D_R8( rhoConstFresh, INDEX_NONE,'rhoConstFresh =',
163 adcroft 1.20 &' /* Reference density ( kg/m^3 ) */')
164 heimbach 1.22 CALL WRITE_0D_R8( gravity, INDEX_NONE,'gravity =',
165 cnh 1.6 &' /* Gravitational acceleration ( m/s^2 ) */')
166 jmc 1.29 CALL WRITE_0D_R8( gBaro, INDEX_NONE,'gBaro =',
167     &' /* Barotropic gravity ( m/s^2 ) */')
168 jmc 1.40 CALL WRITE_0D_R8(rotationPeriod,INDEX_NONE,'rotationPeriod =',
169     &' /* Rotation Period ( s ) */')
170     CALL WRITE_0D_R8( omega, INDEX_NONE,'omega =',
171     &' /* Angular velocity ( rad/s ) */')
172 heimbach 1.22 CALL WRITE_0D_R8( f0, INDEX_NONE,'f0 =',
173 cnh 1.6 &' /* Reference coriolis parameter ( 1/s ) */')
174 heimbach 1.22 CALL WRITE_0D_R8( beta, INDEX_NONE,'beta =',
175 cnh 1.6 &' /* Beta ( 1/(m.s) ) */')
176 jmc 1.31
177 heimbach 1.22 CALL WRITE_0D_R8( freeSurfFac, INDEX_NONE,'freeSurfFac =',
178 jmc 1.27 &' /* Implicit free surface factor */')
179 heimbach 1.22 CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE,
180 cnh 1.8 & 'implicitFreeSurface =',
181     &' /* Implicit free surface on/off flag */')
182 heimbach 1.22 CALL WRITE_0D_L( rigidLid, INDEX_NONE,
183 cnh 1.8 & 'rigidLid =',
184     &' /* Rigid lid on/off flag */')
185 jmc 1.27 CALL WRITE_0D_R8( implicSurfPress, INDEX_NONE,
186     &'implicSurfPress =',
187     &' /* Surface Pressure implicit factor (0-1)*/')
188     CALL WRITE_0D_R8( implicDiv2Dflow, INDEX_NONE,
189     &'implicDiv2Dflow =',
190     &' /* Barot. Flow Div. implicit factor (0-1)*/')
191 jmc 1.31 CALL WRITE_0D_L( exactConserv, INDEX_NONE,
192     &'exactConserv =',
193     &' /* Exact Volume Conservation on/off flag*/')
194     CALL WRITE_0D_L( uniformLin_PhiSurf, INDEX_NONE,
195     &'uniformLin_PhiSurf =',
196     &' /* use uniform Bo_surf on/off flag*/')
197     CALL WRITE_0D_I( nonlinFreeSurf, INDEX_NONE,
198     &'nonlinFreeSurf =',
199     &' /* Non-linear Free Surf. options (-1,0,1,2,3)*/')
200     WRITE(msgBuf,'(2A)') ' -1,0= Off ; 1,2,3= On,',
201     & ' 2=+rescale gU,gV, 3=+update cg2d solv.'
202     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
203     & SQUEEZE_RIGHT , 1)
204     CALL WRITE_0D_R8( hFacInf, INDEX_NONE,
205     &'hFacInf =',
206     &' /* lower threshold for hFac (nonlinFreeSurf only)*/')
207     CALL WRITE_0D_R8( hFacSup, INDEX_NONE,
208     &'hFacSup =',
209     &' /* upper threshold for hFac (nonlinFreeSurf only)*/')
210 jmc 1.38 CALL WRITE_0D_I( select_rStar, INDEX_NONE,
211     &'select_rStar =',
212     &' /* r* Coordinate options (not yet implemented)*/')
213 jmc 1.31 CALL WRITE_0D_L( useRealFreshWaterFlux, INDEX_NONE,
214     &'useRealFreshWaterFlux =',
215     &' /* Real Fresh Water Flux on/off flag*/')
216     IF (useRealFreshWaterFlux .AND. nonlinFreeSurf.GT.0) THEN
217     CALL WRITE_0D_R8( temp_EvPrRn, INDEX_NONE,
218     &'temp_EvPrRn =',
219     &' /* Temp. of Evap/Prec/R (UNSET=use local T)(oC)*/')
220     CALL WRITE_0D_R8( salt_EvPrRn, INDEX_NONE,
221     &'salt_EvPrRn =',
222     &' /* Salin. of Evap/Prec/R (UNSET=use local S)(ppt)*/')
223     CALL WRITE_0D_R8( trac_EvPrRn, INDEX_NONE,
224     &'trac_EvPrRn =',
225     &' /* Tracer in Evap/Prec/R (UNSET=use local Tr)*/')
226     ELSE
227     CALL WRITE_0D_R8( convertFW2Salt, INDEX_NONE,
228     &'convertFW2Salt =',
229     &' /* convert F.W. Flux to Salt Flux (-1=use local S)(ppt)*/')
230     ENDIF
231    
232 jmc 1.33 CALL WRITE_0D_L( multiDimAdvection, INDEX_NONE,
233     & 'multiDimAdvection =',
234     &' /* enable/disable Multi-Dim Advection */')
235 jmc 1.27 CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE,
236     & 'staggerTimeStep =',
237     &' /* Stagger time stepping on/off flag */')
238 heimbach 1.22 CALL WRITE_0D_L( momStepping, INDEX_NONE,
239 cnh 1.10 & 'momStepping =', ' /* Momentum equation on/off flag */')
240 heimbach 1.22 CALL WRITE_0D_L( momAdvection, INDEX_NONE,
241 cnh 1.10 & 'momAdvection =', ' /* Momentum advection on/off flag */')
242 heimbach 1.22 CALL WRITE_0D_L( momViscosity, INDEX_NONE,
243 cnh 1.9 & 'momViscosity =', ' /* Momentum viscosity on/off flag */')
244 heimbach 1.22 CALL WRITE_0D_L( useCoriolis, INDEX_NONE,
245 cnh 1.9 & 'useCoriolis =', ' /* Coriolis on/off flag */')
246 heimbach 1.22 CALL WRITE_0D_L( momForcing, INDEX_NONE,
247 cnh 1.9 & 'momForcing =', ' /* Momentum forcing on/off flag */')
248 heimbach 1.22 CALL WRITE_0D_L( momPressureForcing, INDEX_NONE,
249 cnh 1.17 & 'momPressureForcing =',
250     & ' /* Momentum pressure term on/off flag */')
251 heimbach 1.22 CALL WRITE_0D_L( tempStepping, INDEX_NONE,
252 cnh 1.10 & 'tempStepping =', ' /* Temperature equation on/off flag */')
253 jmc 1.33 CALL WRITE_0D_L( tempAdvection, INDEX_NONE,
254     & 'tempAdvection=', ' /* Temperature advection on/off flag */')
255     CALL WRITE_0D_L( tempForcing, INDEX_NONE,
256     & 'tempForcing =', ' /* Temperature forcing on/off flag */')
257     CALL WRITE_0D_L( saltStepping, INDEX_NONE,
258     & 'saltStepping =', ' /* Salinity equation on/off flag */')
259     CALL WRITE_0D_L( saltAdvection, INDEX_NONE,
260     & 'saltAdvection=', ' /* Salinity advection on/off flag */')
261     CALL WRITE_0D_L( saltForcing, INDEX_NONE,
262     & 'saltForcing =', ' /* Salinity forcing on/off flag */')
263 heimbach 1.22 CALL WRITE_0D_L( nonHydrostatic, INDEX_NONE,
264 adcroft 1.20 & 'nonHydrostatic =', ' /* Non-Hydrostatic on/off flag */')
265 jmc 1.41 CALL WRITE_0D_L( useCDscheme, INDEX_NONE,
266     & 'useCDscheme =', ' /* CD scheme on/off flag */')
267     CALL WRITE_0D_L( useJamartWetPoints, INDEX_NONE,
268     & 'useJamartWetPoints=',' /* Coriolis WetPoints method flag */')
269 cnh 1.6 WRITE(msgBuf,'(A)') '// '
270 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
271     & SQUEEZE_RIGHT , 1)
272 cnh 1.9
273 cnh 1.17 WRITE(msgBuf,'(A)')
274     & '// Elliptic solver(s) paramters ( PARM02 in namelist ) '
275     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
276     & SQUEEZE_RIGHT , 1)
277 cnh 1.6 WRITE(msgBuf,'(A)') '// '
278 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
279     & SQUEEZE_RIGHT , 1)
280 heimbach 1.22 CALL WRITE_0D_I( cg2dMaxIters, INDEX_NONE,'cg2dMaxIters =',
281 cnh 1.6 &' /* Upper limit on 2d con. grad iterations */')
282 heimbach 1.22 CALL WRITE_0D_I( cg2dChkResFreq, INDEX_NONE,'cg2dChkResFreq =',
283 cnh 1.6 &' /* 2d con. grad convergence test frequency */')
284 heimbach 1.22 CALL WRITE_0D_R8( cg2dTargetResidual, INDEX_NONE,
285 cnh 1.17 & 'cg2dTargetResidual =',
286 cnh 1.6 &' /* 2d con. grad target residual */')
287    
288     WRITE(msgBuf,'(A)') '// '
289 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
290     & SQUEEZE_RIGHT , 1)
291     WRITE(msgBuf,'(A)')
292     & '// Time stepping paramters ( PARM03 in namelist ) '
293     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
294     & SQUEEZE_RIGHT , 1)
295 cnh 1.6 WRITE(msgBuf,'(A)') '// '
296 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
297     & SQUEEZE_RIGHT , 1)
298 heimbach 1.22 CALL WRITE_0D_I( nIter0, INDEX_NONE,'nIter0 =',
299 cnh 1.6 &' /* Base timestep number */')
300 heimbach 1.22 CALL WRITE_0D_I( nTimeSteps, INDEX_NONE,'nTimeSteps =',
301 cnh 1.6 &' /* Number of timesteps */')
302 heimbach 1.22 CALL WRITE_0D_R8( deltaTmom, INDEX_NONE,'deltatTmom =',
303 cnh 1.6 &' /* Momentum equation timestep ( s ) */')
304 jmc 1.37 CALL WRITE_0D_R8( deltaTfreesurf,INDEX_NONE,'deltaTfreesurf =',
305     &' /* FreeSurface equation timestep ( s ) */')
306 heimbach 1.22 CALL WRITE_0D_R8( deltaTtracer, INDEX_NONE,'deltatTtracer =',
307 cnh 1.6 &' /* Tracer equation timestep ( s ) */')
308 heimbach 1.22 CALL WRITE_0D_R8( deltaTClock, INDEX_NONE,'deltatTClock =',
309 cnh 1.12 &' /* Model clock timestep ( s ) */')
310 heimbach 1.22 CALL WRITE_0D_R8( cAdjFreq, INDEX_NONE,'cAdjFreq =',
311 cnh 1.9 &' /* Convective adjustment interval ( s ) */')
312 jmc 1.33 CALL WRITE_0D_L( forcing_In_AB,INDEX_NONE,'forcing_In_AB =',
313     &' /* put T,S Forcing in Adams-Bash. stepping */')
314 heimbach 1.22 CALL WRITE_0D_R8( abeps, INDEX_NONE,'abeps =',
315 cnh 1.6 &' /* Adams-Bashforth stabilizing weight */')
316 jmc 1.41 IF (useCDscheme) THEN
317 heimbach 1.22 CALL WRITE_0D_R8( tauCD, INDEX_NONE,'tauCD =',
318 cnh 1.6 &' /* CD coupling time-scale ( s ) */')
319 heimbach 1.22 CALL WRITE_0D_R8( rCD, INDEX_NONE,'rCD =',
320 cnh 1.6 &' /* Normalised CD coupling parameter */')
321 jmc 1.41 ENDIF
322 heimbach 1.22 CALL WRITE_0D_R8( startTime, INDEX_NONE,'startTime =',
323 cnh 1.6 &' /* Run start time ( s ). */')
324 heimbach 1.22 CALL WRITE_0D_R8( endTime, INDEX_NONE,'endTime =',
325 cnh 1.6 &' /* Integration ending time ( s ). */')
326 heimbach 1.22 CALL WRITE_0D_R8( pChkPtFreq, INDEX_NONE,'pChkPtFreq =',
327 cnh 1.7 &' /* Permanent restart/checkpoint file interval ( s ). */')
328 heimbach 1.22 CALL WRITE_0D_R8( chkPtFreq, INDEX_NONE,'chkPtFreq =',
329 cnh 1.7 &' /* Rolling restart/checkpoint file interval ( s ). */')
330 heimbach 1.22 CALL WRITE_0D_R8( dumpFreq, INDEX_NONE,'dumpFreq =',
331 cnh 1.6 &' /* Model state write out interval ( s ). */')
332 jmc 1.43 CALL WRITE_0D_R8( externForcingPeriod, INDEX_NONE,
333     & 'externForcingPeriod =', ' /* forcing period (s) */')
334     CALL WRITE_0D_R8( externForcingCycle, INDEX_NONE,
335     & 'externForcingCycle =', ' /* period of the cyle (s). */')
336     CALL WRITE_0D_R8( tauThetaClimRelax, INDEX_NONE,
337     & 'tauThetaClimRelax =', ' /* relaxation time scale (s) */')
338     CALL WRITE_0D_R8( tauSaltClimRelax, INDEX_NONE,
339     & 'tauSaltClimRelax =', ' /* relaxation time scale (s) */')
340     CALL WRITE_0D_R8( latBandClimRelax, INDEX_NONE,
341     & 'latBandClimRelax =', ' /* max. Lat. where relaxation */')
342 cnh 1.6 WRITE(msgBuf,'(A)') '// '
343 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
344     & SQUEEZE_RIGHT , 1)
345     WRITE(msgBuf,'(A)')
346     & '// Gridding paramters ( PARM04 in namelist ) '
347     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
348     & SQUEEZE_RIGHT , 1)
349 cnh 1.6 WRITE(msgBuf,'(A)') '// '
350 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
351     & SQUEEZE_RIGHT , 1)
352 heimbach 1.22 CALL WRITE_0D_L( usingCartesianGrid, INDEX_NONE,
353 cnh 1.17 & 'usingCartesianGrid =',
354 cnh 1.6 &' /* Cartesian coordinates flag ( True / False ) */')
355 heimbach 1.22 CALL WRITE_0D_L( usingSphericalPolarGrid, INDEX_NONE,
356 cnh 1.17 & 'usingSphericalPolarGrid =',
357 cnh 1.6 &' /* Spherical coordinates flag ( True / False ) */')
358 adcroft 1.24 CALL WRITE_0D_L( groundAtK1, INDEX_NONE, 'groundAtK1 =',
359     &' /* Lower Boundary (ground) at the surface(k=1) ( T / F ) */')
360 adcroft 1.36 CALL WRITE_0D_R8( Ro_SeaLevel, INDEX_NONE,'Ro_SeaLevel =',
361 adcroft 1.24 &' /* r(1) ( units of r ) */')
362 adcroft 1.36 CALL WRITE_0D_R8( rkFac, INDEX_NONE,'rkFac =',
363 adcroft 1.24 &' /* minus Vertical index orientation */')
364 adcroft 1.36 CALL WRITE_0D_R8( horiVertRatio, INDEX_NONE,'horiVertRatio =',
365 adcroft 1.24 &' /* Ratio on units : Horiz - Vertical */')
366 jmc 1.32 c CALL WRITE_1D_R8( delZ,Nr, INDEX_K,'delZ = ',
367     c &' /* W spacing ( m ) */')
368     c CALL WRITE_1D_R8( delP,Nr, INDEX_K,'delP = ',
369     c &' /* W spacing ( Pa ) */')
370     c CALL WRITE_1D_R8( delR,Nr, INDEX_K,'delR = ',
371     c &' /* W spacing ( units of r ) */')
372     CALL WRITE_1D_R8( drC,Nr, INDEX_K,'drC = ',
373     &' /* C spacing ( units of r ) */')
374     CALL WRITE_1D_R8( drF,Nr, INDEX_K,'drF = ',
375 cnh 1.15 &' /* W spacing ( units of r ) */')
376 cnh 1.6 CALL WRITE_1D_R8( delX, Nx, INDEX_I,'delX = ',
377     &' /* U spacing ( m - cartesian, degrees - spherical ) */')
378     CALL WRITE_1D_R8( delY, Ny, INDEX_J,'delY = ',
379     &' /* V spacing ( m - cartesian, degrees - spherical ) */')
380 heimbach 1.22 CALL WRITE_0D_R8( phiMin, INDEX_NONE,'phiMin = ',
381 cnh 1.17 &' /* South edge (ignored - cartesian, degrees - spherical ) */')
382 heimbach 1.22 CALL WRITE_0D_R8( thetaMin, INDEX_NONE,'thetaMin = ',
383 cnh 1.17 &' /* West edge ( ignored - cartesian, degrees - spherical ) */')
384 heimbach 1.22 CALL WRITE_0D_R8( rSphere, INDEX_NONE,'rSphere = ',
385 cnh 1.6 &' /* Radius ( ignored - cartesian, m - spherical ) */')
386     DO bi=1,nSx
387     DO I=1,sNx
388 heimbach 1.22 xcoord((bi-1)*sNx+I) = xC(I,1,bi,1)
389 cnh 1.6 ENDDO
390     ENDDO
391 cnh 1.11 CALL WRITE_1D_R8( xcoord, sNx*nSx, INDEX_I,'xcoord = ',
392 cnh 1.17 &' /* P-point X coord ( m - cartesian, degrees - spherical ) */')
393 cnh 1.6 DO bj=1,nSy
394     DO J=1,sNy
395 heimbach 1.22 ycoord((bj-1)*sNy+J) = yC(1,J,1,bj)
396 cnh 1.6 ENDDO
397     ENDDO
398 cnh 1.11 CALL WRITE_1D_R8( ycoord, sNy*nSy, INDEX_J,'ycoord = ',
399 cnh 1.17 &' /* P-point Y coord ( m - cartesian, degrees - spherical ) */')
400 cnh 1.13 DO K=1,Nr
401 heimbach 1.22 rcoord(K) = rC(K)
402 cnh 1.6 ENDDO
403 cnh 1.13 CALL WRITE_1D_R8( rcoord, Nr, INDEX_K,'rcoord = ',
404     &' /* P-point R coordinate ( units of r ) */')
405 jmc 1.32 DO K=1,Nr+1
406     rcoord(K) = rF(K)
407     ENDDO
408     CALL WRITE_1D_R8( rcoord, Nr+1, INDEX_K,'rF = ',
409     &' /* W-Interf. R coordinate ( units of r ) */')
410 cnh 1.6
411 cnh 1.26 C Grid along selected grid lines
412     coordLine = 1
413     tileLine = 1
414     CALL WRITE_XY_XLINE_RS( dxF, coordLine, tileLine,
415     I 'dxF','( m - cartesian, degrees - spherical )')
416     CALL WRITE_XY_YLINE_RS( dxF, coordLine, tileLine,
417     I 'dxF','( m - cartesian, degrees - spherical )')
418     CALL WRITE_XY_XLINE_RS( dyF, coordLine, tileLine,
419     I 'dyF','( m - cartesian, degrees - spherical )')
420     CALL WRITE_XY_YLINE_RS( dyF, coordLine, tileLine,
421     I 'dyF','( m - cartesian, degrees - spherical )')
422     CALL WRITE_XY_XLINE_RS( dxG, coordLine, tileLine,
423     I 'dxG','( m - cartesian, degrees - spherical )')
424     CALL WRITE_XY_YLINE_RS( dxG, coordLine, tileLine,
425     I 'dxG','( m - cartesian, degrees - spherical )')
426     CALL WRITE_XY_XLINE_RS( dyG, coordLine, tileLine,
427     I 'dyG','( m - cartesian, degrees - spherical )')
428     CALL WRITE_XY_YLINE_RS( dyG, coordLine, tileLine,
429     I 'dyG','( m - cartesian, degrees - spherical )')
430     CALL WRITE_XY_XLINE_RS( dxC, coordLine, tileLine,
431     I 'dxC','( m - cartesian, degrees - spherical )')
432     CALL WRITE_XY_YLINE_RS( dxC, coordLine, tileLine,
433     I 'dxC','( m - cartesian, degrees - spherical )')
434     CALL WRITE_XY_XLINE_RS( dyC, coordLine, tileLine,
435     I 'dyC','( m - cartesian, degrees - spherical )')
436     CALL WRITE_XY_YLINE_RS( dyC, coordLine, tileLine,
437     I 'dyC','( m - cartesian, degrees - spherical )')
438     CALL WRITE_XY_XLINE_RS( dxV, coordLine, tileLine,
439     I 'dxV','( m - cartesian, degrees - spherical )')
440     CALL WRITE_XY_YLINE_RS( dxV, coordLine, tileLine,
441     I 'dxV','( m - cartesian, degrees - spherical )')
442     CALL WRITE_XY_XLINE_RS( dyU, coordLine, tileLine,
443     I 'dyU','( m - cartesian, degrees - spherical )')
444     CALL WRITE_XY_YLINE_RS( dyU, coordLine, tileLine,
445     I 'dyU','( m - cartesian, degrees - spherical )')
446     CALL WRITE_XY_XLINE_RS( rA, coordLine, tileLine,
447     I 'rA','( m - cartesian, degrees - spherical )')
448     CALL WRITE_XY_YLINE_RS( rA, coordLine, tileLine,
449     I 'rA','( m - cartesian, degrees - spherical )')
450     CALL WRITE_XY_XLINE_RS( rAw, coordLine, tileLine,
451     I 'rAw','( m - cartesian, degrees - spherical )')
452     CALL WRITE_XY_YLINE_RS( rAw, coordLine, tileLine,
453     I 'rAw','( m - cartesian, degrees - spherical )')
454     CALL WRITE_XY_XLINE_RS( rAs, coordLine, tileLine,
455     I 'rAs','( m - cartesian, degrees - spherical )')
456     CALL WRITE_XY_YLINE_RS( rAs, coordLine, tileLine,
457     I 'rAs','( m - cartesian, degrees - spherical )')
458 cnh 1.5
459 cnh 1.1 WRITE(msgBuf,'(A)') ' '
460     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
461     & SQUEEZE_RIGHT , 1)
462 cnh 1.5
463 cnh 1.1 _END_MASTER(myThid)
464     _BARRIER
465    
466    
467     RETURN
468     100 FORMAT(A,
469 cnh 1.4 &' '
470 cnh 1.1 &)
471     END
472    

  ViewVC Help
Powered by ViewVC 1.1.22