1 | MODULE trcnam_medusa |
---|
2 | !!====================================================================== |
---|
3 | !! *** MODULE trcnam_medusa *** |
---|
4 | !! TOP : initialisation of some run parameters for MEDUSA bio-model |
---|
5 | !!====================================================================== |
---|
6 | !! History : 2.0 ! 2007-12 (C. Ethe, G. Madec) Original code |
---|
7 | !! - ! 2008-08 (K. Popova) adaptation for MEDUSA |
---|
8 | !! - ! 2008-11 (A. Yool) continuing adaptation for MEDUSA |
---|
9 | !! - ! 2010-03 (A. Yool) updated for branch inclusion |
---|
10 | !! - ! 2011-04 (A. Yool) updated for ROAM project |
---|
11 | !! - ! 2013-05 (A. Yool) renamed (from trclsm) for v3.5 |
---|
12 | !! - ! 2015-11 (J. Palmieri) added iom_use for diags |
---|
13 | !! - ! 2016-11 (A. Yool) updated diags for CMIP6 |
---|
14 | !!---------------------------------------------------------------------- |
---|
15 | #if defined key_medusa |
---|
16 | !!---------------------------------------------------------------------- |
---|
17 | !! 'key_medusa' : MEDUSA model |
---|
18 | !!---------------------------------------------------------------------- |
---|
19 | !! trc_nam_medusa : MEDUSA model initialisation |
---|
20 | !!---------------------------------------------------------------------- |
---|
21 | USE oce_trc ! Ocean variables |
---|
22 | USE par_trc ! TOP parameters |
---|
23 | USE trc ! TOP variables |
---|
24 | USE sms_medusa ! sms trends |
---|
25 | USE iom ! I/O manager |
---|
26 | USE sbc_oce, ONLY: lk_oasis |
---|
27 | !!USE trc_nam_dia ! JPALM 13-11-2015 -- if iom_use for diag |
---|
28 | |
---|
29 | !! AXY (04/02/14): necessary to find NaNs on HECTOR |
---|
30 | USE, INTRINSIC :: ieee_arithmetic |
---|
31 | |
---|
32 | IMPLICIT NONE |
---|
33 | PRIVATE |
---|
34 | |
---|
35 | PUBLIC trc_nam_medusa ! called by trcnam.F90 module |
---|
36 | PUBLIC trc_nam_iom_medusa ! called by trcnam.F90 module |
---|
37 | |
---|
38 | !!* Substitution |
---|
39 | # include "domzgr_substitute.h90" |
---|
40 | !!---------------------------------------------------------------------- |
---|
41 | !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007) |
---|
42 | !! $Id$ |
---|
43 | !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) |
---|
44 | !!---------------------------------------------------------------------- |
---|
45 | |
---|
46 | CONTAINS |
---|
47 | |
---|
48 | SUBROUTINE trc_nam_medusa |
---|
49 | !!---------------------------------------------------------------------- |
---|
50 | !! *** trc_nam_medusa *** |
---|
51 | !! |
---|
52 | !! ** Purpose : read MEDUSA namelist |
---|
53 | !! |
---|
54 | !! ** input : file 'namelist.trc.sms' containing the following |
---|
55 | !! namelist: natbio, natopt, and natdbi ("key_trc_diabio") |
---|
56 | !! |
---|
57 | !! ekp: namelist nabio contains ALL parameters of the ecosystem |
---|
58 | !! point sourses and sinks PLUS sediment exchange |
---|
59 | !! dia_bio - used by Lobster to output all point terms |
---|
60 | !! (sourses and sinks of bio) |
---|
61 | !! dia_add - additional diagnostics for biology such as |
---|
62 | !! primary production (2d depth integrated field or 3d) |
---|
63 | !!---------------------------------------------------------------------- |
---|
64 | !! |
---|
65 | INTEGER :: ji,jj,jk |
---|
66 | REAL(wp) :: fthk, fdep, fdep1 |
---|
67 | REAL(wp) :: q1, q2, q3 |
---|
68 | ! |
---|
69 | NAMELIST/natbio/ xxi,xaln,xald,jphy,xvpn,xvpd, & |
---|
70 | & xsin0,xnsi0,xuif,jliebig, jq10, & |
---|
71 | & xthetam,xthetamd,xnln,xnld,xsld,xfln,xfld, & |
---|
72 | & xgmi,xgme,xkmi,xkme,xphi,xbetan,xbetac,xkc, & |
---|
73 | & xpmipn,xpmid,xpmepn,xpmepd,xpmezmi,xpmed, & |
---|
74 | & xmetapn,xmetapd,xmetazmi,xmetazme, & |
---|
75 | & jmpn,xmpn,xkphn,jmpd,xmpd,xkphd,jmzmi,xmzmi,xkzmi, & |
---|
76 | & jmzme,xmzme,xkzme,jmd,jsfd,xmd,xmdc, & |
---|
77 | & xthetapn,xthetapd,xthetazmi,xthetazme,xthetad, & |
---|
78 | & xrfn,xrsn,vsed,xhr, & |
---|
79 | & jiron,xfe_mass,xfe_sol,xfe_sed,xLgT,xk_FeL,xk_sc_Fe, & |
---|
80 | & jexport,jfdfate,jrratio,jocalccd,xridg_r0, & |
---|
81 | & xfdfrac1,xfdfrac2,xfdfrac3, & |
---|
82 | & xcaco3a,xcaco3b,xmassc,xmassca,xmasssi,xprotca, & |
---|
83 | & xprotsi,xfastc,xfastca,xfastsi, & |
---|
84 | & jorgben,jinorgben,xsedn,xsedfe,xsedsi,xsedc,xsedca, & |
---|
85 | & xburial, & |
---|
86 | & jriver_n,jriver_si,jriver_c,jriver_alk,jriver_dep, & |
---|
87 | & xsdiss, & |
---|
88 | & sedlam,sedlostpoc,jpkb,jdms,jdms_input,jdms_model, & |
---|
89 | & scl_chl, chl_out, dmsmin, dmscut, dmsslp |
---|
90 | #if defined key_roam |
---|
91 | NAMELIST/natroam/ xthetaphy,xthetazoo,xthetanit, & |
---|
92 | & xthetarem,xo2min |
---|
93 | #endif |
---|
94 | NAMELIST/natopt/xkg0,xkr0,xkgp,xkrp,xlg,xlr,rpig |
---|
95 | INTEGER :: jl, jn |
---|
96 | INTEGER :: ios ! Local integer output status for namelist read |
---|
97 | CHARACTER(LEN=32) :: clname |
---|
98 | !! |
---|
99 | !!---------------------------------------------------------------------- |
---|
100 | |
---|
101 | IF(lwp) WRITE(numout,*) |
---|
102 | clname = 'namelist_medusa' |
---|
103 | IF(lwp) WRITE(numout,*) ' trc_nam_medusa: read MEDUSA namelist' |
---|
104 | IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~~~~' |
---|
105 | # if defined key_debug_medusa |
---|
106 | CALL flush(numout) |
---|
107 | # endif |
---|
108 | |
---|
109 | |
---|
110 | CALL ctl_opn( numnatp_ref, TRIM( clname )//'_ref', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE. ) |
---|
111 | CALL ctl_opn( numnatp_cfg, TRIM( clname )//'_cfg', 'OLD', 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE. ) |
---|
112 | IF(lwm) CALL ctl_opn( numonp , 'output.namelist.pis' , 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, numout, .FALSE. ) |
---|
113 | |
---|
114 | # if defined key_debug_medusa |
---|
115 | CALL flush(numout) |
---|
116 | IF (lwp) write (numout,*) '------------------------------' |
---|
117 | IF (lwp) write (numout,*) 'Jpalm - debug' |
---|
118 | IF (lwp) write (numout,*) 'open namelist_medusa -- OK' |
---|
119 | IF (lwp) write (numout,*) 'Now, read namilists inside :' |
---|
120 | IF (lwp) write (numout,*) ' ' |
---|
121 | # endif |
---|
122 | ! |
---|
123 | # if defined key_debug_medusa |
---|
124 | CALL flush(numout) |
---|
125 | # endif |
---|
126 | |
---|
127 | ! 1.4 namelist natbio : biological parameters |
---|
128 | ! ------------------------------------------- |
---|
129 | !! Note: the default values below will all be overwritten by the |
---|
130 | !! input in the namelist natbio. |
---|
131 | |
---|
132 | xxi = 0. |
---|
133 | xaln = 0. |
---|
134 | xald = 0. |
---|
135 | jphy = 0 |
---|
136 | xvpn = 0. |
---|
137 | xvpd = 0. |
---|
138 | xthetam = 0. |
---|
139 | xthetamd = 0. |
---|
140 | !! |
---|
141 | xsin0 = 0. |
---|
142 | xnsi0 = 0. |
---|
143 | xuif = 0. |
---|
144 | !! |
---|
145 | jliebig = 0 |
---|
146 | jq10 = 0. |
---|
147 | xnln = 0. |
---|
148 | xnld = 0. |
---|
149 | xsld = 0. |
---|
150 | xfln = 0. |
---|
151 | xfld = 0. |
---|
152 | !! |
---|
153 | xgmi = 0. |
---|
154 | xgme = 0. |
---|
155 | xkmi = 0. |
---|
156 | xkme = 0. |
---|
157 | xphi = 0. |
---|
158 | xbetan = 0. |
---|
159 | xbetac = 0. |
---|
160 | xkc = 0. |
---|
161 | xpmipn = 0. |
---|
162 | xpmid = 0. |
---|
163 | xpmepn = 0. |
---|
164 | xpmepd = 0. |
---|
165 | xpmezmi = 0. |
---|
166 | xpmed = 0. |
---|
167 | !! |
---|
168 | xmetapn = 0. |
---|
169 | xmetapd = 0. |
---|
170 | xmetazmi = 0. |
---|
171 | xmetazme = 0. |
---|
172 | !! |
---|
173 | jmpn = 0 |
---|
174 | xmpn = 0. |
---|
175 | xkphn = 0. |
---|
176 | jmpd = 0 |
---|
177 | xmpd = 0. |
---|
178 | xkphd = 0. |
---|
179 | jmzmi = 0 |
---|
180 | xmzmi = 0. |
---|
181 | xkzmi = 0. |
---|
182 | jmzme = 0 |
---|
183 | xmzme = 0. |
---|
184 | xkzme = 0. |
---|
185 | !! |
---|
186 | jmd = 0 |
---|
187 | jsfd = 0 |
---|
188 | xmd = 0. |
---|
189 | xmdc = 0. |
---|
190 | !! |
---|
191 | xthetapn = 0. |
---|
192 | xthetapd = 0. |
---|
193 | xthetazmi = 0. |
---|
194 | xthetazme = 0. |
---|
195 | xthetad = 0. |
---|
196 | xrfn = 0. |
---|
197 | xrsn = 0. !: (NOT USED HERE; RETAINED FOR LOBSTER) |
---|
198 | !! |
---|
199 | jiron = 0 |
---|
200 | xfe_mass = 0. |
---|
201 | xfe_sol = 0. |
---|
202 | xfe_sed = 0. |
---|
203 | xLgT = 0. |
---|
204 | xk_FeL = 0. |
---|
205 | xk_sc_Fe = 0. |
---|
206 | !! |
---|
207 | jexport = 0 |
---|
208 | jfdfate = 0 |
---|
209 | jrratio = 0 |
---|
210 | jocalccd = 0 |
---|
211 | xridg_r0 = 0. |
---|
212 | xfdfrac1 = 0. |
---|
213 | xfdfrac2 = 0. |
---|
214 | xfdfrac3 = 0. |
---|
215 | xcaco3a = 0. |
---|
216 | xcaco3b = 0. |
---|
217 | xmassc = 0. |
---|
218 | xmassca = 0. |
---|
219 | xmasssi = 0. |
---|
220 | xprotca = 0. |
---|
221 | xprotsi = 0. |
---|
222 | xfastc = 0. |
---|
223 | xfastca = 0. |
---|
224 | xfastsi = 0. |
---|
225 | !! |
---|
226 | jorgben = 0 |
---|
227 | jinorgben = 0 |
---|
228 | xsedn = 0. |
---|
229 | xsedfe = 0. |
---|
230 | xsedsi = 0. |
---|
231 | xsedc = 0. |
---|
232 | xsedca = 0. |
---|
233 | xburial = 0. |
---|
234 | !! |
---|
235 | jriver_n = 0 |
---|
236 | jriver_si = 0 |
---|
237 | jriver_c = 0 |
---|
238 | jriver_alk = 0 |
---|
239 | jriver_dep = 1 |
---|
240 | !! |
---|
241 | xsdiss = 0. |
---|
242 | !! |
---|
243 | vsed = 0. |
---|
244 | xhr = 0. |
---|
245 | !! |
---|
246 | sedlam = 0. |
---|
247 | sedlostpoc = 0. |
---|
248 | jpkb = 0. |
---|
249 | jdms = 0 |
---|
250 | jdms_input = 0 |
---|
251 | jdms_model = 0 |
---|
252 | scl_chl = 1. |
---|
253 | chl_out = 1 |
---|
254 | dmsmin = 2.29 !! Anderson DMS default |
---|
255 | dmscut = 1.72 !! Anderson DMS default |
---|
256 | dmsslp = 8.24 !! Anderson DMS default |
---|
257 | |
---|
258 | !REWIND(numnatm) |
---|
259 | !READ(numnatm,natbio) |
---|
260 | ! Namelist natbio |
---|
261 | ! ------------------- |
---|
262 | REWIND( numnatp_ref ) ! Namelist natbio in reference namelist : MEDUSA diagnostics |
---|
263 | READ ( numnatp_ref, natbio, IOSTAT = ios, ERR = 903) |
---|
264 | 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'natbio in reference namelist', lwp ) |
---|
265 | |
---|
266 | REWIND( numnatp_cfg ) ! Namelist natbio in configuration namelist : MEDUSA diagnostics |
---|
267 | READ ( numnatp_cfg, natbio, IOSTAT = ios, ERR = 904 ) |
---|
268 | 904 IF( ios /= 0 ) CALL ctl_nam ( ios , 'natbio in configuration namelist', lwp ) |
---|
269 | IF(lwm) WRITE ( numonp, natbio ) |
---|
270 | |
---|
271 | !! Primary production and chl related quantities |
---|
272 | !! xxi : conversion factor from gC to mmolN |
---|
273 | !! xaln : Chl-a specific initial slope of P-I curve for non-diatoms |
---|
274 | !! xald : Chl-a specific initial slope of P-I curve for diatoms |
---|
275 | !! jphy : phytoplankton T-dependent growth switch |
---|
276 | !! xvpn : maximum growth rate for non-diatoms |
---|
277 | !! xvpd : maximum growth rate for diatoms |
---|
278 | !! xthetam : maximum Chl to C ratio for non-diatoms |
---|
279 | !! xthetamd : maximum Chl to C ratio for diatoms |
---|
280 | !! |
---|
281 | !! Diatom silicon parameters |
---|
282 | !! xsin0 : minimum diatom Si:N ratio |
---|
283 | !! xnsi0 : minimum diatom N:Si ratio |
---|
284 | !! xuif : hypothetical growth ratio at infinite Si:N ratio |
---|
285 | !! |
---|
286 | !! Nutrient limitation |
---|
287 | !! jliebig : Liebig nutrient uptake switch |
---|
288 | !! xnln : half-sat constant for DIN uptake by non-diatoms |
---|
289 | !! xnld : half-sat constant for DIN uptake by diatoms |
---|
290 | !! xsl : half-sat constant for Si uptake by diatoms |
---|
291 | !! xfld : half-sat constant for Fe uptake by diatoms |
---|
292 | !! xfln : half-sat constant for Fe uptake by non-datoms |
---|
293 | !! |
---|
294 | !! Grazing |
---|
295 | !! xgmi : microzoo maximum growth rate |
---|
296 | !! xgme : mesozoo maximum growth rate |
---|
297 | !! xkmi : microzoo grazing half-sat parameter |
---|
298 | !! xkme : mesozoo grazing half-sat parameter |
---|
299 | !! xphi : micro/mesozoo grazing inefficiency |
---|
300 | !! xbetan : micro/mesozoo N assimilation efficiency |
---|
301 | !! xbetac : micro/mesozoo C assimilation efficiency |
---|
302 | !! xkc : micro/mesozoo net C growth efficiency |
---|
303 | !! xpmipn : grazing preference of microzoo for non-diatoms |
---|
304 | !! xpmid : grazing preference of microzoo for diatoms |
---|
305 | !! xpmepn : grazing preference of mesozoo for non-diatoms |
---|
306 | !! xpmepd : grazing preference of mesozoo for diatoms |
---|
307 | !! xpmezmi : grazing preference of mesozoo for microzoo |
---|
308 | !! xpmed : grazing preference of mesozoo for detritus |
---|
309 | !! |
---|
310 | !! Metabolic losses |
---|
311 | !! xmetapn : non-diatom metabolic loss rate |
---|
312 | !! xmetapd : diatom metabolic loss rate |
---|
313 | !! xmetazmi : microzoo metabolic loss rate |
---|
314 | !! xmetazme : mesozoo metabolic loss rate |
---|
315 | !! |
---|
316 | !! Mortality/Remineralisation |
---|
317 | !! jmpn : non-diatom mortality functional form |
---|
318 | !! xmpn : non-diatom mortality rate |
---|
319 | !! xkphn : non-diatom mortality half-sat constant |
---|
320 | !! jmpd : diatom mortality functional form |
---|
321 | !! xmpd : diatom mortality rate |
---|
322 | !! xkphd : diatom mortality half-sat constant |
---|
323 | !! jmzmi : microzoo mortality functional form |
---|
324 | !! xmzmi : microzoo mortality rate |
---|
325 | !! xkzmi : microzoo mortality half-sat constant |
---|
326 | !! jmzme : mesozoo mortality functional form |
---|
327 | !! xmzme : mesozoo mortality rate |
---|
328 | !! xkzme : mesozoo mortality half-sat constant |
---|
329 | !! |
---|
330 | !! Remineralisation |
---|
331 | !! jmd : detritus T-dependent remineralisation switch |
---|
332 | !! jsfd : accelerate seafloor detritus remin. switch |
---|
333 | !! xmd : detrital nitrogen remineralisation rate |
---|
334 | !! xmdc : detrital carbon remineralisation rate |
---|
335 | !! |
---|
336 | !! Stochiometric ratios |
---|
337 | !! xthetapn : non-diatom C:N ratio |
---|
338 | !! xthetapd : diatom C:N ratio |
---|
339 | !! xthetazmi : microzoo C:N ratio |
---|
340 | !! xthetazme : mesozoo C:N ratio |
---|
341 | !! xthetad : detritus C:N ratio |
---|
342 | !! xrfn : phytoplankton Fe:N ratio |
---|
343 | !! xrsn : diatom Si:N ratio (*NOT* used) |
---|
344 | !! |
---|
345 | !! Iron parameters |
---|
346 | !! jiron : iron scavenging submodel switch |
---|
347 | !! xfe_mass : iron atomic mass |
---|
348 | !! xfe_sol : aeolian iron solubility |
---|
349 | !! xfe_sed : sediment iron input |
---|
350 | !! xLgT : total ligand concentration (umol/m3) |
---|
351 | !! xk_FeL : dissociation constant for (Fe + L) |
---|
352 | !! xk_sc_Fe : scavenging rate of "free" iron |
---|
353 | !! |
---|
354 | !! Fast-sinking detritus parameters |
---|
355 | !! jexport : fast detritus remineralisation switch |
---|
356 | !! jfdfate : fate of fast detritus at seafloor switch |
---|
357 | !! jrratio : rain ratio switch |
---|
358 | !! jocalccd : CCD switch |
---|
359 | !! xridg_r0 : Ridgwell rain ratio coefficient |
---|
360 | !! xfdfrac1 : fast-sinking fraction of diatom nat. mort. losses |
---|
361 | !! xfdfrac2 : fast-sinking fraction of meszooplankton mort. losses |
---|
362 | !! xfdfrac3 : fast-sinking fraction of diatom silicon grazing losses |
---|
363 | !! xcaco3a : polar (high latitude) CaCO3 fraction |
---|
364 | !! xcaco3b : equatorial (low latitude) CaCO3 fraction |
---|
365 | !! xmassc : organic C mass:mole ratio, C106 H175 O40 N16 P1 |
---|
366 | !! xmassca : calcium carbonate mass:mole ratio, CaCO3 |
---|
367 | !! xmasssi : biogenic silicon mass:mole ratio, (H2SiO3)n |
---|
368 | !! xprotca : calcium carbonate protection ratio |
---|
369 | !! xprotsi : biogenic silicon protection ratio |
---|
370 | !! xfastc : organic C remineralisation length scale |
---|
371 | !! xfastca : calcium carbonate dissolution length scale |
---|
372 | !! xfastsi : biogenic silicon dissolution length scale |
---|
373 | !! |
---|
374 | !! Benthic |
---|
375 | !! jorgben : does organic detritus go to the benthos? |
---|
376 | !! jinorgben : does inorganic detritus go to the benthos? |
---|
377 | !! xsedn : organic nitrogen sediment remineralisation rate |
---|
378 | !! xsedfe : organic iron sediment remineralisation rate |
---|
379 | !! xsedsi : inorganic silicon sediment dissolution rate |
---|
380 | !! xsedc : organic carbon sediment remineralisation rate |
---|
381 | !! xsedca : inorganic carbon sediment dissolution rate |
---|
382 | !! xburial : burial rate of seafloor detritus |
---|
383 | !! |
---|
384 | !! Riverine inputs |
---|
385 | !! jriver_n : riverine N input? |
---|
386 | !! jriver_si : riverine Si input? |
---|
387 | !! jriver_c : riverine C input? |
---|
388 | !! jriver_alk : riverine alkalinity input? |
---|
389 | !! jriver_dep : depth of riverine input? |
---|
390 | !! |
---|
391 | !! Miscellaneous |
---|
392 | !! xsdiss : diatom frustule dissolution rate |
---|
393 | !! |
---|
394 | !! Gravitational sinking |
---|
395 | !! vsed : detritus gravitational sinking rate |
---|
396 | !! xhr : coeff for Martin's remineralisation profile |
---|
397 | !! |
---|
398 | !! Additional parameters |
---|
399 | !! sedlam : time coeff of POC in sediments |
---|
400 | !! sedlostpoc : sediment geol loss for POC |
---|
401 | !! jpkb : vertical layer for diagnostic of the vertical flux |
---|
402 | !! NOTE that in LOBSTER it is a first vertical layers where |
---|
403 | !! biology is active |
---|
404 | !! |
---|
405 | !! UKESM1 - new diagnostics !! Jpalm |
---|
406 | !! jdms : include dms diagnostics |
---|
407 | !! jdms_input : use instant (0) or diel-avg (1) inputs |
---|
408 | !! jdms_model : choice of DMS model passed to atmosphere |
---|
409 | !! 1 = ANDR, 2 = SIMO, 3 = ARAN, 4 = HALL, 5 = ANDM |
---|
410 | !! dmsmin : DMS minimum value for DMS Anderson (ANDR) sheme ONLY |
---|
411 | !! dmscut : DMS cutoff value for DMS Anderson (ANDR) sheme ONLY |
---|
412 | !! dmsslp : DMS slope value for DMS Anderson (ANDR) sheme ONLY |
---|
413 | !! UKESM1 - exported Chl to UM |
---|
414 | !! scl_chl : scaling factor to tune the chl field sent to the UM |
---|
415 | !! chl_out : select the chl field to send at the UM: |
---|
416 | !! 1- Surf Chl ; 2- MLD Chl |
---|
417 | |
---|
418 | IF(lwp) THEN |
---|
419 | !! |
---|
420 | !! AXY (08/11/13): compilation key notification |
---|
421 | WRITE(numout,*) '=== Compilation keys' |
---|
422 | #if defined key_roam |
---|
423 | WRITE(numout,*) & |
---|
424 | & ' key_roam = ACTIVE' |
---|
425 | #else |
---|
426 | WRITE(numout,*) & |
---|
427 | & ' key_roam = INACTIVE' |
---|
428 | #endif |
---|
429 | #if defined key_axy_carbchem |
---|
430 | WRITE(numout,*) & |
---|
431 | & ' key_axy_carbchem = ACTIVE' |
---|
432 | #else |
---|
433 | WRITE(numout,*) & |
---|
434 | & ' key_axy_carbchem = INACTIVE' |
---|
435 | #endif |
---|
436 | #if defined key_mocsy |
---|
437 | WRITE(numout,*) & |
---|
438 | & ' key_mocsy = ACTIVE' |
---|
439 | #else |
---|
440 | WRITE(numout,*) & |
---|
441 | & ' key_mocsy = INACTIVE' |
---|
442 | #endif |
---|
443 | #if defined key_avgqsr_medusa |
---|
444 | WRITE(numout,*) & |
---|
445 | & ' key_avgqsr_medusa = ACTIVE' |
---|
446 | #else |
---|
447 | WRITE(numout,*) & |
---|
448 | & ' key_avgqsr_medusa = INACTIVE' |
---|
449 | #endif |
---|
450 | #if defined key_bs_axy_zforce |
---|
451 | WRITE(numout,*) & |
---|
452 | & ' key_bs_axy_zforce = ACTIVE' |
---|
453 | #else |
---|
454 | WRITE(numout,*) & |
---|
455 | & ' key_bs_axy_zforce = INACTIVE' |
---|
456 | #endif |
---|
457 | #if defined key_bs_axy_yrlen |
---|
458 | WRITE(numout,*) & |
---|
459 | & ' key_bs_axy_yrlen = ACTIVE' |
---|
460 | #else |
---|
461 | WRITE(numout,*) & |
---|
462 | & ' key_bs_axy_yrlen = INACTIVE' |
---|
463 | #endif |
---|
464 | #if defined key_deep_fe_fix |
---|
465 | WRITE(numout,*) & |
---|
466 | & ' key_deep_fe_fix = ACTIVE' |
---|
467 | #else |
---|
468 | WRITE(numout,*) & |
---|
469 | & ' key_deep_fe_fix = INACTIVE' |
---|
470 | #endif |
---|
471 | #if defined key_axy_nancheck |
---|
472 | WRITE(numout,*) & |
---|
473 | & ' key_axy_nancheck = ACTIVE' |
---|
474 | #else |
---|
475 | WRITE(numout,*) & |
---|
476 | & ' key_axy_nancheck = INACTIVE' |
---|
477 | #endif |
---|
478 | # if defined key_axy_pi_co2 |
---|
479 | WRITE(numout,*) & |
---|
480 | & ' key_axy_pi_co2 = ACTIVE' |
---|
481 | #else |
---|
482 | WRITE(numout,*) & |
---|
483 | & ' key_axy_pi_co2 = INACTIVE' |
---|
484 | # endif |
---|
485 | # if defined key_debug_medusa |
---|
486 | WRITE(numout,*) & |
---|
487 | & ' key_debug_medusa = ACTIVE' |
---|
488 | #else |
---|
489 | WRITE(numout,*) & |
---|
490 | & ' key_debug_medusa = INACTIVE' |
---|
491 | # endif |
---|
492 | WRITE(numout,*) ' ' |
---|
493 | |
---|
494 | WRITE(numout,*) 'natbio' |
---|
495 | WRITE(numout,*) ' ' |
---|
496 | !! |
---|
497 | !! Primary production and chl related quantities |
---|
498 | WRITE(numout,*) '=== Primary production' |
---|
499 | WRITE(numout,*) & |
---|
500 | & ' conversion factor from gC to mmolN, xxi =', xxi |
---|
501 | WRITE(numout,*) & |
---|
502 | & ' Chl-a specific initial slope of P-I curve for non-diatoms, xaln = ', xaln |
---|
503 | WRITE(numout,*) & |
---|
504 | & ' Chl-a specific initial slope of P-I curve for diatoms, xald = ', xald |
---|
505 | if (jphy.eq.1) then |
---|
506 | WRITE(numout,*) & |
---|
507 | & ' phytoplankton growth is *temperature-dependent* jphy = ', jphy |
---|
508 | elseif (jphy.eq.2) then |
---|
509 | WRITE(numout,*) & |
---|
510 | & ' phytoplankton growth is *temperature-dependent(Q10)* jphy = ', jphy |
---|
511 | elseif (jphy.eq.0) then |
---|
512 | WRITE(numout,*) & |
---|
513 | & ' phytoplankton growth is *temperature-independent* jphy = ', jphy |
---|
514 | endif |
---|
515 | WRITE(numout,*) & |
---|
516 | & ' maximum growth rate for non-diatoms, xvpn = ', xvpn |
---|
517 | WRITE(numout,*) & |
---|
518 | & ' maximum growth rate for diatoms, xvpn = ', xvpd |
---|
519 | WRITE(numout,*) & |
---|
520 | & ' maximum Chl to C ratio for non-diatoms, xthetam = ', xthetam |
---|
521 | WRITE(numout,*) & |
---|
522 | & ' maximum Chl to C ratio for diatoms, xthetamd = ', xthetamd |
---|
523 | WRITE(numout,*) & |
---|
524 | & ' specific Q10 value (jphy==2), jq10 = ', jq10 |
---|
525 | !! |
---|
526 | !! Diatom silicon parameters |
---|
527 | WRITE(numout,*) '=== Diatom silicon parameters' |
---|
528 | WRITE(numout,*) & |
---|
529 | & ' minimum diatom Si:N ratio, xsin0 = ', xsin0 |
---|
530 | WRITE(numout,*) & |
---|
531 | & ' minimum diatom N:Si ratio, xnsi0 = ', xnsi0 |
---|
532 | WRITE(numout,*) & |
---|
533 | & ' hypothetical growth ratio at infinite Si:N ratio, xuif = ', xuif |
---|
534 | !! |
---|
535 | !! Nutrient limitation |
---|
536 | WRITE(numout,*) '=== Nutrient limitation' |
---|
537 | if (jliebig.eq.1) then |
---|
538 | WRITE(numout,*) & |
---|
539 | & ' nutrient uptake is a Liebig Law (= most limiting) function jliebig = ', jliebig |
---|
540 | elseif (jliebig.eq.0) then |
---|
541 | WRITE(numout,*) & |
---|
542 | & ' nutrient uptake is a multiplicative function jliebig = ', jliebig |
---|
543 | endif |
---|
544 | WRITE(numout,*) & |
---|
545 | & ' half-sat constant for DIN uptake by non-diatoms, xnln = ', xnln |
---|
546 | WRITE(numout,*) & |
---|
547 | & ' half-sat constant for DIN uptake by diatoms, xnld = ', xnld |
---|
548 | WRITE(numout,*) & |
---|
549 | & ' half-sat constant for Si uptake by diatoms, xsld = ', xsld |
---|
550 | WRITE(numout,*) & |
---|
551 | & ' half-sat constant for Fe uptake by non-diatoms, xfln = ', xfln |
---|
552 | WRITE(numout,*) & |
---|
553 | & ' half-sat constant for Fe uptake by diatoms, xfld = ', xfld |
---|
554 | !! |
---|
555 | !! Grazing |
---|
556 | WRITE(numout,*) '=== Zooplankton grazing' |
---|
557 | WRITE(numout,*) & |
---|
558 | & ' microzoo maximum growth rate, xgmi = ', xgmi |
---|
559 | WRITE(numout,*) & |
---|
560 | & ' mesozoo maximum growth rate, xgme = ', xgme |
---|
561 | WRITE(numout,*) & |
---|
562 | & ' microzoo grazing half-sat parameter, xkmi = ', xkmi |
---|
563 | WRITE(numout,*) & |
---|
564 | & ' mesozoo grazing half-sat parameter, xkme = ', xkme |
---|
565 | WRITE(numout,*) & |
---|
566 | & ' micro/mesozoo grazing inefficiency, xphi = ', xphi |
---|
567 | WRITE(numout,*) & |
---|
568 | & ' micro/mesozoo N assimilation efficiency, xbetan = ', xbetan |
---|
569 | WRITE(numout,*) & |
---|
570 | & ' micro/mesozoo C assimilation efficiency, xbetac = ', xbetan |
---|
571 | WRITE(numout,*) & |
---|
572 | & ' micro/mesozoo net C growth efficiency, xkc = ', xkc |
---|
573 | WRITE(numout,*) & |
---|
574 | & ' grazing preference of microzoo for non-diatoms, xpmipn = ', xpmipn |
---|
575 | WRITE(numout,*) & |
---|
576 | & ' grazing preference of microzoo for detritus, xpmid = ', xpmid |
---|
577 | WRITE(numout,*) & |
---|
578 | & ' grazing preference of mesozoo for non-diatoms, xpmepn = ', xpmepn |
---|
579 | WRITE(numout,*) & |
---|
580 | & ' grazing preference of mesozoo for diatoms, xpmepd = ', xpmepd |
---|
581 | WRITE(numout,*) & |
---|
582 | & ' grazing preference of mesozoo for microzoo, xpmezmi = ', xpmezmi |
---|
583 | WRITE(numout,*) & |
---|
584 | & ' grazing preference of mesozoo for detritus, xpmed = ', xpmed |
---|
585 | !! |
---|
586 | !! Metabolic losses |
---|
587 | WRITE(numout,*) '=== Metabolic losses' |
---|
588 | WRITE(numout,*) & |
---|
589 | & ' non-diatom metabolic loss rate, xmetapn = ', xmetapn |
---|
590 | WRITE(numout,*) & |
---|
591 | & ' diatom metabolic loss rate, xmetapd = ', xmetapd |
---|
592 | WRITE(numout,*) & |
---|
593 | & ' microzoo metabolic loss rate, xmetazmi = ', xmetazmi |
---|
594 | WRITE(numout,*) & |
---|
595 | & ' mesozoo metabolic loss rate, xmetazme = ', xmetazme |
---|
596 | !! |
---|
597 | !! Mortality losses |
---|
598 | WRITE(numout,*) '=== Mortality losses' |
---|
599 | if (jmpn.eq.1) then |
---|
600 | WRITE(numout,*) & |
---|
601 | & ' non-diatom mortality functional form, LINEAR jmpn = ', jmpn |
---|
602 | elseif (jmpn.eq.2) then |
---|
603 | WRITE(numout,*) & |
---|
604 | & ' non-diatom mortality functional form, QUADRATIC jmpn = ', jmpn |
---|
605 | elseif (jmpn.eq.3) then |
---|
606 | WRITE(numout,*) & |
---|
607 | & ' non-diatom mortality functional form, HYPERBOLIC jmpn = ', jmpn |
---|
608 | elseif (jmpn.eq.4) then |
---|
609 | WRITE(numout,*) & |
---|
610 | & ' non-diatom mortality functional form, SIGMOID jmpn = ', jmpn |
---|
611 | endif |
---|
612 | WRITE(numout,*) & |
---|
613 | & ' non-diatom mortality rate, xmpn = ', xmpn |
---|
614 | WRITE(numout,*) & |
---|
615 | & ' non-diatom mortality half-sat constant xkphn = ', xkphn |
---|
616 | if (jmpd.eq.1) then |
---|
617 | WRITE(numout,*) & |
---|
618 | & ' diatom mortality functional form, LINEAR jmpd = ', jmpd |
---|
619 | elseif (jmpd.eq.2) then |
---|
620 | WRITE(numout,*) & |
---|
621 | & ' diatom mortality functional form, QUADRATIC jmpd = ', jmpd |
---|
622 | elseif (jmpd.eq.3) then |
---|
623 | WRITE(numout,*) & |
---|
624 | & ' diatom mortality functional form, HYPERBOLIC jmpd = ', jmpd |
---|
625 | elseif (jmpd.eq.4) then |
---|
626 | WRITE(numout,*) & |
---|
627 | & ' diatom mortality functional form, SIGMOID jmpd = ', jmpd |
---|
628 | endif |
---|
629 | WRITE(numout,*) & |
---|
630 | & ' diatom mortality rate, xmpd = ', xmpd |
---|
631 | WRITE(numout,*) & |
---|
632 | & ' diatom mortality half-sat constant xkphd = ', xkphd |
---|
633 | if (jmzmi.eq.1) then |
---|
634 | WRITE(numout,*) & |
---|
635 | & ' microzoo mortality functional form, LINEAR jmzmi = ', jmzmi |
---|
636 | elseif (jmzmi.eq.2) then |
---|
637 | WRITE(numout,*) & |
---|
638 | & ' microzoo mortality functional form, QUADRATIC jmzmi = ', jmzmi |
---|
639 | elseif (jmzmi.eq.3) then |
---|
640 | WRITE(numout,*) & |
---|
641 | & ' microzoo mortality functional form, HYPERBOLIC jmzmi = ', jmzmi |
---|
642 | elseif (jmzmi.eq.4) then |
---|
643 | WRITE(numout,*) & |
---|
644 | & ' microzoo mortality functional form, SIGMOID jmzmi = ', jmzmi |
---|
645 | endif |
---|
646 | WRITE(numout,*) & |
---|
647 | & ' microzoo mortality rate, xmzmi = ', xmzmi |
---|
648 | WRITE(numout,*) & |
---|
649 | & ' mesozoo mortality half-sat constant, xkzmi = ', xkzmi |
---|
650 | if (jmzme.eq.1) then |
---|
651 | WRITE(numout,*) & |
---|
652 | & ' mesozoo mortality functional form, LINEAR jmzme = ', jmzme |
---|
653 | elseif (jmzme.eq.2) then |
---|
654 | WRITE(numout,*) & |
---|
655 | & ' mesozoo mortality functional form, QUADRATIC jmzme = ', jmzme |
---|
656 | elseif (jmzme.eq.3) then |
---|
657 | WRITE(numout,*) & |
---|
658 | & ' mesozoo mortality functional form, HYPERBOLIC jmzme = ', jmzme |
---|
659 | elseif (jmzme.eq.4) then |
---|
660 | WRITE(numout,*) & |
---|
661 | & ' mesozoo mortality functional form, SIGMOID jmzme = ', jmzme |
---|
662 | endif |
---|
663 | WRITE(numout,*) & |
---|
664 | & ' mesozoo mortality rate, xmzme = ', xmzme |
---|
665 | WRITE(numout,*) & |
---|
666 | & ' mesozoo mortality half-sat constant, xkzme = ', xkzme |
---|
667 | !! |
---|
668 | !! Remineralisation |
---|
669 | WRITE(numout,*) '=== Remineralisation' |
---|
670 | if (jmd.eq.1) then |
---|
671 | WRITE(numout,*) & |
---|
672 | & ' detritus remineralisation is *temperature-dependent* jmd = ', jmd |
---|
673 | elseif (jmd.eq.2) then |
---|
674 | WRITE(numout,*) & |
---|
675 | & ' detritus remineralisation is *temperature-dependent(Q10)* jmd = ', jmd |
---|
676 | elseif (jmd.eq.0) then |
---|
677 | WRITE(numout,*) & |
---|
678 | & ' detritus remineralisation is *temperature-independent* jmd = ', jmd |
---|
679 | endif |
---|
680 | if (jsfd.eq.1) then |
---|
681 | WRITE(numout,*) & |
---|
682 | & ' detritus seafloor remineralisation is *accelerated* jsfd = ', jsfd |
---|
683 | else |
---|
684 | WRITE(numout,*) & |
---|
685 | & ' detritus seafloor remineralisation occurs at same rate jsfd = ', jsfd |
---|
686 | endif |
---|
687 | WRITE(numout,*) & |
---|
688 | & ' detrital nitrogen remineralisation rate, xmd = ', xmd |
---|
689 | WRITE(numout,*) & |
---|
690 | & ' detrital carbon remineralisation rate, xmdc = ', xmdc |
---|
691 | !! |
---|
692 | !! Stochiometric ratios |
---|
693 | WRITE(numout,*) '=== Stoichiometric ratios' |
---|
694 | WRITE(numout,*) & |
---|
695 | & ' non-diatom C:N ratio, xthetapn = ', xthetapn |
---|
696 | WRITE(numout,*) & |
---|
697 | & ' diatom C:N ratio, xthetapd = ', xthetapd |
---|
698 | WRITE(numout,*) & |
---|
699 | & ' microzoo C:N ratio, xthetazmi = ', xthetazmi |
---|
700 | WRITE(numout,*) & |
---|
701 | & ' mesozoo C:N ratio, xthetazme = ', xthetazme |
---|
702 | WRITE(numout,*) & |
---|
703 | & ' detritus C:N ratio, xthetad = ', xthetad |
---|
704 | WRITE(numout,*) & |
---|
705 | & ' phytoplankton Fe:N ratio, xrfn = ', xrfn |
---|
706 | WRITE(numout,*) & |
---|
707 | & ' diatom Si:N ratio, xrsn = ', xrsn |
---|
708 | !! |
---|
709 | !! Iron parameters |
---|
710 | WRITE(numout,*) '=== Iron parameters' |
---|
711 | if (jiron.eq.1) then |
---|
712 | WRITE(numout,*) & |
---|
713 | & ' Dutkiewicz et al. (2005) iron scavenging jiron = ', jiron |
---|
714 | elseif (jiron.eq.2) then |
---|
715 | WRITE(numout,*) & |
---|
716 | & ' Moore et al. (2004) iron scavenging jiron = ', jiron |
---|
717 | elseif (jiron.eq.3) then |
---|
718 | WRITE(numout,*) & |
---|
719 | & ' Moore et al. (2008) iron scavenging jiron = ', jiron |
---|
720 | elseif (jiron.eq.4) then |
---|
721 | WRITE(numout,*) & |
---|
722 | & ' Galbraith et al. (2010) iron scavenging jiron = ', jiron |
---|
723 | else |
---|
724 | WRITE(numout,*) & |
---|
725 | & ' There is **no** iron scavenging jiron = ', jiron |
---|
726 | endif |
---|
727 | WRITE(numout,*) & |
---|
728 | & ' iron atomic mass, xfe_mass = ', xfe_mass |
---|
729 | WRITE(numout,*) & |
---|
730 | & ' aeolian iron solubility, xfe_sol = ', xfe_sol |
---|
731 | WRITE(numout,*) & |
---|
732 | & ' sediment iron input, xfe_sed = ', xfe_sed |
---|
733 | WRITE(numout,*) & |
---|
734 | & ' total ligand concentration (umol/m3), xLgT = ', xLgT |
---|
735 | WRITE(numout,*) & |
---|
736 | & ' dissociation constant for (Fe + L), xk_FeL = ', xk_FeL |
---|
737 | WRITE(numout,*) & |
---|
738 | & ' scavenging rate for free iron, xk_sc_Fe = ', xk_sc_Fe |
---|
739 | !! |
---|
740 | !! Fast-sinking detritus parameters |
---|
741 | WRITE(numout,*) '=== Fast-sinking detritus' |
---|
742 | if (jexport.eq.1) then |
---|
743 | WRITE(numout,*) & |
---|
744 | & ' fast-detritus remin. uses Dunne et al. (2007; ballast) jexport = ', jexport |
---|
745 | elseif (jexport.eq.2) then |
---|
746 | WRITE(numout,*) & |
---|
747 | & ' fast-detritus remin. uses Martin et al. (1987) jexport = ', jexport |
---|
748 | elseif (jexport.eq.2) then |
---|
749 | WRITE(numout,*) & |
---|
750 | & ' fast-detritus remin. uses Henson et al. (2011) jexport = ', jexport |
---|
751 | endif |
---|
752 | if (jfdfate.eq.1) then |
---|
753 | WRITE(numout,*) & |
---|
754 | & ' fast-detritus reaching seafloor becomes slow-detritus jfdfate = ', jfdfate |
---|
755 | elseif (jfdfate.eq.0) then |
---|
756 | WRITE(numout,*) & |
---|
757 | & ' fast-detritus reaching seafloor instantly remineralised jfdfate = ', jfdfate |
---|
758 | endif |
---|
759 | #if defined key_roam |
---|
760 | if (jrratio.eq.0) then |
---|
761 | WRITE(numout,*) & |
---|
762 | & ' Dunne et al. (2005) rain ratio submodel jrratio = ', jrratio |
---|
763 | elseif (jrratio.eq.1) then |
---|
764 | WRITE(numout,*) & |
---|
765 | & ' Ridgwell et al. (2007) rain ratio submodel (surface omega) jrratio = ', jrratio |
---|
766 | elseif (jrratio.eq.2) then |
---|
767 | WRITE(numout,*) & |
---|
768 | & ' Ridgwell et al. (2007) rain ratio submodel (3D omega) jrratio = ', jrratio |
---|
769 | endif |
---|
770 | #else |
---|
771 | jrratio = 0 |
---|
772 | WRITE(numout,*) & |
---|
773 | & ' Dunne et al. (2005) rain ratio submodel jrratio = ', jrratio |
---|
774 | #endif |
---|
775 | #if defined key_roam |
---|
776 | if (jocalccd.eq.0) then |
---|
777 | WRITE(numout,*) & |
---|
778 | & ' Default, fixed CCD used jocalccd = ', jocalccd |
---|
779 | elseif (jocalccd.eq.1) then |
---|
780 | WRITE(numout,*) & |
---|
781 | & ' Calculated, dynamic CCD used jocalccd = ', jocalccd |
---|
782 | endif |
---|
783 | #else |
---|
784 | jocalccd = 0 |
---|
785 | WRITE(numout,*) & |
---|
786 | & ' Default, fixed CCD used jocalccd = ', jocalccd |
---|
787 | #endif |
---|
788 | WRITE(numout,*) & |
---|
789 | & ' Ridgwell rain ratio coefficient, xridg_r0 = ', xridg_r0 |
---|
790 | WRITE(numout,*) & |
---|
791 | & ' fast-sinking fraction of diatom nat. mort. losses, xfdfrac1 = ', xfdfrac1 |
---|
792 | WRITE(numout,*) & |
---|
793 | & ' fast-sinking fraction of mesozooplankton mort. losses, xfdfrac2 = ', xfdfrac2 |
---|
794 | WRITE(numout,*) & |
---|
795 | & ' fast-sinking fraction of diatom silicon grazing losses, xfdfrac3 = ', xfdfrac3 |
---|
796 | WRITE(numout,*) & |
---|
797 | & ' polar (high latitude) CaCO3 fraction, xcaco3a = ', xcaco3a |
---|
798 | WRITE(numout,*) & |
---|
799 | & ' equatorial (low latitude) CaCO3 fraction, xcaco3b = ', xcaco3b |
---|
800 | WRITE(numout,*) & |
---|
801 | & ' organic C mass:mole ratio, C106 H175 O40 N16 P1, xmassc = ', xmassc |
---|
802 | WRITE(numout,*) & |
---|
803 | & ' calcium carbonate mass:mole ratio, CaCO3, xmassca = ', xmassca |
---|
804 | WRITE(numout,*) & |
---|
805 | & ' biogenic silicon mass:mole ratio, (H2SiO3)n, xmasssi = ', xmasssi |
---|
806 | WRITE(numout,*) & |
---|
807 | & ' calcium carbonate protection ratio, xprotca = ', xprotca |
---|
808 | WRITE(numout,*) & |
---|
809 | & ' biogenic silicon protection ratio, xprotsi = ', xprotsi |
---|
810 | WRITE(numout,*) & |
---|
811 | & ' organic C remineralisation length scale, xfastc = ', xfastc |
---|
812 | WRITE(numout,*) & |
---|
813 | & ' calcium carbonate dissolution length scale, xfastca = ', xfastca |
---|
814 | WRITE(numout,*) & |
---|
815 | & ' biogenic silicon dissolution length scale, xfastsi = ', xfastsi |
---|
816 | !! |
---|
817 | !! Benthos parameters |
---|
818 | WRITE(numout,*) '=== Benthos parameters' |
---|
819 | WRITE(numout,*) & |
---|
820 | & ' does organic detritus go to the benthos?, jorgben = ', jorgben |
---|
821 | WRITE(numout,*) & |
---|
822 | & ' does inorganic detritus go to the benthos?, jinorgben = ', jinorgben |
---|
823 | !! |
---|
824 | !! Some checks on parameters related to benthos parameters |
---|
825 | if (jorgben.eq.1 .and. jsfd.eq.1) then |
---|
826 | !! slow detritus going to benthos at an accelerated rate |
---|
827 | WRITE(numout,*) ' === WARNING! ===' |
---|
828 | WRITE(numout,*) ' jsfd *and* jorgben are active - please check that you wish this' |
---|
829 | WRITE(numout,*) ' === WARNING! ===' |
---|
830 | endif |
---|
831 | if (jorgben.eq.1 .and. jfdfate.eq.1) then |
---|
832 | !! fast detritus going to benthos but via slow detritus |
---|
833 | WRITE(numout,*) ' === WARNING! ===' |
---|
834 | WRITE(numout,*) ' jfdfate *and* jorgben are active - please check that you wish this' |
---|
835 | WRITE(numout,*) ' === WARNING! ===' |
---|
836 | endif |
---|
837 | if (jorgben.eq.0 .and. jinorgben.eq.1) then |
---|
838 | !! inorganic fast detritus going to benthos but organic fast detritus is not |
---|
839 | WRITE(numout,*) ' === WARNING! ===' |
---|
840 | WRITE(numout,*) ' jinorgben is active but jorgben is not - please check that you wish this' |
---|
841 | WRITE(numout,*) ' === WARNING! ===' |
---|
842 | endif |
---|
843 | WRITE(numout,*) & |
---|
844 | & ' organic nitrogen sediment remineralisation rate, xsedn = ', xsedn |
---|
845 | WRITE(numout,*) & |
---|
846 | & ' organic iron sediment remineralisation rate, xsedfe = ', xsedfe |
---|
847 | WRITE(numout,*) & |
---|
848 | & ' inorganic silicon sediment remineralisation rate, xsedsi = ', xsedsi |
---|
849 | WRITE(numout,*) & |
---|
850 | & ' organic carbon sediment remineralisation rate, xsedc = ', xsedc |
---|
851 | WRITE(numout,*) & |
---|
852 | & ' inorganic carbon sediment remineralisation rate, xsedca = ', xsedca |
---|
853 | WRITE(numout,*) & |
---|
854 | & ' burial rate of seafloor detritus, xburial = ', xburial |
---|
855 | !! |
---|
856 | !! Riverine inputs |
---|
857 | WRITE(numout,*) '=== Riverine inputs' |
---|
858 | if (jriver_n.eq.0) then |
---|
859 | WRITE(numout,*) & |
---|
860 | & ' *no* riverine N input, jriver_n = ', jriver_n |
---|
861 | elseif (jriver_n.eq.1) then |
---|
862 | WRITE(numout,*) & |
---|
863 | & ' riverine N concentrations specified, jriver_n = ', jriver_n |
---|
864 | elseif (jriver_n.eq.2) then |
---|
865 | WRITE(numout,*) & |
---|
866 | & ' riverine N inputs specified, jriver_n = ', jriver_n |
---|
867 | endif |
---|
868 | if (jriver_si.eq.0) then |
---|
869 | WRITE(numout,*) & |
---|
870 | & ' *no* riverine Si input, jriver_si = ', jriver_si |
---|
871 | elseif (jriver_si.eq.1) then |
---|
872 | WRITE(numout,*) & |
---|
873 | & ' riverine Si concentrations specified, jriver_si = ', jriver_si |
---|
874 | elseif (jriver_si.eq.2) then |
---|
875 | WRITE(numout,*) & |
---|
876 | & ' riverine Si inputs specified, jriver_si = ', jriver_si |
---|
877 | endif |
---|
878 | if (jriver_c.eq.0) then |
---|
879 | WRITE(numout,*) & |
---|
880 | & ' *no* riverine C input, jriver_c = ', jriver_c |
---|
881 | elseif (jriver_c.eq.1) then |
---|
882 | WRITE(numout,*) & |
---|
883 | & ' riverine C concentrations specified, jriver_c = ', jriver_c |
---|
884 | elseif (jriver_c.eq.2) then |
---|
885 | WRITE(numout,*) & |
---|
886 | & ' riverine C inputs specified, jriver_c = ', jriver_c |
---|
887 | endif |
---|
888 | if (jriver_alk.eq.0) then |
---|
889 | WRITE(numout,*) & |
---|
890 | & ' *no* riverine alkalinity input, jriver_alk = ', jriver_alk |
---|
891 | elseif (jriver_alk.eq.1) then |
---|
892 | WRITE(numout,*) & |
---|
893 | & ' riverine alkalinity concentrations specified, jriver_alk = ', jriver_alk |
---|
894 | elseif (jriver_alk.eq.2) then |
---|
895 | WRITE(numout,*) & |
---|
896 | & ' riverine alkalinity inputs specified, jriver_alk = ', jriver_alk |
---|
897 | endif |
---|
898 | !! AXY (19/07/12): prevent (gross) stupidity on part of user |
---|
899 | if (jriver_dep.lt.1.or.jriver_dep.ge.jpk) then |
---|
900 | jriver_dep = 1 |
---|
901 | endif |
---|
902 | WRITE(numout,*) & |
---|
903 | & ' riverine input applied to down to depth k = ... jriver_dep = ', jriver_dep |
---|
904 | !! |
---|
905 | !! Miscellaneous |
---|
906 | WRITE(numout,*) '=== Miscellaneous' |
---|
907 | WRITE(numout,*) & |
---|
908 | & ' diatom frustule dissolution rate, xsdiss = ', xsdiss |
---|
909 | !! |
---|
910 | !! Gravitational sinking |
---|
911 | WRITE(numout,*) '=== Gravitational sinking' |
---|
912 | WRITE(numout,*) & |
---|
913 | & ' detritus gravitational sinking rate, vsed = ', vsed |
---|
914 | WRITE(numout,*) & |
---|
915 | & ' coefficient for Martin et al. (1987) remineralisation, xhr = ', xhr |
---|
916 | !! |
---|
917 | !! Non-Medusa parameters |
---|
918 | WRITE(numout,*) '=== Non-Medusa parameters' |
---|
919 | WRITE(numout,*) & |
---|
920 | & ' time coeff of POC in sediments, sedlam = ', sedlam |
---|
921 | WRITE(numout,*) & |
---|
922 | & ' Sediment geol loss for POC, sedlostpoc = ', sedlostpoc |
---|
923 | WRITE(numout,*) & |
---|
924 | & ' Vert layer for diagnostic of vertical flux, jpkp = ', jpkb |
---|
925 | !! |
---|
926 | !! UKESM1 - new diagnostics !! Jpalm; AXY (08/07/15) |
---|
927 | WRITE(numout,*) '=== UKESM1-related parameters ===' |
---|
928 | WRITE(numout,*) ' ---- --- ---' |
---|
929 | |
---|
930 | IF (lk_oasis) THEN |
---|
931 | WRITE(numout,*) '=== UKESM1 -- coupled DMS to the atmosphere' |
---|
932 | WRITE(numout,*) & |
---|
933 | & ' include DMS diagnostic?, jdms = ', jdms |
---|
934 | if (jdms_input .eq. 0) then |
---|
935 | WRITE(numout,*) & |
---|
936 | & ' use instant (0) or diel-avg (1) inputs, jdms_input = instantaneous' |
---|
937 | else |
---|
938 | WRITE(numout,*) & |
---|
939 | & ' use instant (0) or diel-avg (1) inputs, jdms_input = diel-average' |
---|
940 | endif |
---|
941 | if (jdms_model .eq. 1) then |
---|
942 | WRITE(numout,*) & |
---|
943 | & ' choice of DMS model passed to atmosphere, jdms_model = Anderson et al. (2001)' |
---|
944 | elseif (jdms_model .eq. 2) then |
---|
945 | WRITE(numout,*) & |
---|
946 | & ' choice of DMS model passed to atmosphere, jdms_model = Simo & Dachs (2002)' |
---|
947 | elseif (jdms_model .eq. 3) then |
---|
948 | WRITE(numout,*) & |
---|
949 | & ' choice of DMS model passed to atmosphere, jdms_model = Aranami & Tsunogai (2004)' |
---|
950 | elseif (jdms_model .eq. 4) then |
---|
951 | WRITE(numout,*) & |
---|
952 | & ' choice of DMS model passed to atmosphere, jdms_model = Halloran et al. (2010)' |
---|
953 | elseif (jdms_model .eq. 5) then |
---|
954 | WRITE(numout,*) & |
---|
955 | & ' choice of DMS model passed to atmosphere, jdms_model = Anderson et al. (2001; modified)' |
---|
956 | endif |
---|
957 | if (jdms_model .eq. 1) then |
---|
958 | WRITE(numout,*) & |
---|
959 | & ' Anderson DMS model tuned parameters: DMS minimum = ',dmsmin,'. -- Default = 2.29 ' |
---|
960 | WRITE(numout,*) & |
---|
961 | & ' Anderson DMS model tuned parameters: DMS cutoff = ',dmscut,'. -- Default = 1.72 ' |
---|
962 | WRITE(numout,*) & |
---|
963 | & ' Anderson DMS model tuned parameters: DMS slope = ',dmsslp,'. -- Default = 8.24 ' |
---|
964 | endif |
---|
965 | |
---|
966 | WRITE(numout,*) '=== UKESM1 -- coupled Chl to the atmosphere' |
---|
967 | WRITE(numout,*) & |
---|
968 | & ' Scaling factor to export tuned Chl to the atmosphere scl_chl = ', scl_chl |
---|
969 | IF (chl_out .eq. 1) THEN |
---|
970 | WRITE(numout,*) & |
---|
971 | & ' Chl field to be scaled and sent to the atmosphere: chl_out = Surface Chl field ' |
---|
972 | ELSEIF (chl_out .eq. 2) THEN |
---|
973 | WRITE(numout,*) & |
---|
974 | & ' Chl field to be scaled and sent to the atmosphere: chl_out = MLD Chl field ' |
---|
975 | ENDIF |
---|
976 | ENDIF ! IF lk_oasis=true |
---|
977 | !! |
---|
978 | ENDIF |
---|
979 | !! |
---|
980 | !! Key depth positions (with thanks to Andrew Coward for bug-fixing this bit) |
---|
981 | DO jk = 1,jpk |
---|
982 | !! level thickness |
---|
983 | fthk = e3t_1d(jk) |
---|
984 | !! level depth (top of level) |
---|
985 | fdep = gdepw_1d(jk) |
---|
986 | !! level depth (bottom of level) |
---|
987 | fdep1 = fdep + fthk |
---|
988 | !! |
---|
989 | if (fdep.lt.100.0.AND.fdep1.gt.100.0) then ! 100 m |
---|
990 | i0100 = jk |
---|
991 | elseif (fdep.lt.150.0.AND.fdep1.gt.150.0) then ! 150 m (for BASIN) |
---|
992 | i0150 = jk |
---|
993 | elseif (fdep.lt.200.0.AND.fdep1.gt.200.0) then ! 200 m |
---|
994 | i0200 = jk |
---|
995 | elseif (fdep.lt.500.0.AND.fdep1.gt.500.0) then ! 500 m |
---|
996 | i0500 = jk |
---|
997 | elseif (fdep.lt.1000.0.AND.fdep1.gt.1000.0) then ! 1000 m |
---|
998 | i1000 = jk |
---|
999 | elseif (fdep1.lt.1100.0) then ! 1100 m (for Moore et al. sedimentary iron) |
---|
1000 | i1100 = jk |
---|
1001 | endif |
---|
1002 | enddo |
---|
1003 | !! |
---|
1004 | IF(lwp) THEN |
---|
1005 | WRITE(numout,*) '=== Position of key depths' |
---|
1006 | WRITE(numout,*) & |
---|
1007 | & ' jk position of 100 m horizon i0100 = ', i0100 |
---|
1008 | WRITE(numout,*) & |
---|
1009 | & ' jk position of 150 m horizon i0150 = ', i0150 |
---|
1010 | WRITE(numout,*) & |
---|
1011 | & ' jk position of 200 m horizon i0200 = ', i0200 |
---|
1012 | WRITE(numout,*) & |
---|
1013 | & ' jk position of 500 m horizon i0500 = ', i0500 |
---|
1014 | WRITE(numout,*) & |
---|
1015 | & ' jk position of 1000 m horizon i1000 = ', i1000 |
---|
1016 | WRITE(numout,*) & |
---|
1017 | & ' jk position of 1100 m horizon [*] i1100 = ', i1100 |
---|
1018 | WRITE(numout,*) 'Got here ' , SIZE(friver_dep) |
---|
1019 | CALL flush(numout) |
---|
1020 | ENDIF |
---|
1021 | |
---|
1022 | #if defined key_roam |
---|
1023 | |
---|
1024 | ! 1.4b namelist natroam : ROAM parameters |
---|
1025 | ! --------------------------------------- |
---|
1026 | |
---|
1027 | xthetaphy = 0. |
---|
1028 | xthetazoo = 0. |
---|
1029 | xthetanit = 0. |
---|
1030 | xthetarem = 0. |
---|
1031 | xo2min = 0. |
---|
1032 | |
---|
1033 | !READ(numnatm,natroam) |
---|
1034 | ! Namelist natroam |
---|
1035 | ! ------------------- |
---|
1036 | REWIND( numnatp_ref ) ! Namelist natroam in reference namelist : MEDUSA diagnostics |
---|
1037 | READ ( numnatp_ref, natroam, IOSTAT = ios, ERR = 905) |
---|
1038 | 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'natroam in reference namelist', lwp ) |
---|
1039 | |
---|
1040 | REWIND( numnatp_cfg ) ! Namelist natroam in configuration namelist : MEDUSA diagnostics |
---|
1041 | READ ( numnatp_cfg, natroam, IOSTAT = ios, ERR = 906 ) |
---|
1042 | 906 IF( ios /= 0 ) CALL ctl_nam ( ios , 'natroam in configuration namelist', lwp ) |
---|
1043 | IF(lwm) WRITE ( numonp, natroam ) |
---|
1044 | |
---|
1045 | !! ROAM carbon, alkalinity and oxygen cycle parameters |
---|
1046 | !! xthetaphy : oxygen evolution/consumption by phytoplankton |
---|
1047 | !! xthetazoo : oxygen consumption by zooplankton |
---|
1048 | !! xthetanit : oxygen consumption by nitrogen remineralisation |
---|
1049 | !! xthetarem : oxygen consumption by carbon remineralisation |
---|
1050 | !! xo2min : oxygen minimum concentration |
---|
1051 | |
---|
1052 | IF(lwp) THEN |
---|
1053 | WRITE(numout,*) 'natroam' |
---|
1054 | WRITE(numout,*) ' ' |
---|
1055 | !! |
---|
1056 | !! ROAM carbon, alkalinity and oxygen cycle parameters |
---|
1057 | WRITE(numout,*) '=== ROAM carbon, alkalinity and oxygen cycle parameters' |
---|
1058 | WRITE(numout,*) & |
---|
1059 | & ' oxygen evolution/consumption by phytoplankton xthetaphy = ', xthetaphy |
---|
1060 | WRITE(numout,*) & |
---|
1061 | & ' oxygen consumption by zooplankton xthetazoo = ', xthetazoo |
---|
1062 | WRITE(numout,*) & |
---|
1063 | & ' oxygen consumption by nitrogen remineralisation xthetanit = ', xthetanit |
---|
1064 | WRITE(numout,*) & |
---|
1065 | & ' oxygen consumption by carbon remineralisation xthetarem = ', xthetarem |
---|
1066 | WRITE(numout,*) & |
---|
1067 | & ' oxygen minimum concentration xo2min = ', xo2min |
---|
1068 | ENDIF |
---|
1069 | |
---|
1070 | #endif |
---|
1071 | |
---|
1072 | CALL flush(numout) |
---|
1073 | |
---|
1074 | ! 1.5 namelist natopt : parameters for optic |
---|
1075 | ! ------------------------------------------ |
---|
1076 | |
---|
1077 | xkg0 = 0. |
---|
1078 | xkr0 = 0. |
---|
1079 | xkgp = 0. |
---|
1080 | xkrp = 0. |
---|
1081 | xlg = 0. |
---|
1082 | xlr = 0. |
---|
1083 | rpig = 0. |
---|
1084 | |
---|
1085 | !READ(numnatm,natopt) |
---|
1086 | ! Namelist natopt |
---|
1087 | ! ------------------- |
---|
1088 | REWIND( numnatp_ref ) ! Namelist natopt in reference namelist : MEDUSA diagnostics |
---|
1089 | READ ( numnatp_ref, natopt, IOSTAT = ios, ERR = 907) |
---|
1090 | 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'natopt in reference namelist', lwp ) |
---|
1091 | |
---|
1092 | REWIND( numnatp_cfg ) ! Namelist natopt in configuration namelist : MEDUSA diagnostics |
---|
1093 | READ ( numnatp_cfg, natopt, IOSTAT = ios, ERR = 908 ) |
---|
1094 | 908 IF( ios /= 0 ) CALL ctl_nam ( ios , 'natopt in configuration namelist', lwp ) |
---|
1095 | IF(lwm) WRITE ( numonp, natopt ) |
---|
1096 | |
---|
1097 | IF(lwp) THEN |
---|
1098 | WRITE(numout,*) 'natopt' |
---|
1099 | WRITE(numout,*) ' ' |
---|
1100 | WRITE(numout,*) ' green water absorption coeff xkg0 = ',xkg0 |
---|
1101 | WRITE(numout,*) ' red water absorption coeff xkr0 = ',xkr0 |
---|
1102 | WRITE(numout,*) ' pigment red absorption coeff xkrp = ',xkrp |
---|
1103 | WRITE(numout,*) ' pigment green absorption coeff xkgp = ',xkgp |
---|
1104 | WRITE(numout,*) ' green chl exposant xlg = ',xlg |
---|
1105 | WRITE(numout,*) ' red chl exposant xlr = ',xlr |
---|
1106 | WRITE(numout,*) ' chla/chla+phea ratio rpig = ',rpig |
---|
1107 | WRITE(numout,*) ' ' |
---|
1108 | |
---|
1109 | ENDIF |
---|
1110 | |
---|
1111 | IF(lwp) THEN |
---|
1112 | WRITE(numout,*) 'NaN check' |
---|
1113 | WRITE(numout,*) ' ' |
---|
1114 | q1 = -1. |
---|
1115 | q2 = 0. |
---|
1116 | q3 = log(q1) |
---|
1117 | write (numout,*) 'q3 = ', q3 |
---|
1118 | if ( ieee_is_nan( q3 ) ) then |
---|
1119 | write (numout,*) 'NaN detected' |
---|
1120 | else |
---|
1121 | write (numout,*) 'NaN not detected' |
---|
1122 | endif |
---|
1123 | WRITE(numout,*) ' ' |
---|
1124 | ENDIF |
---|
1125 | |
---|
1126 | END SUBROUTINE trc_nam_medusa |
---|
1127 | |
---|
1128 | SUBROUTINE trc_nam_iom_medusa |
---|
1129 | !!--------------------------------------------------------------------- |
---|
1130 | !! *** ROUTINE trc_nam_iom_medusa *** |
---|
1131 | !! |
---|
1132 | !! ** Purpose : read all diag requested in iodef file through iom_use |
---|
1133 | !! So it is done only once |
---|
1134 | !! ** All diagnostic MEDUSA could asked are registered in |
---|
1135 | !! the med_diag type with a boolean value |
---|
1136 | !! So if required, one diagnostic will be true. |
---|
1137 | !! |
---|
1138 | !!--------------------------------------------------------------------- |
---|
1139 | !! |
---|
1140 | !! |
---|
1141 | !!---------------------------------------------------------------------- |
---|
1142 | !! Variable conventions |
---|
1143 | !!---------------------------------------------------------------------- |
---|
1144 | !! |
---|
1145 | IF (iom_use("INVTN")) THEN |
---|
1146 | med_diag%INVTN%dgsave = .TRUE. |
---|
1147 | ELSE |
---|
1148 | med_diag%INVTN%dgsave = .FALSE. |
---|
1149 | ENDIF |
---|
1150 | IF (iom_use("INVTSI")) THEN |
---|
1151 | med_diag%INVTSI%dgsave = .TRUE. |
---|
1152 | ELSE |
---|
1153 | med_diag%INVTSI%dgsave = .FALSE. |
---|
1154 | ENDIF |
---|
1155 | IF (iom_use("INVTFE")) THEN |
---|
1156 | med_diag%INVTFE%dgsave = .TRUE. |
---|
1157 | ELSE |
---|
1158 | med_diag%INVTFE%dgsave = .FALSE. |
---|
1159 | ENDIF |
---|
1160 | IF (iom_use("PRN")) THEN |
---|
1161 | med_diag%PRN%dgsave = .TRUE. |
---|
1162 | ELSE |
---|
1163 | med_diag%PRN%dgsave = .FALSE. |
---|
1164 | ENDIF |
---|
1165 | IF (iom_use("MPN")) THEN |
---|
1166 | med_diag%MPN%dgsave = .TRUE. |
---|
1167 | ELSE |
---|
1168 | med_diag%MPN%dgsave = .FALSE. |
---|
1169 | ENDIF |
---|
1170 | IF (iom_use("PRD")) THEN |
---|
1171 | med_diag%PRD%dgsave = .TRUE. |
---|
1172 | ELSE |
---|
1173 | med_diag%PRD%dgsave = .FALSE. |
---|
1174 | ENDIF |
---|
1175 | IF (iom_use("MPD")) THEN |
---|
1176 | med_diag%MPD%dgsave = .TRUE. |
---|
1177 | ELSE |
---|
1178 | med_diag%MPD%dgsave = .FALSE. |
---|
1179 | ENDIF |
---|
1180 | IF (iom_use("DSED")) THEN |
---|
1181 | med_diag%DSED%dgsave = .TRUE. |
---|
1182 | ELSE |
---|
1183 | med_diag%DSED%dgsave = .FALSE. |
---|
1184 | ENDIF |
---|
1185 | IF (iom_use("OPAL")) THEN |
---|
1186 | med_diag%OPAL%dgsave = .TRUE. |
---|
1187 | ELSE |
---|
1188 | med_diag%OPAL%dgsave = .FALSE. |
---|
1189 | ENDIF |
---|
1190 | IF (iom_use("OPALDISS")) THEN |
---|
1191 | med_diag%OPALDISS%dgsave = .TRUE. |
---|
1192 | ELSE |
---|
1193 | med_diag%OPALDISS%dgsave = .FALSE. |
---|
1194 | ENDIF |
---|
1195 | IF (iom_use("GMIPn")) THEN |
---|
1196 | med_diag%GMIPn%dgsave = .TRUE. |
---|
1197 | ELSE |
---|
1198 | med_diag%GMIPn%dgsave = .FALSE. |
---|
1199 | ENDIF |
---|
1200 | IF (iom_use("GMID")) THEN |
---|
1201 | med_diag%GMID%dgsave = .TRUE. |
---|
1202 | ELSE |
---|
1203 | med_diag%GMID%dgsave = .FALSE. |
---|
1204 | ENDIF |
---|
1205 | IF (iom_use("MZMI")) THEN |
---|
1206 | med_diag%MZMI%dgsave = .TRUE. |
---|
1207 | ELSE |
---|
1208 | med_diag%MZMI%dgsave = .FALSE. |
---|
1209 | ENDIF |
---|
1210 | IF (iom_use("GMEPN")) THEN |
---|
1211 | med_diag%GMEPN%dgsave = .TRUE. |
---|
1212 | ELSE |
---|
1213 | med_diag%GMEPN%dgsave = .FALSE. |
---|
1214 | ENDIF |
---|
1215 | IF (iom_use("GMEPD")) THEN |
---|
1216 | med_diag%GMEPD%dgsave = .TRUE. |
---|
1217 | ELSE |
---|
1218 | med_diag%GMEPD%dgsave = .FALSE. |
---|
1219 | ENDIF |
---|
1220 | IF (iom_use("GMEZMI")) THEN |
---|
1221 | med_diag%GMEZMI%dgsave = .TRUE. |
---|
1222 | ELSE |
---|
1223 | med_diag%GMEZMI%dgsave = .FALSE. |
---|
1224 | ENDIF |
---|
1225 | IF (iom_use("GMED")) THEN |
---|
1226 | med_diag%GMED%dgsave = .TRUE. |
---|
1227 | ELSE |
---|
1228 | med_diag%GMED%dgsave = .FALSE. |
---|
1229 | ENDIF |
---|
1230 | IF (iom_use("MZME")) THEN |
---|
1231 | med_diag%MZME%dgsave = .TRUE. |
---|
1232 | ELSE |
---|
1233 | med_diag%MZME%dgsave = .FALSE. |
---|
1234 | ENDIF |
---|
1235 | IF (iom_use("DEXP")) THEN |
---|
1236 | med_diag%DEXP%dgsave = .TRUE. |
---|
1237 | ELSE |
---|
1238 | med_diag%DEXP%dgsave = .FALSE. |
---|
1239 | ENDIF |
---|
1240 | IF (iom_use("DETN")) THEN |
---|
1241 | med_diag%DETN%dgsave = .TRUE. |
---|
1242 | ELSE |
---|
1243 | med_diag%DETN%dgsave = .FALSE. |
---|
1244 | ENDIF |
---|
1245 | IF (iom_use("MDET")) THEN |
---|
1246 | med_diag%MDET%dgsave = .TRUE. |
---|
1247 | ELSE |
---|
1248 | med_diag%MDET%dgsave = .FALSE. |
---|
1249 | ENDIF |
---|
1250 | IF (iom_use("AEOLIAN")) THEN |
---|
1251 | med_diag%AEOLIAN%dgsave = .TRUE. |
---|
1252 | ELSE |
---|
1253 | med_diag%AEOLIAN%dgsave = .FALSE. |
---|
1254 | ENDIF |
---|
1255 | IF (iom_use("BENTHIC")) THEN |
---|
1256 | med_diag%BENTHIC%dgsave = .TRUE. |
---|
1257 | ELSE |
---|
1258 | med_diag%BENTHIC%dgsave = .FALSE. |
---|
1259 | ENDIF |
---|
1260 | IF (iom_use("SCAVENGE")) THEN |
---|
1261 | med_diag%SCAVENGE%dgsave = .TRUE. |
---|
1262 | ELSE |
---|
1263 | med_diag%SCAVENGE%dgsave = .FALSE. |
---|
1264 | ENDIF |
---|
1265 | IF (iom_use("PN_JLIM")) THEN |
---|
1266 | med_diag%PN_JLIM%dgsave = .TRUE. |
---|
1267 | ELSE |
---|
1268 | med_diag%PN_JLIM%dgsave = .FALSE. |
---|
1269 | ENDIF |
---|
1270 | IF (iom_use("PN_NLIM")) THEN |
---|
1271 | med_diag%PN_NLIM%dgsave = .TRUE. |
---|
1272 | ELSE |
---|
1273 | med_diag%PN_NLIM%dgsave = .FALSE. |
---|
1274 | ENDIF |
---|
1275 | IF (iom_use("PN_FELIM")) THEN |
---|
1276 | med_diag%PN_FELIM%dgsave = .TRUE. |
---|
1277 | ELSE |
---|
1278 | med_diag%PN_FELIM%dgsave = .FALSE. |
---|
1279 | ENDIF |
---|
1280 | IF (iom_use("PD_JLIM")) THEN |
---|
1281 | med_diag%PD_JLIM%dgsave = .TRUE. |
---|
1282 | ELSE |
---|
1283 | med_diag%PD_JLIM%dgsave = .FALSE. |
---|
1284 | ENDIF |
---|
1285 | IF (iom_use("PD_NLIM")) THEN |
---|
1286 | med_diag%PD_NLIM%dgsave = .TRUE. |
---|
1287 | ELSE |
---|
1288 | med_diag%PD_NLIM%dgsave = .FALSE. |
---|
1289 | ENDIF |
---|
1290 | IF (iom_use("PD_FELIM")) THEN |
---|
1291 | med_diag%PD_FELIM%dgsave = .TRUE. |
---|
1292 | ELSE |
---|
1293 | med_diag%PD_FELIM%dgsave = .FALSE. |
---|
1294 | ENDIF |
---|
1295 | IF (iom_use("PD_SILIM")) THEN |
---|
1296 | med_diag%PD_SILIM%dgsave = .TRUE. |
---|
1297 | ELSE |
---|
1298 | med_diag%PD_SILIM%dgsave = .FALSE. |
---|
1299 | ENDIF |
---|
1300 | IF (iom_use("PDSILIM2")) THEN |
---|
1301 | med_diag%PDSILIM2%dgsave = .TRUE. |
---|
1302 | ELSE |
---|
1303 | med_diag%PDSILIM2%dgsave = .FALSE. |
---|
1304 | ENDIF |
---|
1305 | IF (iom_use("SDT__100")) THEN |
---|
1306 | med_diag%SDT__100%dgsave = .TRUE. |
---|
1307 | ELSE |
---|
1308 | med_diag%SDT__100%dgsave = .FALSE. |
---|
1309 | ENDIF |
---|
1310 | IF (iom_use("SDT__200")) THEN |
---|
1311 | med_diag%SDT__200%dgsave = .TRUE. |
---|
1312 | ELSE |
---|
1313 | med_diag%SDT__200%dgsave = .FALSE. |
---|
1314 | ENDIF |
---|
1315 | IF (iom_use("SDT__500")) THEN |
---|
1316 | med_diag%SDT__500%dgsave = .TRUE. |
---|
1317 | ELSE |
---|
1318 | med_diag%SDT__500%dgsave = .FALSE. |
---|
1319 | ENDIF |
---|
1320 | IF (iom_use("SDT_1000")) THEN |
---|
1321 | med_diag%SDT_1000%dgsave = .TRUE. |
---|
1322 | ELSE |
---|
1323 | med_diag%SDT_1000%dgsave = .FALSE. |
---|
1324 | ENDIF |
---|
1325 | IF (iom_use("TOTREG_N")) THEN |
---|
1326 | med_diag%TOTREG_N%dgsave = .TRUE. |
---|
1327 | ELSE |
---|
1328 | med_diag%TOTREG_N%dgsave = .FALSE. |
---|
1329 | ENDIF |
---|
1330 | IF (iom_use("TOTRG_SI")) THEN |
---|
1331 | med_diag%TOTRG_SI%dgsave = .TRUE. |
---|
1332 | ELSE |
---|
1333 | med_diag%TOTRG_SI%dgsave = .FALSE. |
---|
1334 | ENDIF |
---|
1335 | IF (iom_use("REG__100")) THEN |
---|
1336 | med_diag%REG__100%dgsave = .TRUE. |
---|
1337 | ELSE |
---|
1338 | med_diag%REG__100%dgsave = .FALSE. |
---|
1339 | ENDIF |
---|
1340 | IF (iom_use("REG__200")) THEN |
---|
1341 | med_diag%REG__200%dgsave = .TRUE. |
---|
1342 | ELSE |
---|
1343 | med_diag%REG__200%dgsave = .FALSE. |
---|
1344 | ENDIF |
---|
1345 | IF (iom_use("REG__500")) THEN |
---|
1346 | med_diag%REG__500%dgsave = .TRUE. |
---|
1347 | ELSE |
---|
1348 | med_diag%REG__500%dgsave = .FALSE. |
---|
1349 | ENDIF |
---|
1350 | IF (iom_use("REG_1000")) THEN |
---|
1351 | med_diag%REG_1000%dgsave = .TRUE. |
---|
1352 | ELSE |
---|
1353 | med_diag%REG_1000%dgsave = .FALSE. |
---|
1354 | ENDIF |
---|
1355 | IF (iom_use("FASTN")) THEN |
---|
1356 | med_diag%FASTN%dgsave = .TRUE. |
---|
1357 | ELSE |
---|
1358 | med_diag%FASTN%dgsave = .FALSE. |
---|
1359 | ENDIF |
---|
1360 | IF (iom_use("FASTSI")) THEN |
---|
1361 | med_diag%FASTSI%dgsave = .TRUE. |
---|
1362 | ELSE |
---|
1363 | med_diag%FASTSI%dgsave = .FALSE. |
---|
1364 | ENDIF |
---|
1365 | IF (iom_use("FASTFE")) THEN |
---|
1366 | med_diag%FASTFE%dgsave = .TRUE. |
---|
1367 | ELSE |
---|
1368 | med_diag%FASTFE%dgsave = .FALSE. |
---|
1369 | ENDIF |
---|
1370 | IF (iom_use("FASTC")) THEN |
---|
1371 | med_diag%FASTC%dgsave = .TRUE. |
---|
1372 | ELSE |
---|
1373 | med_diag%FASTC%dgsave = .FALSE. |
---|
1374 | ENDIF |
---|
1375 | IF (iom_use("FASTCA")) THEN |
---|
1376 | med_diag%FASTCA%dgsave = .TRUE. |
---|
1377 | ELSE |
---|
1378 | med_diag%FASTCA%dgsave = .FALSE. |
---|
1379 | ENDIF |
---|
1380 | IF (iom_use("FDT__100")) THEN |
---|
1381 | med_diag%FDT__100%dgsave = .TRUE. |
---|
1382 | ELSE |
---|
1383 | med_diag%FDT__100%dgsave = .FALSE. |
---|
1384 | ENDIF |
---|
1385 | IF (iom_use("FDT__200")) THEN |
---|
1386 | med_diag%FDT__200%dgsave = .TRUE. |
---|
1387 | ELSE |
---|
1388 | med_diag%FDT__200%dgsave = .FALSE. |
---|
1389 | ENDIF |
---|
1390 | IF (iom_use("FDT__500")) THEN |
---|
1391 | med_diag%FDT__500%dgsave = .TRUE. |
---|
1392 | ELSE |
---|
1393 | med_diag%FDT__500%dgsave = .FALSE. |
---|
1394 | ENDIF |
---|
1395 | IF (iom_use("FDT_1000")) THEN |
---|
1396 | med_diag%FDT_1000%dgsave = .TRUE. |
---|
1397 | ELSE |
---|
1398 | med_diag%FDT_1000%dgsave = .FALSE. |
---|
1399 | ENDIF |
---|
1400 | IF (iom_use("RG__100F")) THEN |
---|
1401 | med_diag%RG__100F%dgsave = .TRUE. |
---|
1402 | ELSE |
---|
1403 | med_diag%RG__100F%dgsave = .FALSE. |
---|
1404 | ENDIF |
---|
1405 | IF (iom_use("RG__200F")) THEN |
---|
1406 | med_diag%RG__200F%dgsave = .TRUE. |
---|
1407 | ELSE |
---|
1408 | med_diag%RG__200F%dgsave = .FALSE. |
---|
1409 | ENDIF |
---|
1410 | IF (iom_use("RG__500F")) THEN |
---|
1411 | med_diag%RG__500F%dgsave = .TRUE. |
---|
1412 | ELSE |
---|
1413 | med_diag%RG__500F%dgsave = .FALSE. |
---|
1414 | ENDIF |
---|
1415 | IF (iom_use("RG_1000F")) THEN |
---|
1416 | med_diag%RG_1000F%dgsave = .TRUE. |
---|
1417 | ELSE |
---|
1418 | med_diag%RG_1000F%dgsave = .FALSE. |
---|
1419 | ENDIF |
---|
1420 | IF (iom_use("FDS__100")) THEN |
---|
1421 | med_diag%FDS__100%dgsave = .TRUE. |
---|
1422 | ELSE |
---|
1423 | med_diag%FDS__100%dgsave = .FALSE. |
---|
1424 | ENDIF |
---|
1425 | IF (iom_use("FDS__200")) THEN |
---|
1426 | med_diag%FDS__200%dgsave = .TRUE. |
---|
1427 | ELSE |
---|
1428 | med_diag%FDS__200%dgsave = .FALSE. |
---|
1429 | ENDIF |
---|
1430 | IF (iom_use("FDS__500")) THEN |
---|
1431 | med_diag%FDS__500%dgsave = .TRUE. |
---|
1432 | ELSE |
---|
1433 | med_diag%FDS__500%dgsave = .FALSE. |
---|
1434 | ENDIF |
---|
1435 | IF (iom_use("FDS_1000")) THEN |
---|
1436 | med_diag%FDS_1000%dgsave = .TRUE. |
---|
1437 | ELSE |
---|
1438 | med_diag%FDS_1000%dgsave = .FALSE. |
---|
1439 | ENDIF |
---|
1440 | IF (iom_use("RGS_100F")) THEN |
---|
1441 | med_diag%RGS_100F%dgsave = .TRUE. |
---|
1442 | ELSE |
---|
1443 | med_diag%RGS_100F%dgsave = .FALSE. |
---|
1444 | ENDIF |
---|
1445 | IF (iom_use("RGS_200F")) THEN |
---|
1446 | med_diag%RGS_200F%dgsave = .TRUE. |
---|
1447 | ELSE |
---|
1448 | med_diag%RGS_200F%dgsave = .FALSE. |
---|
1449 | ENDIF |
---|
1450 | IF (iom_use("RGS_500F")) THEN |
---|
1451 | med_diag%RGS_500F%dgsave = .TRUE. |
---|
1452 | ELSE |
---|
1453 | med_diag%RGS_500F%dgsave = .FALSE. |
---|
1454 | ENDIF |
---|
1455 | IF (iom_use("RGS1000F")) THEN |
---|
1456 | med_diag%RGS1000F%dgsave = .TRUE. |
---|
1457 | ELSE |
---|
1458 | med_diag%RGS1000F%dgsave = .FALSE. |
---|
1459 | ENDIF |
---|
1460 | IF (iom_use("REMINN")) THEN |
---|
1461 | med_diag%REMINN%dgsave = .TRUE. |
---|
1462 | ELSE |
---|
1463 | med_diag%REMINN%dgsave = .FALSE. |
---|
1464 | ENDIF |
---|
1465 | IF (iom_use("REMINSI")) THEN |
---|
1466 | med_diag%REMINSI%dgsave = .TRUE. |
---|
1467 | ELSE |
---|
1468 | med_diag%REMINSI%dgsave = .FALSE. |
---|
1469 | ENDIF |
---|
1470 | IF (iom_use("REMINFE")) THEN |
---|
1471 | med_diag%REMINFE%dgsave = .TRUE. |
---|
1472 | ELSE |
---|
1473 | med_diag%REMINFE%dgsave = .FALSE. |
---|
1474 | ENDIF |
---|
1475 | IF (iom_use("REMINC")) THEN |
---|
1476 | med_diag%REMINC%dgsave = .TRUE. |
---|
1477 | ELSE |
---|
1478 | med_diag%REMINC%dgsave = .FALSE. |
---|
1479 | ENDIF |
---|
1480 | IF (iom_use("REMINCA")) THEN |
---|
1481 | med_diag%REMINCA%dgsave = .TRUE. |
---|
1482 | ELSE |
---|
1483 | med_diag%REMINCA%dgsave = .FALSE. |
---|
1484 | ENDIF |
---|
1485 | IF (iom_use("SEAFLRN")) THEN |
---|
1486 | med_diag%SEAFLRN%dgsave = .TRUE. |
---|
1487 | ELSE |
---|
1488 | med_diag%SEAFLRN%dgsave = .FALSE. |
---|
1489 | ENDIF |
---|
1490 | IF (iom_use("SEAFLRSI")) THEN |
---|
1491 | med_diag%SEAFLRSI%dgsave = .TRUE. |
---|
1492 | ELSE |
---|
1493 | med_diag%SEAFLRSI%dgsave = .FALSE. |
---|
1494 | ENDIF |
---|
1495 | IF (iom_use("SEAFLRFE")) THEN |
---|
1496 | med_diag%SEAFLRFE%dgsave = .TRUE. |
---|
1497 | ELSE |
---|
1498 | med_diag%SEAFLRFE%dgsave = .FALSE. |
---|
1499 | ENDIF |
---|
1500 | IF (iom_use("SEAFLRC")) THEN |
---|
1501 | med_diag%SEAFLRC%dgsave = .TRUE. |
---|
1502 | ELSE |
---|
1503 | med_diag%SEAFLRC%dgsave = .FALSE. |
---|
1504 | ENDIF |
---|
1505 | IF (iom_use("SEAFLRCA")) THEN |
---|
1506 | med_diag%SEAFLRCA%dgsave = .TRUE. |
---|
1507 | ELSE |
---|
1508 | med_diag%SEAFLRCA%dgsave = .FALSE. |
---|
1509 | ENDIF |
---|
1510 | IF (iom_use("MED_QSR")) THEN |
---|
1511 | med_diag%MED_QSR%dgsave = .TRUE. |
---|
1512 | ELSE |
---|
1513 | med_diag%MED_QSR%dgsave = .FALSE. |
---|
1514 | ENDIF |
---|
1515 | IF (iom_use("MED_XPAR")) THEN |
---|
1516 | med_diag%MED_XPAR%dgsave = .TRUE. |
---|
1517 | ELSE |
---|
1518 | med_diag%MED_XPAR%dgsave = .FALSE. |
---|
1519 | ENDIF |
---|
1520 | IF (iom_use("INTFLX_N")) THEN |
---|
1521 | med_diag%INTFLX_N%dgsave = .TRUE. |
---|
1522 | ELSE |
---|
1523 | med_diag%INTFLX_N%dgsave = .FALSE. |
---|
1524 | ENDIF |
---|
1525 | IF (iom_use("INTFLX_SI")) THEN |
---|
1526 | med_diag%INTFLX_SI%dgsave = .TRUE. |
---|
1527 | ELSE |
---|
1528 | med_diag%INTFLX_SI%dgsave = .FALSE. |
---|
1529 | ENDIF |
---|
1530 | IF (iom_use("INTFLX_FE")) THEN |
---|
1531 | med_diag%INTFLX_FE%dgsave = .TRUE. |
---|
1532 | ELSE |
---|
1533 | med_diag%INTFLX_FE%dgsave = .FALSE. |
---|
1534 | ENDIF |
---|
1535 | IF (iom_use("INT_PN")) THEN |
---|
1536 | med_diag%INT_PN%dgsave = .TRUE. |
---|
1537 | ELSE |
---|
1538 | med_diag%INT_PN%dgsave = .FALSE. |
---|
1539 | ENDIF |
---|
1540 | IF (iom_use("INT_PD")) THEN |
---|
1541 | med_diag%INT_PD%dgsave = .TRUE. |
---|
1542 | ELSE |
---|
1543 | med_diag%INT_PD%dgsave = .FALSE. |
---|
1544 | ENDIF |
---|
1545 | IF (iom_use("ML_PRN")) THEN |
---|
1546 | med_diag%ML_PRN%dgsave = .TRUE. |
---|
1547 | ELSE |
---|
1548 | med_diag%ML_PRN%dgsave = .FALSE. |
---|
1549 | ENDIF |
---|
1550 | IF (iom_use("ML_PRD")) THEN |
---|
1551 | med_diag%ML_PRD%dgsave = .TRUE. |
---|
1552 | ELSE |
---|
1553 | med_diag%ML_PRD%dgsave = .FALSE. |
---|
1554 | ENDIF |
---|
1555 | IF (iom_use("OCAL_CCD")) THEN |
---|
1556 | med_diag%OCAL_CCD%dgsave = .TRUE. |
---|
1557 | ELSE |
---|
1558 | med_diag%OCAL_CCD%dgsave = .FALSE. |
---|
1559 | ENDIF |
---|
1560 | IF (iom_use("OCAL_LVL")) THEN |
---|
1561 | med_diag%OCAL_LVL%dgsave = .TRUE. |
---|
1562 | ELSE |
---|
1563 | med_diag%OCAL_LVL%dgsave = .FALSE. |
---|
1564 | ENDIF |
---|
1565 | IF (iom_use("FE_0000")) THEN |
---|
1566 | med_diag%FE_0000%dgsave = .TRUE. |
---|
1567 | ELSE |
---|
1568 | med_diag%FE_0000%dgsave = .FALSE. |
---|
1569 | ENDIF |
---|
1570 | IF (iom_use("FE_0100")) THEN |
---|
1571 | med_diag%FE_0100%dgsave = .TRUE. |
---|
1572 | ELSE |
---|
1573 | med_diag%FE_0100%dgsave = .FALSE. |
---|
1574 | ENDIF |
---|
1575 | IF (iom_use("FE_0200")) THEN |
---|
1576 | med_diag%FE_0200%dgsave = .TRUE. |
---|
1577 | ELSE |
---|
1578 | med_diag%FE_0200%dgsave = .FALSE. |
---|
1579 | ENDIF |
---|
1580 | IF (iom_use("FE_0500")) THEN |
---|
1581 | med_diag%FE_0500%dgsave = .TRUE. |
---|
1582 | ELSE |
---|
1583 | med_diag%FE_0500%dgsave = .FALSE. |
---|
1584 | ENDIF |
---|
1585 | IF (iom_use("FE_1000")) THEN |
---|
1586 | med_diag%FE_1000%dgsave = .TRUE. |
---|
1587 | ELSE |
---|
1588 | med_diag%FE_1000%dgsave = .FALSE. |
---|
1589 | ENDIF |
---|
1590 | IF (iom_use("MED_XZE")) THEN |
---|
1591 | med_diag%MED_XZE%dgsave = .TRUE. |
---|
1592 | ELSE |
---|
1593 | med_diag%MED_XZE%dgsave = .FALSE. |
---|
1594 | ENDIF |
---|
1595 | IF (iom_use("WIND")) THEN |
---|
1596 | med_diag%WIND%dgsave = .TRUE. |
---|
1597 | ELSE |
---|
1598 | med_diag%WIND%dgsave = .FALSE. |
---|
1599 | ENDIF |
---|
1600 | IF (iom_use("ATM_PCO2")) THEN |
---|
1601 | med_diag%ATM_PCO2%dgsave = .TRUE. |
---|
1602 | ELSE |
---|
1603 | med_diag%ATM_PCO2%dgsave = .FALSE. |
---|
1604 | ENDIF |
---|
1605 | IF (iom_use("OCN_PH")) THEN |
---|
1606 | med_diag%OCN_PH%dgsave = .TRUE. |
---|
1607 | ELSE |
---|
1608 | med_diag%OCN_PH%dgsave = .FALSE. |
---|
1609 | ENDIF |
---|
1610 | IF (iom_use("OCN_PCO2")) THEN |
---|
1611 | med_diag%OCN_PCO2%dgsave = .TRUE. |
---|
1612 | ELSE |
---|
1613 | med_diag%OCN_PCO2%dgsave = .FALSE. |
---|
1614 | ENDIF |
---|
1615 | IF (iom_use("OCNH2CO3")) THEN |
---|
1616 | med_diag%OCNH2CO3%dgsave = .TRUE. |
---|
1617 | ELSE |
---|
1618 | med_diag%OCNH2CO3%dgsave = .FALSE. |
---|
1619 | ENDIF |
---|
1620 | IF (iom_use("OCN_HCO3")) THEN |
---|
1621 | med_diag%OCN_HCO3%dgsave = .TRUE. |
---|
1622 | ELSE |
---|
1623 | med_diag%OCN_HCO3%dgsave = .FALSE. |
---|
1624 | ENDIF |
---|
1625 | IF (iom_use("OCN_CO3")) THEN |
---|
1626 | med_diag%OCN_CO3%dgsave = .TRUE. |
---|
1627 | ELSE |
---|
1628 | med_diag%OCN_CO3%dgsave = .FALSE. |
---|
1629 | ENDIF |
---|
1630 | IF (iom_use("CO2FLUX")) THEN |
---|
1631 | med_diag%CO2FLUX%dgsave = .TRUE. |
---|
1632 | ELSE |
---|
1633 | med_diag%CO2FLUX%dgsave = .FALSE. |
---|
1634 | ENDIF |
---|
1635 | IF (iom_use("OM_CAL")) THEN |
---|
1636 | med_diag%OM_CAL%dgsave = .TRUE. |
---|
1637 | ELSE |
---|
1638 | med_diag%OM_CAL%dgsave = .FALSE. |
---|
1639 | ENDIF |
---|
1640 | IF (iom_use("OM_ARG")) THEN |
---|
1641 | med_diag%OM_ARG%dgsave = .TRUE. |
---|
1642 | ELSE |
---|
1643 | med_diag%OM_ARG%dgsave = .FALSE. |
---|
1644 | ENDIF |
---|
1645 | IF (iom_use("TCO2")) THEN |
---|
1646 | med_diag%TCO2%dgsave = .TRUE. |
---|
1647 | ELSE |
---|
1648 | med_diag%TCO2%dgsave = .FALSE. |
---|
1649 | ENDIF |
---|
1650 | IF (iom_use("TALK")) THEN |
---|
1651 | med_diag%TALK%dgsave = .TRUE. |
---|
1652 | ELSE |
---|
1653 | med_diag%TALK%dgsave = .FALSE. |
---|
1654 | ENDIF |
---|
1655 | IF (iom_use("KW660")) THEN |
---|
1656 | med_diag%KW660%dgsave = .TRUE. |
---|
1657 | ELSE |
---|
1658 | med_diag%KW660%dgsave = .FALSE. |
---|
1659 | ENDIF |
---|
1660 | IF (iom_use("ATM_PP0")) THEN |
---|
1661 | med_diag%ATM_PP0%dgsave = .TRUE. |
---|
1662 | ELSE |
---|
1663 | med_diag%ATM_PP0%dgsave = .FALSE. |
---|
1664 | ENDIF |
---|
1665 | IF (iom_use("O2FLUX")) THEN |
---|
1666 | med_diag%O2FLUX%dgsave = .TRUE. |
---|
1667 | ELSE |
---|
1668 | med_diag%O2FLUX%dgsave = .FALSE. |
---|
1669 | ENDIF |
---|
1670 | IF (iom_use("O2SAT")) THEN |
---|
1671 | med_diag%O2SAT%dgsave = .TRUE. |
---|
1672 | ELSE |
---|
1673 | med_diag%O2SAT%dgsave = .FALSE. |
---|
1674 | ENDIF |
---|
1675 | IF (iom_use("CAL_CCD")) THEN |
---|
1676 | med_diag%CAL_CCD%dgsave = .TRUE. |
---|
1677 | ELSE |
---|
1678 | med_diag%CAL_CCD%dgsave = .FALSE. |
---|
1679 | ENDIF |
---|
1680 | IF (iom_use("ARG_CCD")) THEN |
---|
1681 | med_diag%ARG_CCD%dgsave = .TRUE. |
---|
1682 | ELSE |
---|
1683 | med_diag%ARG_CCD%dgsave = .FALSE. |
---|
1684 | ENDIF |
---|
1685 | IF (iom_use("SFR_OCAL")) THEN |
---|
1686 | med_diag%SFR_OCAL%dgsave = .TRUE. |
---|
1687 | ELSE |
---|
1688 | med_diag%SFR_OCAL%dgsave = .FALSE. |
---|
1689 | ENDIF |
---|
1690 | IF (iom_use("SFR_OARG")) THEN |
---|
1691 | med_diag%SFR_OARG%dgsave = .TRUE. |
---|
1692 | ELSE |
---|
1693 | med_diag%SFR_OARG%dgsave = .FALSE. |
---|
1694 | ENDIF |
---|
1695 | IF (iom_use("N_PROD")) THEN |
---|
1696 | med_diag%N_PROD%dgsave = .TRUE. |
---|
1697 | ELSE |
---|
1698 | med_diag%N_PROD%dgsave = .FALSE. |
---|
1699 | ENDIF |
---|
1700 | IF (iom_use("N_CONS")) THEN |
---|
1701 | med_diag%N_CONS%dgsave = .TRUE. |
---|
1702 | ELSE |
---|
1703 | med_diag%N_CONS%dgsave = .FALSE. |
---|
1704 | ENDIF |
---|
1705 | IF (iom_use("C_PROD")) THEN |
---|
1706 | med_diag%C_PROD%dgsave = .TRUE. |
---|
1707 | ELSE |
---|
1708 | med_diag%C_PROD%dgsave = .FALSE. |
---|
1709 | ENDIF |
---|
1710 | IF (iom_use("C_CONS")) THEN |
---|
1711 | med_diag%C_CONS%dgsave = .TRUE. |
---|
1712 | ELSE |
---|
1713 | med_diag%C_CONS%dgsave = .FALSE. |
---|
1714 | ENDIF |
---|
1715 | IF (iom_use("O2_PROD")) THEN |
---|
1716 | med_diag%O2_PROD%dgsave = .TRUE. |
---|
1717 | ELSE |
---|
1718 | med_diag%O2_PROD%dgsave = .FALSE. |
---|
1719 | ENDIF |
---|
1720 | IF (iom_use("O2_CONS")) THEN |
---|
1721 | med_diag%O2_CONS%dgsave = .TRUE. |
---|
1722 | ELSE |
---|
1723 | med_diag%O2_CONS%dgsave = .FALSE. |
---|
1724 | ENDIF |
---|
1725 | IF (iom_use("O2_ANOX")) THEN |
---|
1726 | med_diag%O2_ANOX%dgsave = .TRUE. |
---|
1727 | ELSE |
---|
1728 | med_diag%O2_ANOX%dgsave = .FALSE. |
---|
1729 | ENDIF |
---|
1730 | IF (iom_use("RR_0100")) THEN |
---|
1731 | med_diag%RR_0100%dgsave = .TRUE. |
---|
1732 | ELSE |
---|
1733 | med_diag%RR_0100%dgsave = .FALSE. |
---|
1734 | ENDIF |
---|
1735 | IF (iom_use("RR_0500")) THEN |
---|
1736 | med_diag%RR_0500%dgsave = .TRUE. |
---|
1737 | ELSE |
---|
1738 | med_diag%RR_0500%dgsave = .FALSE. |
---|
1739 | ENDIF |
---|
1740 | IF (iom_use("RR_1000")) THEN |
---|
1741 | med_diag%RR_1000%dgsave = .TRUE. |
---|
1742 | ELSE |
---|
1743 | med_diag%RR_1000%dgsave = .FALSE. |
---|
1744 | ENDIF |
---|
1745 | IF (iom_use("IBEN_N")) THEN |
---|
1746 | med_diag%IBEN_N%dgsave = .TRUE. |
---|
1747 | ELSE |
---|
1748 | med_diag%IBEN_N%dgsave = .FALSE. |
---|
1749 | ENDIF |
---|
1750 | IF (iom_use("IBEN_FE")) THEN |
---|
1751 | med_diag%IBEN_FE%dgsave = .TRUE. |
---|
1752 | ELSE |
---|
1753 | med_diag%IBEN_FE%dgsave = .FALSE. |
---|
1754 | ENDIF |
---|
1755 | IF (iom_use("IBEN_C")) THEN |
---|
1756 | med_diag%IBEN_C%dgsave = .TRUE. |
---|
1757 | ELSE |
---|
1758 | med_diag%IBEN_C%dgsave = .FALSE. |
---|
1759 | ENDIF |
---|
1760 | IF (iom_use("IBEN_SI")) THEN |
---|
1761 | med_diag%IBEN_SI%dgsave = .TRUE. |
---|
1762 | ELSE |
---|
1763 | med_diag%IBEN_SI%dgsave = .FALSE. |
---|
1764 | ENDIF |
---|
1765 | IF (iom_use("IBEN_CA")) THEN |
---|
1766 | med_diag%IBEN_CA%dgsave = .TRUE. |
---|
1767 | ELSE |
---|
1768 | med_diag%IBEN_CA%dgsave = .FALSE. |
---|
1769 | ENDIF |
---|
1770 | IF (iom_use("OBEN_N")) THEN |
---|
1771 | med_diag%OBEN_N%dgsave = .TRUE. |
---|
1772 | ELSE |
---|
1773 | med_diag%OBEN_N%dgsave = .FALSE. |
---|
1774 | ENDIF |
---|
1775 | IF (iom_use("OBEN_FE")) THEN |
---|
1776 | med_diag%OBEN_FE%dgsave = .TRUE. |
---|
1777 | ELSE |
---|
1778 | med_diag%OBEN_FE%dgsave = .FALSE. |
---|
1779 | ENDIF |
---|
1780 | IF (iom_use("OBEN_C")) THEN |
---|
1781 | med_diag%OBEN_C%dgsave = .TRUE. |
---|
1782 | ELSE |
---|
1783 | med_diag%OBEN_C%dgsave = .FALSE. |
---|
1784 | ENDIF |
---|
1785 | IF (iom_use("OBEN_SI")) THEN |
---|
1786 | med_diag%OBEN_SI%dgsave = .TRUE. |
---|
1787 | ELSE |
---|
1788 | med_diag%OBEN_SI%dgsave = .FALSE. |
---|
1789 | ENDIF |
---|
1790 | IF (iom_use("OBEN_CA")) THEN |
---|
1791 | med_diag%OBEN_CA%dgsave = .TRUE. |
---|
1792 | ELSE |
---|
1793 | med_diag%OBEN_CA%dgsave = .FALSE. |
---|
1794 | ENDIF |
---|
1795 | IF (iom_use("BEN_N")) THEN |
---|
1796 | med_diag%BEN_N%dgsave = .TRUE. |
---|
1797 | ELSE |
---|
1798 | med_diag%BEN_N%dgsave = .FALSE. |
---|
1799 | ENDIF |
---|
1800 | IF (iom_use("BEN_FE")) THEN |
---|
1801 | med_diag%BEN_FE%dgsave = .TRUE. |
---|
1802 | ELSE |
---|
1803 | med_diag%BEN_FE%dgsave = .FALSE. |
---|
1804 | ENDIF |
---|
1805 | IF (iom_use("BEN_C")) THEN |
---|
1806 | med_diag%BEN_C%dgsave = .TRUE. |
---|
1807 | ELSE |
---|
1808 | med_diag%BEN_C%dgsave = .FALSE. |
---|
1809 | ENDIF |
---|
1810 | IF (iom_use("BEN_SI")) THEN |
---|
1811 | med_diag%BEN_SI%dgsave = .TRUE. |
---|
1812 | ELSE |
---|
1813 | med_diag%BEN_SI%dgsave = .FALSE. |
---|
1814 | ENDIF |
---|
1815 | IF (iom_use("BEN_CA")) THEN |
---|
1816 | med_diag%BEN_CA%dgsave = .TRUE. |
---|
1817 | ELSE |
---|
1818 | med_diag%BEN_CA%dgsave = .FALSE. |
---|
1819 | ENDIF |
---|
1820 | IF (iom_use("RUNOFF")) THEN |
---|
1821 | med_diag%RUNOFF%dgsave = .TRUE. |
---|
1822 | ELSE |
---|
1823 | med_diag%RUNOFF%dgsave = .FALSE. |
---|
1824 | ENDIF |
---|
1825 | IF (iom_use("RIV_N")) THEN |
---|
1826 | med_diag%RIV_N%dgsave = .TRUE. |
---|
1827 | ELSE |
---|
1828 | med_diag%RIV_N%dgsave = .FALSE. |
---|
1829 | ENDIF |
---|
1830 | IF (iom_use("RIV_SI")) THEN |
---|
1831 | med_diag%RIV_SI%dgsave = .TRUE. |
---|
1832 | ELSE |
---|
1833 | med_diag%RIV_SI%dgsave = .FALSE. |
---|
1834 | ENDIF |
---|
1835 | IF (iom_use("RIV_C")) THEN |
---|
1836 | med_diag%RIV_C%dgsave = .TRUE. |
---|
1837 | ELSE |
---|
1838 | med_diag%RIV_C%dgsave = .FALSE. |
---|
1839 | ENDIF |
---|
1840 | IF (iom_use("RIV_ALK")) THEN |
---|
1841 | med_diag%RIV_ALK%dgsave = .TRUE. |
---|
1842 | ELSE |
---|
1843 | med_diag%RIV_ALK%dgsave = .FALSE. |
---|
1844 | ENDIF |
---|
1845 | IF (iom_use("DETC")) THEN |
---|
1846 | med_diag%DETC%dgsave = .TRUE. |
---|
1847 | ELSE |
---|
1848 | med_diag%DETC%dgsave = .FALSE. |
---|
1849 | ENDIF |
---|
1850 | IF (iom_use("SDC__100")) THEN |
---|
1851 | med_diag%SDC__100%dgsave = .TRUE. |
---|
1852 | ELSE |
---|
1853 | med_diag%SDC__100%dgsave = .FALSE. |
---|
1854 | ENDIF |
---|
1855 | IF (iom_use("SDC__200")) THEN |
---|
1856 | med_diag%SDC__200%dgsave = .TRUE. |
---|
1857 | ELSE |
---|
1858 | med_diag%SDC__200%dgsave = .FALSE. |
---|
1859 | ENDIF |
---|
1860 | IF (iom_use("SDC__500")) THEN |
---|
1861 | med_diag%SDC__500%dgsave = .TRUE. |
---|
1862 | ELSE |
---|
1863 | med_diag%SDC__500%dgsave = .FALSE. |
---|
1864 | ENDIF |
---|
1865 | IF (iom_use("SDC_1000")) THEN |
---|
1866 | med_diag%SDC_1000%dgsave = .TRUE. |
---|
1867 | ELSE |
---|
1868 | med_diag%SDC_1000%dgsave = .FALSE. |
---|
1869 | ENDIF |
---|
1870 | IF (iom_use("INVTC")) THEN |
---|
1871 | med_diag%INVTC%dgsave = .TRUE. |
---|
1872 | ELSE |
---|
1873 | med_diag%INVTC%dgsave = .FALSE. |
---|
1874 | ENDIF |
---|
1875 | IF (iom_use("INVTALK")) THEN |
---|
1876 | med_diag%INVTALK%dgsave = .TRUE. |
---|
1877 | ELSE |
---|
1878 | med_diag%INVTALK%dgsave = .FALSE. |
---|
1879 | ENDIF |
---|
1880 | IF (iom_use("INVTO2")) THEN |
---|
1881 | med_diag%INVTO2%dgsave = .TRUE. |
---|
1882 | ELSE |
---|
1883 | med_diag%INVTO2%dgsave = .FALSE. |
---|
1884 | ENDIF |
---|
1885 | IF (iom_use("LYSO_CA")) THEN |
---|
1886 | med_diag%LYSO_CA%dgsave = .TRUE. |
---|
1887 | ELSE |
---|
1888 | med_diag%LYSO_CA%dgsave = .FALSE. |
---|
1889 | ENDIF |
---|
1890 | IF (iom_use("COM_RESP")) THEN |
---|
1891 | med_diag%COM_RESP%dgsave = .TRUE. |
---|
1892 | ELSE |
---|
1893 | med_diag%COM_RESP%dgsave = .FALSE. |
---|
1894 | ENDIF |
---|
1895 | IF (iom_use("PN_LLOSS")) THEN |
---|
1896 | med_diag%PN_LLOSS%dgsave = .TRUE. |
---|
1897 | ELSE |
---|
1898 | med_diag%PN_LLOSS%dgsave = .FALSE. |
---|
1899 | ENDIF |
---|
1900 | IF (iom_use("PD_LLOSS")) THEN |
---|
1901 | med_diag%PD_LLOSS%dgsave = .TRUE. |
---|
1902 | ELSE |
---|
1903 | med_diag%PD_LLOSS%dgsave = .FALSE. |
---|
1904 | ENDIF |
---|
1905 | IF (iom_use("ZI_LLOSS")) THEN |
---|
1906 | med_diag%ZI_LLOSS%dgsave = .TRUE. |
---|
1907 | ELSE |
---|
1908 | med_diag%ZI_LLOSS%dgsave = .FALSE. |
---|
1909 | ENDIF |
---|
1910 | IF (iom_use("ZE_LLOSS")) THEN |
---|
1911 | med_diag%ZE_LLOSS%dgsave = .TRUE. |
---|
1912 | ELSE |
---|
1913 | med_diag%ZE_LLOSS%dgsave = .FALSE. |
---|
1914 | ENDIF |
---|
1915 | IF (iom_use("ZI_MES_N")) THEN |
---|
1916 | med_diag%ZI_MES_N%dgsave = .TRUE. |
---|
1917 | ELSE |
---|
1918 | med_diag%ZI_MES_N%dgsave = .FALSE. |
---|
1919 | ENDIF |
---|
1920 | IF (iom_use("ZI_MES_D")) THEN |
---|
1921 | med_diag%ZI_MES_D%dgsave = .TRUE. |
---|
1922 | ELSE |
---|
1923 | med_diag%ZI_MES_D%dgsave = .FALSE. |
---|
1924 | ENDIF |
---|
1925 | IF (iom_use("ZI_MES_C")) THEN |
---|
1926 | med_diag%ZI_MES_C%dgsave = .TRUE. |
---|
1927 | ELSE |
---|
1928 | med_diag%ZI_MES_C%dgsave = .FALSE. |
---|
1929 | ENDIF |
---|
1930 | IF (iom_use("ZI_MESDC")) THEN |
---|
1931 | med_diag%ZI_MESDC%dgsave = .TRUE. |
---|
1932 | ELSE |
---|
1933 | med_diag%ZI_MESDC%dgsave = .FALSE. |
---|
1934 | ENDIF |
---|
1935 | IF (iom_use("ZI_EXCR")) THEN |
---|
1936 | med_diag%ZI_EXCR%dgsave = .TRUE. |
---|
1937 | ELSE |
---|
1938 | med_diag%ZI_EXCR%dgsave = .FALSE. |
---|
1939 | ENDIF |
---|
1940 | IF (iom_use("ZI_RESP")) THEN |
---|
1941 | med_diag%ZI_RESP%dgsave = .TRUE. |
---|
1942 | ELSE |
---|
1943 | med_diag%ZI_RESP%dgsave = .FALSE. |
---|
1944 | ENDIF |
---|
1945 | IF (iom_use("ZI_GROW")) THEN |
---|
1946 | med_diag%ZI_GROW%dgsave = .TRUE. |
---|
1947 | ELSE |
---|
1948 | med_diag%ZI_GROW%dgsave = .FALSE. |
---|
1949 | ENDIF |
---|
1950 | IF (iom_use("ZE_MES_N")) THEN |
---|
1951 | med_diag%ZE_MES_N%dgsave = .TRUE. |
---|
1952 | ELSE |
---|
1953 | med_diag%ZE_MES_N%dgsave = .FALSE. |
---|
1954 | ENDIF |
---|
1955 | IF (iom_use("ZE_MES_D")) THEN |
---|
1956 | med_diag%ZE_MES_D%dgsave = .TRUE. |
---|
1957 | ELSE |
---|
1958 | med_diag%ZE_MES_D%dgsave = .FALSE. |
---|
1959 | ENDIF |
---|
1960 | IF (iom_use("ZE_MES_C")) THEN |
---|
1961 | med_diag%ZE_MES_C%dgsave = .TRUE. |
---|
1962 | ELSE |
---|
1963 | med_diag%ZE_MES_C%dgsave = .FALSE. |
---|
1964 | ENDIF |
---|
1965 | IF (iom_use("ZE_MESDC")) THEN |
---|
1966 | med_diag%ZE_MESDC%dgsave = .TRUE. |
---|
1967 | ELSE |
---|
1968 | med_diag%ZE_MESDC%dgsave = .FALSE. |
---|
1969 | ENDIF |
---|
1970 | IF (iom_use("ZE_EXCR")) THEN |
---|
1971 | med_diag%ZE_EXCR%dgsave = .TRUE. |
---|
1972 | ELSE |
---|
1973 | med_diag%ZE_EXCR%dgsave = .FALSE. |
---|
1974 | ENDIF |
---|
1975 | IF (iom_use("ZE_RESP")) THEN |
---|
1976 | med_diag%ZE_RESP%dgsave = .TRUE. |
---|
1977 | ELSE |
---|
1978 | med_diag%ZE_RESP%dgsave = .FALSE. |
---|
1979 | ENDIF |
---|
1980 | IF (iom_use("ZE_GROW")) THEN |
---|
1981 | med_diag%ZE_GROW%dgsave = .TRUE. |
---|
1982 | ELSE |
---|
1983 | med_diag%ZE_GROW%dgsave = .FALSE. |
---|
1984 | ENDIF |
---|
1985 | IF (iom_use("MDETC")) THEN |
---|
1986 | med_diag%MDETC%dgsave = .TRUE. |
---|
1987 | ELSE |
---|
1988 | med_diag%MDETC%dgsave = .FALSE. |
---|
1989 | ENDIF |
---|
1990 | IF (iom_use("GMIDC")) THEN |
---|
1991 | med_diag%GMIDC%dgsave = .TRUE. |
---|
1992 | ELSE |
---|
1993 | med_diag%GMIDC%dgsave = .FALSE. |
---|
1994 | ENDIF |
---|
1995 | IF (iom_use("GMEDC")) THEN |
---|
1996 | med_diag%GMEDC%dgsave = .TRUE. |
---|
1997 | ELSE |
---|
1998 | med_diag%GMEDC%dgsave = .FALSE. |
---|
1999 | ENDIF |
---|
2000 | IF (iom_use("INT_ZMI")) THEN |
---|
2001 | med_diag%INT_ZMI%dgsave = .TRUE. |
---|
2002 | ELSE |
---|
2003 | med_diag%INT_ZMI%dgsave = .FALSE. |
---|
2004 | ENDIF |
---|
2005 | IF (iom_use("INT_ZME")) THEN |
---|
2006 | med_diag%INT_ZME%dgsave = .TRUE. |
---|
2007 | ELSE |
---|
2008 | med_diag%INT_ZME%dgsave = .FALSE. |
---|
2009 | ENDIF |
---|
2010 | IF (iom_use("INT_DET")) THEN |
---|
2011 | med_diag%INT_DET%dgsave = .TRUE. |
---|
2012 | ELSE |
---|
2013 | med_diag%INT_DET%dgsave = .FALSE. |
---|
2014 | ENDIF |
---|
2015 | IF (iom_use("INT_DTC")) THEN |
---|
2016 | med_diag%INT_DTC%dgsave = .TRUE. |
---|
2017 | ELSE |
---|
2018 | med_diag%INT_DTC%dgsave = .FALSE. |
---|
2019 | ENDIF |
---|
2020 | IF (iom_use("DMS_SURF")) THEN |
---|
2021 | med_diag%DMS_SURF%dgsave = .TRUE. |
---|
2022 | ELSE |
---|
2023 | med_diag%DMS_SURF%dgsave = .FALSE. |
---|
2024 | ENDIF |
---|
2025 | IF (iom_use("DMS_ANDR")) THEN |
---|
2026 | med_diag%DMS_ANDR%dgsave = .TRUE. |
---|
2027 | ELSE |
---|
2028 | med_diag%DMS_ANDR%dgsave = .FALSE. |
---|
2029 | ENDIF |
---|
2030 | IF (iom_use("DMS_SIMO")) THEN |
---|
2031 | med_diag%DMS_SIMO%dgsave = .TRUE. |
---|
2032 | ELSE |
---|
2033 | med_diag%DMS_SIMO%dgsave = .FALSE. |
---|
2034 | ENDIF |
---|
2035 | IF (iom_use("DMS_ARAN")) THEN |
---|
2036 | med_diag%DMS_ARAN%dgsave = .TRUE. |
---|
2037 | ELSE |
---|
2038 | med_diag%DMS_ARAN%dgsave = .FALSE. |
---|
2039 | ENDIF |
---|
2040 | IF (iom_use("DMS_HALL")) THEN |
---|
2041 | med_diag%DMS_HALL%dgsave = .TRUE. |
---|
2042 | ELSE |
---|
2043 | med_diag%DMS_HALL%dgsave = .FALSE. |
---|
2044 | ENDIF |
---|
2045 | IF (iom_use("DMS_ANDM")) THEN |
---|
2046 | med_diag%DMS_ANDM%dgsave = .TRUE. |
---|
2047 | ELSE |
---|
2048 | med_diag%DMS_ANDM%dgsave = .FALSE. |
---|
2049 | ENDIF |
---|
2050 | IF (iom_use("ATM_XCO2")) THEN |
---|
2051 | med_diag%ATM_XCO2%dgsave = .TRUE. |
---|
2052 | ELSE |
---|
2053 | med_diag%ATM_XCO2%dgsave = .FALSE. |
---|
2054 | ENDIF |
---|
2055 | IF (iom_use("OCN_FCO2")) THEN |
---|
2056 | med_diag%OCN_FCO2%dgsave = .TRUE. |
---|
2057 | ELSE |
---|
2058 | med_diag%OCN_FCO2%dgsave = .FALSE. |
---|
2059 | ENDIF |
---|
2060 | IF (iom_use("ATM_FCO2")) THEN |
---|
2061 | med_diag%ATM_FCO2%dgsave = .TRUE. |
---|
2062 | ELSE |
---|
2063 | med_diag%ATM_FCO2%dgsave = .FALSE. |
---|
2064 | ENDIF |
---|
2065 | IF (iom_use("OCN_RHOSW")) THEN |
---|
2066 | med_diag%OCN_RHOSW%dgsave = .TRUE. |
---|
2067 | ELSE |
---|
2068 | med_diag%OCN_RHOSW%dgsave = .FALSE. |
---|
2069 | ENDIF |
---|
2070 | IF (iom_use("OCN_SCHCO2")) THEN |
---|
2071 | med_diag%OCN_SCHCO2%dgsave = .TRUE. |
---|
2072 | ELSE |
---|
2073 | med_diag%OCN_SCHCO2%dgsave = .FALSE. |
---|
2074 | ENDIF |
---|
2075 | IF (iom_use("OCN_KWCO2")) THEN |
---|
2076 | med_diag%OCN_KWCO2%dgsave = .TRUE. |
---|
2077 | ELSE |
---|
2078 | med_diag%OCN_KWCO2%dgsave = .FALSE. |
---|
2079 | ENDIF |
---|
2080 | IF (iom_use("OCN_K0")) THEN |
---|
2081 | med_diag%OCN_K0%dgsave = .TRUE. |
---|
2082 | ELSE |
---|
2083 | med_diag%OCN_K0%dgsave = .FALSE. |
---|
2084 | ENDIF |
---|
2085 | IF (iom_use("CO2STARAIR")) THEN |
---|
2086 | med_diag%CO2STARAIR%dgsave = .TRUE. |
---|
2087 | ELSE |
---|
2088 | med_diag%CO2STARAIR%dgsave = .FALSE. |
---|
2089 | ENDIF |
---|
2090 | IF (iom_use("OCN_DPCO2")) THEN |
---|
2091 | med_diag%OCN_DPCO2%dgsave = .TRUE. |
---|
2092 | ELSE |
---|
2093 | med_diag%OCN_DPCO2%dgsave = .FALSE. |
---|
2094 | ENDIF |
---|
2095 | !! UKESM additional |
---|
2096 | IF (iom_use("CHL_MLD")) THEN |
---|
2097 | med_diag%CHL_MLD%dgsave = .TRUE. |
---|
2098 | ELSE |
---|
2099 | med_diag%CHL_MLD%dgsave = .FALSE. |
---|
2100 | ENDIF |
---|
2101 | IF (iom_use("CHL_CPL")) THEN |
---|
2102 | med_diag%CHL_CPL%dgsave = .TRUE. |
---|
2103 | ELSE |
---|
2104 | med_diag%CHL_CPL%dgsave = .FALSE. |
---|
2105 | ENDIF |
---|
2106 | !! 3D |
---|
2107 | IF (iom_use("TPP3")) THEN |
---|
2108 | med_diag%TPP3%dgsave = .TRUE. |
---|
2109 | ELSE |
---|
2110 | med_diag%TPP3%dgsave = .FALSE. |
---|
2111 | ENDIF |
---|
2112 | IF (iom_use("DETFLUX3")) THEN |
---|
2113 | med_diag%DETFLUX3%dgsave = .TRUE. |
---|
2114 | ELSE |
---|
2115 | med_diag%DETFLUX3%dgsave = .FALSE. |
---|
2116 | ENDIF |
---|
2117 | IF (iom_use("REMIN3N")) THEN |
---|
2118 | med_diag%REMIN3N%dgsave = .TRUE. |
---|
2119 | ELSE |
---|
2120 | med_diag%REMIN3N%dgsave = .FALSE. |
---|
2121 | ENDIF |
---|
2122 | IF (iom_use("PH3")) THEN |
---|
2123 | med_diag%PH3%dgsave = .TRUE. |
---|
2124 | ELSE |
---|
2125 | med_diag%PH3%dgsave = .FALSE. |
---|
2126 | ENDIF |
---|
2127 | IF (iom_use("OM_CAL3")) THEN |
---|
2128 | med_diag%OM_CAL3%dgsave = .TRUE. |
---|
2129 | ELSE |
---|
2130 | med_diag%OM_CAL3%dgsave = .FALSE. |
---|
2131 | ENDIF |
---|
2132 | !! |
---|
2133 | !!---------------------------------------------------------------------- |
---|
2134 | !! AXY (03/11/16): add in additional CMIP6 diagnostics |
---|
2135 | !!---------------------------------------------------------------------- |
---|
2136 | !! |
---|
2137 | !! 2D fields |
---|
2138 | IF (iom_use("epC100")) THEN |
---|
2139 | med_diag%epC100%dgsave = .TRUE. |
---|
2140 | ELSE |
---|
2141 | med_diag%epC100%dgsave = .FALSE. |
---|
2142 | ENDIF |
---|
2143 | IF (iom_use("epCALC100")) THEN |
---|
2144 | med_diag%epCALC100%dgsave = .TRUE. |
---|
2145 | ELSE |
---|
2146 | med_diag%epCALC100%dgsave = .FALSE. |
---|
2147 | ENDIF |
---|
2148 | IF (iom_use("epN100")) THEN |
---|
2149 | med_diag%epN100%dgsave = .TRUE. |
---|
2150 | ELSE |
---|
2151 | med_diag%epN100%dgsave = .FALSE. |
---|
2152 | ENDIF |
---|
2153 | IF (iom_use("epSI100")) THEN |
---|
2154 | med_diag%epSI100%dgsave = .TRUE. |
---|
2155 | ELSE |
---|
2156 | med_diag%epSI100%dgsave = .FALSE. |
---|
2157 | ENDIF |
---|
2158 | IF (iom_use("FGCO2")) THEN |
---|
2159 | med_diag%FGCO2%dgsave = .TRUE. |
---|
2160 | ELSE |
---|
2161 | med_diag%FGCO2%dgsave = .FALSE. |
---|
2162 | ENDIF |
---|
2163 | IF (iom_use("INTDISSIC")) THEN |
---|
2164 | med_diag%INTDISSIC%dgsave = .TRUE. |
---|
2165 | ELSE |
---|
2166 | med_diag%INTDISSIC%dgsave = .FALSE. |
---|
2167 | ENDIF |
---|
2168 | IF (iom_use("INTDISSIN")) THEN |
---|
2169 | med_diag%INTDISSIN%dgsave = .TRUE. |
---|
2170 | ELSE |
---|
2171 | med_diag%INTDISSIN%dgsave = .FALSE. |
---|
2172 | ENDIF |
---|
2173 | IF (iom_use("INTDISSISI")) THEN |
---|
2174 | med_diag%INTDISSISI%dgsave = .TRUE. |
---|
2175 | ELSE |
---|
2176 | med_diag%INTDISSISI%dgsave = .FALSE. |
---|
2177 | ENDIF |
---|
2178 | IF (iom_use("INTTALK")) THEN |
---|
2179 | med_diag%INTTALK%dgsave = .TRUE. |
---|
2180 | ELSE |
---|
2181 | med_diag%INTTALK%dgsave = .FALSE. |
---|
2182 | ENDIF |
---|
2183 | IF (iom_use("O2min")) THEN |
---|
2184 | med_diag%O2min%dgsave = .TRUE. |
---|
2185 | ELSE |
---|
2186 | med_diag%O2min%dgsave = .FALSE. |
---|
2187 | ENDIF |
---|
2188 | IF (iom_use("ZO2min")) THEN |
---|
2189 | med_diag%ZO2min%dgsave = .TRUE. |
---|
2190 | ELSE |
---|
2191 | med_diag%ZO2min%dgsave = .FALSE. |
---|
2192 | ENDIF |
---|
2193 | IF (iom_use("FBDDTALK")) THEN |
---|
2194 | med_diag%FBDDTALK%dgsave = .TRUE. |
---|
2195 | ELSE |
---|
2196 | med_diag%FBDDTALK%dgsave = .FALSE. |
---|
2197 | ENDIF |
---|
2198 | IF (iom_use("FBDDTDIC")) THEN |
---|
2199 | med_diag%FBDDTDIC%dgsave = .TRUE. |
---|
2200 | ELSE |
---|
2201 | med_diag%FBDDTDIC%dgsave = .FALSE. |
---|
2202 | ENDIF |
---|
2203 | IF (iom_use("FBDDTDIFE")) THEN |
---|
2204 | med_diag%FBDDTDIFE%dgsave = .TRUE. |
---|
2205 | ELSE |
---|
2206 | med_diag%FBDDTDIFE%dgsave = .FALSE. |
---|
2207 | ENDIF |
---|
2208 | IF (iom_use("FBDDTDIN")) THEN |
---|
2209 | med_diag%FBDDTDIN%dgsave = .TRUE. |
---|
2210 | ELSE |
---|
2211 | med_diag%FBDDTDIN%dgsave = .FALSE. |
---|
2212 | ENDIF |
---|
2213 | IF (iom_use("FBDDTDISI")) THEN |
---|
2214 | med_diag%FBDDTDISI%dgsave = .TRUE. |
---|
2215 | ELSE |
---|
2216 | med_diag%FBDDTDISI%dgsave = .FALSE. |
---|
2217 | ENDIF |
---|
2218 | !! |
---|
2219 | !! 3D |
---|
2220 | IF (iom_use("TPPD3")) THEN |
---|
2221 | med_diag%TPPD3%dgsave = .TRUE. |
---|
2222 | ELSE |
---|
2223 | med_diag%TPPD3%dgsave = .FALSE. |
---|
2224 | ENDIF |
---|
2225 | IF (iom_use("BDDTALK3")) THEN |
---|
2226 | med_diag%BDDTALK3%dgsave = .TRUE. |
---|
2227 | ELSE |
---|
2228 | med_diag%BDDTALK3%dgsave = .FALSE. |
---|
2229 | ENDIF |
---|
2230 | IF (iom_use("BDDTDIC3")) THEN |
---|
2231 | med_diag%BDDTDIC3%dgsave = .TRUE. |
---|
2232 | ELSE |
---|
2233 | med_diag%BDDTDIC3%dgsave = .FALSE. |
---|
2234 | ENDIF |
---|
2235 | IF (iom_use("BDDTDIFE3")) THEN |
---|
2236 | med_diag%BDDTDIFE3%dgsave = .TRUE. |
---|
2237 | ELSE |
---|
2238 | med_diag%BDDTDIFE3%dgsave = .FALSE. |
---|
2239 | ENDIF |
---|
2240 | IF (iom_use("BDDTDIN3")) THEN |
---|
2241 | med_diag%BDDTDIN3%dgsave = .TRUE. |
---|
2242 | ELSE |
---|
2243 | med_diag%BDDTDIN3%dgsave = .FALSE. |
---|
2244 | ENDIF |
---|
2245 | IF (iom_use("BDDTDISI3")) THEN |
---|
2246 | med_diag%BDDTDISI3%dgsave = .TRUE. |
---|
2247 | ELSE |
---|
2248 | med_diag%BDDTDISI3%dgsave = .FALSE. |
---|
2249 | ENDIF |
---|
2250 | IF (iom_use("FD_NIT3")) THEN |
---|
2251 | med_diag%FD_NIT3%dgsave = .TRUE. |
---|
2252 | ELSE |
---|
2253 | med_diag%FD_NIT3%dgsave = .FALSE. |
---|
2254 | ENDIF |
---|
2255 | IF (iom_use("FD_SIL3")) THEN |
---|
2256 | med_diag%FD_SIL3%dgsave = .TRUE. |
---|
2257 | ELSE |
---|
2258 | med_diag%FD_SIL3%dgsave = .FALSE. |
---|
2259 | ENDIF |
---|
2260 | IF (iom_use("FD_CAR3")) THEN |
---|
2261 | med_diag%FD_CAR3%dgsave = .TRUE. |
---|
2262 | ELSE |
---|
2263 | med_diag%FD_CAR3%dgsave = .FALSE. |
---|
2264 | ENDIF |
---|
2265 | IF (iom_use("FD_CAL3")) THEN |
---|
2266 | med_diag%FD_CAL3%dgsave = .TRUE. |
---|
2267 | ELSE |
---|
2268 | med_diag%FD_CAL3%dgsave = .FALSE. |
---|
2269 | ENDIF |
---|
2270 | IF (iom_use("CO33")) THEN |
---|
2271 | med_diag%CO33%dgsave = .TRUE. |
---|
2272 | ELSE |
---|
2273 | med_diag%CO33%dgsave = .FALSE. |
---|
2274 | ENDIF |
---|
2275 | IF (iom_use("CO3SATARAG3")) THEN |
---|
2276 | med_diag%CO3SATARAG3%dgsave = .TRUE. |
---|
2277 | ELSE |
---|
2278 | med_diag%CO3SATARAG3%dgsave = .FALSE. |
---|
2279 | ENDIF |
---|
2280 | IF (iom_use("CO3SATCALC3")) THEN |
---|
2281 | med_diag%CO3SATCALC3%dgsave = .TRUE. |
---|
2282 | ELSE |
---|
2283 | med_diag%CO3SATCALC3%dgsave = .FALSE. |
---|
2284 | ENDIF |
---|
2285 | IF (iom_use("DCALC3")) THEN |
---|
2286 | med_diag%DCALC3%dgsave = .TRUE. |
---|
2287 | ELSE |
---|
2288 | med_diag%DCALC3%dgsave = .FALSE. |
---|
2289 | ENDIF |
---|
2290 | IF (iom_use("EXPC3")) THEN |
---|
2291 | med_diag%EXPC3%dgsave = .TRUE. |
---|
2292 | ELSE |
---|
2293 | med_diag%EXPC3%dgsave = .FALSE. |
---|
2294 | ENDIF |
---|
2295 | IF (iom_use("EXPN3")) THEN |
---|
2296 | med_diag%EXPN3%dgsave = .TRUE. |
---|
2297 | ELSE |
---|
2298 | med_diag%EXPN3%dgsave = .FALSE. |
---|
2299 | ENDIF |
---|
2300 | IF (iom_use("FEDISS3")) THEN |
---|
2301 | med_diag%FEDISS3%dgsave = .TRUE. |
---|
2302 | ELSE |
---|
2303 | med_diag%FEDISS3%dgsave = .FALSE. |
---|
2304 | ENDIF |
---|
2305 | IF (iom_use("FESCAV3")) THEN |
---|
2306 | med_diag%FESCAV3%dgsave = .TRUE. |
---|
2307 | ELSE |
---|
2308 | med_diag%FESCAV3%dgsave = .FALSE. |
---|
2309 | ENDIF |
---|
2310 | IF (iom_use("MIGRAZP3")) THEN |
---|
2311 | med_diag%MIGRAZP3%dgsave = .TRUE. |
---|
2312 | ELSE |
---|
2313 | med_diag%MIGRAZP3%dgsave = .FALSE. |
---|
2314 | ENDIF |
---|
2315 | IF (iom_use("MIGRAZD3")) THEN |
---|
2316 | med_diag%MIGRAZD3%dgsave = .TRUE. |
---|
2317 | ELSE |
---|
2318 | med_diag%MIGRAZD3%dgsave = .FALSE. |
---|
2319 | ENDIF |
---|
2320 | IF (iom_use("MEGRAZP3")) THEN |
---|
2321 | med_diag%MEGRAZP3%dgsave = .TRUE. |
---|
2322 | ELSE |
---|
2323 | med_diag%MEGRAZP3%dgsave = .FALSE. |
---|
2324 | ENDIF |
---|
2325 | IF (iom_use("MEGRAZD3")) THEN |
---|
2326 | med_diag%MEGRAZD3%dgsave = .TRUE. |
---|
2327 | ELSE |
---|
2328 | med_diag%MEGRAZD3%dgsave = .FALSE. |
---|
2329 | ENDIF |
---|
2330 | IF (iom_use("MEGRAZZ3")) THEN |
---|
2331 | med_diag%MEGRAZZ3%dgsave = .TRUE. |
---|
2332 | ELSE |
---|
2333 | med_diag%MEGRAZZ3%dgsave = .FALSE. |
---|
2334 | ENDIF |
---|
2335 | IF (iom_use("O2SAT3")) THEN |
---|
2336 | med_diag%O2SAT3%dgsave = .TRUE. |
---|
2337 | ELSE |
---|
2338 | med_diag%O2SAT3%dgsave = .FALSE. |
---|
2339 | ENDIF |
---|
2340 | IF (iom_use("PBSI3")) THEN |
---|
2341 | med_diag%PBSI3%dgsave = .TRUE. |
---|
2342 | ELSE |
---|
2343 | med_diag%PBSI3%dgsave = .FALSE. |
---|
2344 | ENDIF |
---|
2345 | IF (iom_use("PCAL3")) THEN |
---|
2346 | med_diag%PCAL3%dgsave = .TRUE. |
---|
2347 | ELSE |
---|
2348 | med_diag%PCAL3%dgsave = .FALSE. |
---|
2349 | ENDIF |
---|
2350 | IF (iom_use("REMOC3")) THEN |
---|
2351 | med_diag%REMOC3%dgsave = .TRUE. |
---|
2352 | ELSE |
---|
2353 | med_diag%REMOC3%dgsave = .FALSE. |
---|
2354 | ENDIF |
---|
2355 | IF (iom_use("PNLIMJ3")) THEN |
---|
2356 | med_diag%PNLIMJ3%dgsave = .TRUE. |
---|
2357 | ELSE |
---|
2358 | med_diag%PNLIMJ3%dgsave = .FALSE. |
---|
2359 | ENDIF |
---|
2360 | IF (iom_use("PNLIMN3")) THEN |
---|
2361 | med_diag%PNLIMN3%dgsave = .TRUE. |
---|
2362 | ELSE |
---|
2363 | med_diag%PNLIMN3%dgsave = .FALSE. |
---|
2364 | ENDIF |
---|
2365 | IF (iom_use("PNLIMFE3")) THEN |
---|
2366 | med_diag%PNLIMFE3%dgsave = .TRUE. |
---|
2367 | ELSE |
---|
2368 | med_diag%PNLIMFE3%dgsave = .FALSE. |
---|
2369 | ENDIF |
---|
2370 | IF (iom_use("PDLIMJ3")) THEN |
---|
2371 | med_diag%PDLIMJ3%dgsave = .TRUE. |
---|
2372 | ELSE |
---|
2373 | med_diag%PDLIMJ3%dgsave = .FALSE. |
---|
2374 | ENDIF |
---|
2375 | IF (iom_use("PDLIMN3")) THEN |
---|
2376 | med_diag%PDLIMN3%dgsave = .TRUE. |
---|
2377 | ELSE |
---|
2378 | med_diag%PDLIMN3%dgsave = .FALSE. |
---|
2379 | ENDIF |
---|
2380 | IF (iom_use("PDLIMFE3")) THEN |
---|
2381 | med_diag%PDLIMFE3%dgsave = .TRUE. |
---|
2382 | ELSE |
---|
2383 | med_diag%PDLIMFE3%dgsave = .FALSE. |
---|
2384 | ENDIF |
---|
2385 | IF (iom_use("PDLIMSI3")) THEN |
---|
2386 | med_diag%PDLIMSI3%dgsave = .TRUE. |
---|
2387 | ELSE |
---|
2388 | med_diag%PDLIMSI3%dgsave = .FALSE. |
---|
2389 | ENDIF |
---|
2390 | |
---|
2391 | END SUBROUTINE trc_nam_iom_medusa |
---|
2392 | |
---|
2393 | #else |
---|
2394 | !!---------------------------------------------------------------------- |
---|
2395 | !! Dummy module : No MEDUSA |
---|
2396 | !!---------------------------------------------------------------------- |
---|
2397 | CONTAINS |
---|
2398 | SUBROUTINE trc_nam_medusa ! Empty routine |
---|
2399 | END SUBROUTINE trc_nam_medusa |
---|
2400 | #endif |
---|
2401 | |
---|
2402 | !!====================================================================== |
---|
2403 | END MODULE trcnam_medusa |
---|