/[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.35 - (hide annotations) (download)
Wed Sep 25 19:36:50 2002 UTC (21 years, 8 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint46j_pre, checkpoint46j_post, checkpoint46i_post, checkpoint46h_post
Changes since 1.34: +3 -1 lines
o cleaned up the use of rhoNil and rhoConst.
  - rhoNil should only appear in the LINEAR equation of state, everywhere
    else rhoNil is replaced by rhoConst, e.g. find_rho computes rho-rhoConst
    and the dynamical equations are all divided by rhoConst
o introduced new parameter rhoConstFresh, a reference density of fresh
  water, to remove the fresh water flux's dependence on rhoNil. The default
  value is 999.8 kg/m^3
o cleanup up external_forcing.F and external_forcing_surf.F
  - can now be used by both OCEANIC and OCEANICP

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

  ViewVC Help
Powered by ViewVC 1.1.22