/[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.40 - (hide annotations) (download)
Mon Mar 17 17:10:42 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint50b_pre, checkpoint50a_post
Changes since 1.39: +5 -1 lines
set the Earth rotation either directly (omega) or from the rotation period

1 jmc 1.40 C $Header: /u/gcmpack/MITgcm/model/src/config_summary.F,v 1.39 2003/02/26 03:21:08 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     CALL WRITE_0D_R8( atm_Po, INDEX_NONE, 'atm_Po =',
149     & ' /* standard reference pressure ( Pa ) */')
150     CALL WRITE_0D_I( integr_GeoPot, INDEX_NONE, 'integr_GeoPot =',
151     & ' /* select how the geopotential is integrated */')
152     CALL WRITE_0D_I( selectFindRoSurf, INDEX_NONE,
153     & 'selectFindRoSurf=',
154     & ' /* select how Surf.Ref. pressure is defined */')
155     ENDIF
156 heimbach 1.22 CALL WRITE_0D_R8( rhonil, INDEX_NONE,'rhonil =',
157 cnh 1.6 &' /* Reference density ( kg/m^3 ) */')
158 heimbach 1.22 CALL WRITE_0D_R8( rhoConst, INDEX_NONE,'rhoConst =',
159 mlosch 1.35 &' /* Reference density ( kg/m^3 ) */')
160     CALL WRITE_0D_R8( rhoConstFresh, INDEX_NONE,'rhoConstFresh =',
161 adcroft 1.20 &' /* Reference density ( kg/m^3 ) */')
162 heimbach 1.22 CALL WRITE_0D_R8( gravity, INDEX_NONE,'gravity =',
163 cnh 1.6 &' /* Gravitational acceleration ( m/s^2 ) */')
164 jmc 1.29 CALL WRITE_0D_R8( gBaro, INDEX_NONE,'gBaro =',
165     &' /* Barotropic gravity ( m/s^2 ) */')
166 jmc 1.40 CALL WRITE_0D_R8(rotationPeriod,INDEX_NONE,'rotationPeriod =',
167     &' /* Rotation Period ( s ) */')
168     CALL WRITE_0D_R8( omega, INDEX_NONE,'omega =',
169     &' /* Angular velocity ( rad/s ) */')
170 heimbach 1.22 CALL WRITE_0D_R8( f0, INDEX_NONE,'f0 =',
171 cnh 1.6 &' /* Reference coriolis parameter ( 1/s ) */')
172 heimbach 1.22 CALL WRITE_0D_R8( beta, INDEX_NONE,'beta =',
173 cnh 1.6 &' /* Beta ( 1/(m.s) ) */')
174 jmc 1.31
175 heimbach 1.22 CALL WRITE_0D_R8( freeSurfFac, INDEX_NONE,'freeSurfFac =',
176 jmc 1.27 &' /* Implicit free surface factor */')
177 heimbach 1.22 CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE,
178 cnh 1.8 & 'implicitFreeSurface =',
179     &' /* Implicit free surface on/off flag */')
180 heimbach 1.22 CALL WRITE_0D_L( rigidLid, INDEX_NONE,
181 cnh 1.8 & 'rigidLid =',
182     &' /* Rigid lid on/off flag */')
183 jmc 1.27 CALL WRITE_0D_R8( implicSurfPress, INDEX_NONE,
184     &'implicSurfPress =',
185     &' /* Surface Pressure implicit factor (0-1)*/')
186     CALL WRITE_0D_R8( implicDiv2Dflow, INDEX_NONE,
187     &'implicDiv2Dflow =',
188     &' /* Barot. Flow Div. implicit factor (0-1)*/')
189 jmc 1.31 CALL WRITE_0D_L( exactConserv, INDEX_NONE,
190     &'exactConserv =',
191     &' /* Exact Volume Conservation on/off flag*/')
192     CALL WRITE_0D_L( uniformLin_PhiSurf, INDEX_NONE,
193     &'uniformLin_PhiSurf =',
194     &' /* use uniform Bo_surf on/off flag*/')
195     CALL WRITE_0D_I( nonlinFreeSurf, INDEX_NONE,
196     &'nonlinFreeSurf =',
197     &' /* Non-linear Free Surf. options (-1,0,1,2,3)*/')
198     WRITE(msgBuf,'(2A)') ' -1,0= Off ; 1,2,3= On,',
199     & ' 2=+rescale gU,gV, 3=+update cg2d solv.'
200     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
201     & SQUEEZE_RIGHT , 1)
202     CALL WRITE_0D_R8( hFacInf, INDEX_NONE,
203     &'hFacInf =',
204     &' /* lower threshold for hFac (nonlinFreeSurf only)*/')
205     CALL WRITE_0D_R8( hFacSup, INDEX_NONE,
206     &'hFacSup =',
207     &' /* upper threshold for hFac (nonlinFreeSurf only)*/')
208 jmc 1.38 CALL WRITE_0D_I( select_rStar, INDEX_NONE,
209     &'select_rStar =',
210     &' /* r* Coordinate options (not yet implemented)*/')
211 jmc 1.31 CALL WRITE_0D_L( useRealFreshWaterFlux, INDEX_NONE,
212     &'useRealFreshWaterFlux =',
213     &' /* Real Fresh Water Flux on/off flag*/')
214     IF (useRealFreshWaterFlux .AND. nonlinFreeSurf.GT.0) THEN
215     CALL WRITE_0D_R8( temp_EvPrRn, INDEX_NONE,
216     &'temp_EvPrRn =',
217     &' /* Temp. of Evap/Prec/R (UNSET=use local T)(oC)*/')
218     CALL WRITE_0D_R8( salt_EvPrRn, INDEX_NONE,
219     &'salt_EvPrRn =',
220     &' /* Salin. of Evap/Prec/R (UNSET=use local S)(ppt)*/')
221     CALL WRITE_0D_R8( trac_EvPrRn, INDEX_NONE,
222     &'trac_EvPrRn =',
223     &' /* Tracer in Evap/Prec/R (UNSET=use local Tr)*/')
224     ELSE
225     CALL WRITE_0D_R8( convertFW2Salt, INDEX_NONE,
226     &'convertFW2Salt =',
227     &' /* convert F.W. Flux to Salt Flux (-1=use local S)(ppt)*/')
228     ENDIF
229    
230 jmc 1.33 CALL WRITE_0D_L( multiDimAdvection, INDEX_NONE,
231     & 'multiDimAdvection =',
232     &' /* enable/disable Multi-Dim Advection */')
233 jmc 1.27 CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE,
234     & 'staggerTimeStep =',
235     &' /* Stagger time stepping on/off flag */')
236 heimbach 1.22 CALL WRITE_0D_L( momStepping, INDEX_NONE,
237 cnh 1.10 & 'momStepping =', ' /* Momentum equation on/off flag */')
238 heimbach 1.22 CALL WRITE_0D_L( momAdvection, INDEX_NONE,
239 cnh 1.10 & 'momAdvection =', ' /* Momentum advection on/off flag */')
240 heimbach 1.22 CALL WRITE_0D_L( momViscosity, INDEX_NONE,
241 cnh 1.9 & 'momViscosity =', ' /* Momentum viscosity on/off flag */')
242 heimbach 1.22 CALL WRITE_0D_L( useCoriolis, INDEX_NONE,
243 cnh 1.9 & 'useCoriolis =', ' /* Coriolis on/off flag */')
244 heimbach 1.22 CALL WRITE_0D_L( momForcing, INDEX_NONE,
245 cnh 1.9 & 'momForcing =', ' /* Momentum forcing on/off flag */')
246 heimbach 1.22 CALL WRITE_0D_L( momPressureForcing, INDEX_NONE,
247 cnh 1.17 & 'momPressureForcing =',
248     & ' /* Momentum pressure term on/off flag */')
249 heimbach 1.22 CALL WRITE_0D_L( tempStepping, INDEX_NONE,
250 cnh 1.10 & 'tempStepping =', ' /* Temperature equation on/off flag */')
251 jmc 1.33 CALL WRITE_0D_L( tempAdvection, INDEX_NONE,
252     & 'tempAdvection=', ' /* Temperature advection on/off flag */')
253     CALL WRITE_0D_L( tempForcing, INDEX_NONE,
254     & 'tempForcing =', ' /* Temperature forcing on/off flag */')
255     CALL WRITE_0D_L( saltStepping, INDEX_NONE,
256     & 'saltStepping =', ' /* Salinity equation on/off flag */')
257     CALL WRITE_0D_L( saltAdvection, INDEX_NONE,
258     & 'saltAdvection=', ' /* Salinity advection on/off flag */')
259     CALL WRITE_0D_L( saltForcing, INDEX_NONE,
260     & 'saltForcing =', ' /* Salinity forcing on/off flag */')
261 heimbach 1.22 CALL WRITE_0D_L( nonHydrostatic, INDEX_NONE,
262 adcroft 1.20 & 'nonHydrostatic =', ' /* Non-Hydrostatic on/off flag */')
263 cnh 1.6 WRITE(msgBuf,'(A)') '// '
264 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
265     & SQUEEZE_RIGHT , 1)
266 cnh 1.9
267 cnh 1.17 WRITE(msgBuf,'(A)')
268     & '// Elliptic solver(s) paramters ( PARM02 in namelist ) '
269     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
270     & SQUEEZE_RIGHT , 1)
271 cnh 1.6 WRITE(msgBuf,'(A)') '// '
272 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
273     & SQUEEZE_RIGHT , 1)
274 heimbach 1.22 CALL WRITE_0D_I( cg2dMaxIters, INDEX_NONE,'cg2dMaxIters =',
275 cnh 1.6 &' /* Upper limit on 2d con. grad iterations */')
276 heimbach 1.22 CALL WRITE_0D_I( cg2dChkResFreq, INDEX_NONE,'cg2dChkResFreq =',
277 cnh 1.6 &' /* 2d con. grad convergence test frequency */')
278 heimbach 1.22 CALL WRITE_0D_R8( cg2dTargetResidual, INDEX_NONE,
279 cnh 1.17 & 'cg2dTargetResidual =',
280 cnh 1.6 &' /* 2d con. grad target residual */')
281    
282     WRITE(msgBuf,'(A)') '// '
283 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
284     & SQUEEZE_RIGHT , 1)
285     WRITE(msgBuf,'(A)')
286     & '// Time stepping paramters ( PARM03 in namelist ) '
287     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
288     & SQUEEZE_RIGHT , 1)
289 cnh 1.6 WRITE(msgBuf,'(A)') '// '
290 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
291     & SQUEEZE_RIGHT , 1)
292 heimbach 1.22 CALL WRITE_0D_I( nIter0, INDEX_NONE,'nIter0 =',
293 cnh 1.6 &' /* Base timestep number */')
294 heimbach 1.22 CALL WRITE_0D_I( nTimeSteps, INDEX_NONE,'nTimeSteps =',
295 cnh 1.6 &' /* Number of timesteps */')
296 heimbach 1.22 CALL WRITE_0D_R8( deltaTmom, INDEX_NONE,'deltatTmom =',
297 cnh 1.6 &' /* Momentum equation timestep ( s ) */')
298 jmc 1.37 CALL WRITE_0D_R8( deltaTfreesurf,INDEX_NONE,'deltaTfreesurf =',
299     &' /* FreeSurface equation timestep ( s ) */')
300 heimbach 1.22 CALL WRITE_0D_R8( deltaTtracer, INDEX_NONE,'deltatTtracer =',
301 cnh 1.6 &' /* Tracer equation timestep ( s ) */')
302 heimbach 1.22 CALL WRITE_0D_R8( deltaTClock, INDEX_NONE,'deltatTClock =',
303 cnh 1.12 &' /* Model clock timestep ( s ) */')
304 heimbach 1.22 CALL WRITE_0D_R8( cAdjFreq, INDEX_NONE,'cAdjFreq =',
305 cnh 1.9 &' /* Convective adjustment interval ( s ) */')
306 jmc 1.33 CALL WRITE_0D_L( forcing_In_AB,INDEX_NONE,'forcing_In_AB =',
307     &' /* put T,S Forcing in Adams-Bash. stepping */')
308 heimbach 1.22 CALL WRITE_0D_R8( abeps, INDEX_NONE,'abeps =',
309 cnh 1.6 &' /* Adams-Bashforth stabilizing weight */')
310 heimbach 1.22 CALL WRITE_0D_R8( tauCD, INDEX_NONE,'tauCD =',
311 cnh 1.6 &' /* CD coupling time-scale ( s ) */')
312 heimbach 1.22 CALL WRITE_0D_R8( rCD, INDEX_NONE,'rCD =',
313 cnh 1.6 &' /* Normalised CD coupling parameter */')
314 heimbach 1.22 CALL WRITE_0D_R8( startTime, INDEX_NONE,'startTime =',
315 cnh 1.6 &' /* Run start time ( s ). */')
316 heimbach 1.22 CALL WRITE_0D_R8( endTime, INDEX_NONE,'endTime =',
317 cnh 1.6 &' /* Integration ending time ( s ). */')
318 heimbach 1.22 CALL WRITE_0D_R8( pChkPtFreq, INDEX_NONE,'pChkPtFreq =',
319 cnh 1.7 &' /* Permanent restart/checkpoint file interval ( s ). */')
320 heimbach 1.22 CALL WRITE_0D_R8( chkPtFreq, INDEX_NONE,'chkPtFreq =',
321 cnh 1.7 &' /* Rolling restart/checkpoint file interval ( s ). */')
322 heimbach 1.22 CALL WRITE_0D_R8( dumpFreq, INDEX_NONE,'dumpFreq =',
323 cnh 1.6 &' /* Model state write out interval ( s ). */')
324    
325     WRITE(msgBuf,'(A)') '// '
326 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
327     & SQUEEZE_RIGHT , 1)
328     WRITE(msgBuf,'(A)')
329     & '// Gridding paramters ( PARM04 in namelist ) '
330     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
331     & SQUEEZE_RIGHT , 1)
332 cnh 1.6 WRITE(msgBuf,'(A)') '// '
333 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
334     & SQUEEZE_RIGHT , 1)
335 heimbach 1.22 CALL WRITE_0D_L( usingCartesianGrid, INDEX_NONE,
336 cnh 1.17 & 'usingCartesianGrid =',
337 cnh 1.6 &' /* Cartesian coordinates flag ( True / False ) */')
338 heimbach 1.22 CALL WRITE_0D_L( usingSphericalPolarGrid, INDEX_NONE,
339 cnh 1.17 & 'usingSphericalPolarGrid =',
340 cnh 1.6 &' /* Spherical coordinates flag ( True / False ) */')
341 adcroft 1.24 CALL WRITE_0D_L( groundAtK1, INDEX_NONE, 'groundAtK1 =',
342     &' /* Lower Boundary (ground) at the surface(k=1) ( T / F ) */')
343 adcroft 1.36 CALL WRITE_0D_R8( Ro_SeaLevel, INDEX_NONE,'Ro_SeaLevel =',
344 adcroft 1.24 &' /* r(1) ( units of r ) */')
345 adcroft 1.36 CALL WRITE_0D_R8( rkFac, INDEX_NONE,'rkFac =',
346 adcroft 1.24 &' /* minus Vertical index orientation */')
347 adcroft 1.36 CALL WRITE_0D_R8( horiVertRatio, INDEX_NONE,'horiVertRatio =',
348 adcroft 1.24 &' /* Ratio on units : Horiz - Vertical */')
349 jmc 1.32 c CALL WRITE_1D_R8( delZ,Nr, INDEX_K,'delZ = ',
350     c &' /* W spacing ( m ) */')
351     c CALL WRITE_1D_R8( delP,Nr, INDEX_K,'delP = ',
352     c &' /* W spacing ( Pa ) */')
353     c CALL WRITE_1D_R8( delR,Nr, INDEX_K,'delR = ',
354     c &' /* W spacing ( units of r ) */')
355     CALL WRITE_1D_R8( drC,Nr, INDEX_K,'drC = ',
356     &' /* C spacing ( units of r ) */')
357     CALL WRITE_1D_R8( drF,Nr, INDEX_K,'drF = ',
358 cnh 1.15 &' /* W spacing ( units of r ) */')
359 cnh 1.6 CALL WRITE_1D_R8( delX, Nx, INDEX_I,'delX = ',
360     &' /* U spacing ( m - cartesian, degrees - spherical ) */')
361     CALL WRITE_1D_R8( delY, Ny, INDEX_J,'delY = ',
362     &' /* V spacing ( m - cartesian, degrees - spherical ) */')
363 heimbach 1.22 CALL WRITE_0D_R8( phiMin, INDEX_NONE,'phiMin = ',
364 cnh 1.17 &' /* South edge (ignored - cartesian, degrees - spherical ) */')
365 heimbach 1.22 CALL WRITE_0D_R8( thetaMin, INDEX_NONE,'thetaMin = ',
366 cnh 1.17 &' /* West edge ( ignored - cartesian, degrees - spherical ) */')
367 heimbach 1.22 CALL WRITE_0D_R8( rSphere, INDEX_NONE,'rSphere = ',
368 cnh 1.6 &' /* Radius ( ignored - cartesian, m - spherical ) */')
369     DO bi=1,nSx
370     DO I=1,sNx
371 heimbach 1.22 xcoord((bi-1)*sNx+I) = xC(I,1,bi,1)
372 cnh 1.6 ENDDO
373     ENDDO
374 cnh 1.11 CALL WRITE_1D_R8( xcoord, sNx*nSx, INDEX_I,'xcoord = ',
375 cnh 1.17 &' /* P-point X coord ( m - cartesian, degrees - spherical ) */')
376 cnh 1.6 DO bj=1,nSy
377     DO J=1,sNy
378 heimbach 1.22 ycoord((bj-1)*sNy+J) = yC(1,J,1,bj)
379 cnh 1.6 ENDDO
380     ENDDO
381 cnh 1.11 CALL WRITE_1D_R8( ycoord, sNy*nSy, INDEX_J,'ycoord = ',
382 cnh 1.17 &' /* P-point Y coord ( m - cartesian, degrees - spherical ) */')
383 cnh 1.13 DO K=1,Nr
384 heimbach 1.22 rcoord(K) = rC(K)
385 cnh 1.6 ENDDO
386 cnh 1.13 CALL WRITE_1D_R8( rcoord, Nr, INDEX_K,'rcoord = ',
387     &' /* P-point R coordinate ( units of r ) */')
388 jmc 1.32 DO K=1,Nr+1
389     rcoord(K) = rF(K)
390     ENDDO
391     CALL WRITE_1D_R8( rcoord, Nr+1, INDEX_K,'rF = ',
392     &' /* W-Interf. R coordinate ( units of r ) */')
393 cnh 1.6
394 cnh 1.26 C Grid along selected grid lines
395     coordLine = 1
396     tileLine = 1
397     CALL WRITE_XY_XLINE_RS( dxF, coordLine, tileLine,
398     I 'dxF','( m - cartesian, degrees - spherical )')
399     CALL WRITE_XY_YLINE_RS( dxF, coordLine, tileLine,
400     I 'dxF','( m - cartesian, degrees - spherical )')
401     CALL WRITE_XY_XLINE_RS( dyF, coordLine, tileLine,
402     I 'dyF','( m - cartesian, degrees - spherical )')
403     CALL WRITE_XY_YLINE_RS( dyF, coordLine, tileLine,
404     I 'dyF','( m - cartesian, degrees - spherical )')
405     CALL WRITE_XY_XLINE_RS( dxG, coordLine, tileLine,
406     I 'dxG','( m - cartesian, degrees - spherical )')
407     CALL WRITE_XY_YLINE_RS( dxG, coordLine, tileLine,
408     I 'dxG','( m - cartesian, degrees - spherical )')
409     CALL WRITE_XY_XLINE_RS( dyG, coordLine, tileLine,
410     I 'dyG','( m - cartesian, degrees - spherical )')
411     CALL WRITE_XY_YLINE_RS( dyG, coordLine, tileLine,
412     I 'dyG','( m - cartesian, degrees - spherical )')
413     CALL WRITE_XY_XLINE_RS( dxC, coordLine, tileLine,
414     I 'dxC','( m - cartesian, degrees - spherical )')
415     CALL WRITE_XY_YLINE_RS( dxC, coordLine, tileLine,
416     I 'dxC','( m - cartesian, degrees - spherical )')
417     CALL WRITE_XY_XLINE_RS( dyC, coordLine, tileLine,
418     I 'dyC','( m - cartesian, degrees - spherical )')
419     CALL WRITE_XY_YLINE_RS( dyC, coordLine, tileLine,
420     I 'dyC','( m - cartesian, degrees - spherical )')
421     CALL WRITE_XY_XLINE_RS( dxV, coordLine, tileLine,
422     I 'dxV','( m - cartesian, degrees - spherical )')
423     CALL WRITE_XY_YLINE_RS( dxV, coordLine, tileLine,
424     I 'dxV','( m - cartesian, degrees - spherical )')
425     CALL WRITE_XY_XLINE_RS( dyU, coordLine, tileLine,
426     I 'dyU','( m - cartesian, degrees - spherical )')
427     CALL WRITE_XY_YLINE_RS( dyU, coordLine, tileLine,
428     I 'dyU','( m - cartesian, degrees - spherical )')
429     CALL WRITE_XY_XLINE_RS( rA, coordLine, tileLine,
430     I 'rA','( m - cartesian, degrees - spherical )')
431     CALL WRITE_XY_YLINE_RS( rA, coordLine, tileLine,
432     I 'rA','( m - cartesian, degrees - spherical )')
433     CALL WRITE_XY_XLINE_RS( rAw, coordLine, tileLine,
434     I 'rAw','( m - cartesian, degrees - spherical )')
435     CALL WRITE_XY_YLINE_RS( rAw, coordLine, tileLine,
436     I 'rAw','( m - cartesian, degrees - spherical )')
437     CALL WRITE_XY_XLINE_RS( rAs, coordLine, tileLine,
438     I 'rAs','( m - cartesian, degrees - spherical )')
439     CALL WRITE_XY_YLINE_RS( rAs, coordLine, tileLine,
440     I 'rAs','( m - cartesian, degrees - spherical )')
441 cnh 1.5
442 cnh 1.1 WRITE(msgBuf,'(A)') ' '
443     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
444     & SQUEEZE_RIGHT , 1)
445 cnh 1.5
446 cnh 1.1 _END_MASTER(myThid)
447     _BARRIER
448    
449    
450     RETURN
451     100 FORMAT(A,
452 cnh 1.4 &' '
453 cnh 1.1 &)
454     END
455    

  ViewVC Help
Powered by ViewVC 1.1.22