-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfennel_def.h
More file actions
executable file
·382 lines (337 loc) · 16.8 KB
/
fennel_def.h
File metadata and controls
executable file
·382 lines (337 loc) · 16.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
/*
** svn $Id: fennel_def.h 795 2016-05-11 01:42:43Z arango $
*************************************************** Hernan G. Arango ***
** Copyright (c) 2002-2016 The ROMS/TOMS Group **
** Licensed under a MIT/X style license **
** See License_ROMS.txt **
************************************************************************
** **
** Defines Fennel et al. (2006) ecosystem model input parameters in **
** output NetCDF files. It is included in routine "def_info.F". **
** **
************************************************************************
*/
!
! Define Fennel et al. (2006) ecosystem model parameters.
!
Vinfo( 1)='BioIter'
Vinfo( 2)='number of iterations to achieve convergence'
status=def_var(ng, model, ncid, varid, nf90_int, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='AttSW'
Vinfo( 2)='light attenuation by seawater'
Vinfo( 3)='meter-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='AttChl'
Vinfo( 2)='light attenuation by chlorophyll'
Vinfo( 3)='meter-2 milligram_Chl-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='PARfrac'
Vinfo( 2)='photosynthetically available radiation fraction'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='Vp0'
Vinfo( 2)='Eppley temperature-limited growth parameter'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='I_thNH4'
Vinfo( 2)='radiation threshold for nitrification'
Vinfo( 3)='watt meter-2'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='D_p5NH4'
Vinfo( 2)='half-saturation radiation for nitrification'
Vinfo( 3)='watt meter-2'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='NitriR'
Vinfo( 2)='nitrification rate'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='K_NO3'
Vinfo( 2)='inverse half-saturation for phytoplankton NO3 uptake'
Vinfo( 3)='meter3 millimole_N-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='K_NH4'
Vinfo( 2)='inverse half-saturation for phytoplankton NH4 uptake'
Vinfo( 3)='meter3 millimole_N-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='K_Phy'
Vinfo( 2)='zooplankton half-saturation constant for ingestion'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='Chl2C_m'
Vinfo( 2)='maximum chlorophyll to carbon ratio'
Vinfo( 3)='milligram_chl milligram_carbon-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ChlMin'
Vinfo( 2)='minimum chlorophyll threshold'
Vinfo( 3)='milligram_chl meter-3'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='PhyCN'
Vinfo( 2)='phytoplankton Carbon:Nitrogen ratio'
Vinfo( 3)='mole_C mole_N-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='PhyIP'
Vinfo( 2)='phytoplankton, NH4 inhibition parameter'
Vinfo( 3)='millimole_N-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='PhyIS'
Vinfo( 2)='phytoplankton, initial slope of P-I curve'
Vinfo( 3)='milligram_C milligram_Chl-1 watt-1 meter2 day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='PhyMin'
Vinfo( 2)='minimum phytoplankton threshold'
Vinfo( 3)='millimole_N meter-3'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='PhyMR'
Vinfo( 2)='phytoplankton mortality rate'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ZooAE_N'
Vinfo( 2)='zooplankton mitrogen assimilation efficiency'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ZooBM'
Vinfo( 2)='rate for zooplankton basal metabolism'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ZooCN'
Vinfo( 2)='zooplankton Carbon:Nitrogen ratio'
Vinfo( 3)='mole_C mole_N-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ZooER'
Vinfo( 2)='zooplankton specific excretion rate'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ZooGR'
Vinfo( 2)='zooplankton maximum growth rate'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ZooMin'
Vinfo( 2)='minimum zooplankton threshold'
Vinfo( 3)='millimole_N meter-3'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ZooMR'
Vinfo( 2)='zooplankton mortality rate'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='LDeRRN'
Vinfo( 2)='rate of large detritus nitrogen re-mineralization'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='LDeNSR'
Vinfo( 2)='Large detritus solubilization rate of N at 0C [1/day]'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='LDeRRC'
Vinfo( 2)='rate of large detritus carbon re-mineralization'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='CoagR'
Vinfo( 2)='coagulation rate'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='SDeRRN'
Vinfo( 2)='remineralization rate for small detritus nitrogen'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='SDeNSR'
Vinfo( 2)='Small detritus solubilization rate of N at 0C [1/day]'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='SDeRRC'
Vinfo( 2)='remineralization rate for small detritus carbon'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='wPhy'
Vinfo( 2)='vertical sinking velocity for phytoplankton'
Vinfo( 3)='meter day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='wLDet'
Vinfo( 2)='vertical sinking velocity for large detritus'
Vinfo( 3)='meter day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='wSDet'
Vinfo( 2)='vertical sinking velocity for small detritus'
Vinfo( 3)='meter day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='pCO2air'
Vinfo( 2)='partial pressure of CO2 in the air'
Vinfo( 3)='parts per million by volume'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='ElDON'
Vinfo( 2)='phytoplankton exudation rate of labile DON'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='EsDON'
Vinfo( 2)='phytoplankton exudation rate of semilabile DON'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='deltN'
Vinfo( 2)='ratio of semilabile DON to total DON in cell'
Vinfo( 3)=''
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='a0N'
Vinfo( 2)='Remineralization rate of DON at 0 deg.C [1/day]'
Vinfo( 3)='day-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='O2palFrac'
Vinfo( 2)='Fraction of O2 PAL'
Vinfo( 3)='nondimensional'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (exit_flag.ne.NoError) RETURN
Vinfo( 1)='rkd1'
Vinfo( 2)='light attenuation by low salinity seawater in Chespeake Bay'
Vinfo( 3)='meter-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='rkdChl1'
Vinfo( 2)='light attenuation by chlorophyll at low salinity seawater in Chespeake Bay'
Vinfo( 3)='meter^2 milligram_Chl-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='rkdTSS1'
Vinfo( 2)='light attenuation by TSS at low salinity seawater in Chespeake Bay'
Vinfo( 3)='meter^2 g-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN
Vinfo( 1)='rkdS1'
Vinfo( 2)='light attenuation by CDOM (use salinity instead) at low salinity seawater in Chespeake Bay'
Vinfo( 3)='meter-1 PSU-1'
status=def_var(ng, model, ncid, varid, NF_TYPE, &
& 1, (/0/), Aval, Vinfo, ncname, &
& SetParAccess = .FALSE.)
IF (FoundError(exit_flag, NoError, __LINE__, &
& __FILE__)) RETURN