-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathrecipe_ocean_bgc.yml
562 lines (509 loc) · 19.6 KB
/
recipe_ocean_bgc.yml
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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
# ESMValTool
# recipe_ocean_bcg.yml
---
documentation:
description: |
Recipe to evaluate the marine biogeochemistry models of CMIP5.
There are also some physical evaluation metrics here too.
This work based on the BGC-val toolkit GMD-2018-103.
DOI: https://doi.org/10.5194/gmd-11-4215-2018
Written by Lee de Mora, Plymouth Marine Laboratory, [email protected]
authors:
- demora_lee
maintainer:
- demora_lee
references:
- demora2018gmd
projects:
- ukesm
datasets:
- {dataset: HadGEM2-ES, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# working datasets
# - {dataset: CanESM2, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: CanCM4, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: CSIRO-Mk3-6-0, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: GISS-E2-H, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: HadGEM2-AO, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: HadGEM2-CC, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: HadCM3, project: CMIP5, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
###
# Problem with times
# - {dataset: MIROC-ESM, project: CMIP5, mip: Oyr, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: MIROC-ESM-CHEM, project: CMIP5, mip: Oyr, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# Unstructured grids
# - {dataset: MPI-ESM-LR, project: CMIP5, mip: Oyr, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2003}
# - {dataset: MPI-ESM-MR, project: CMIP5, mip: Oyr, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: ACCESS1-0, project: CMIP5, mip: Oyr, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# - {dataset: ACCESS1-3, project: CMIP5, mip: Oyr, exp: historical, ensemble: r1i1p1, start_year: 2001, end_year: 2004}
# --------------------------------------------------
# Preprocessors
# --------------------------------------------------
preprocessors:
# Global 3D Volume-weighted Average
prep_timeseries_global_volume_average:
custom_order: true
volume_statistics:
operator: mean
multi_model_statistics:
span: overlap
statistics: [mean ]
# Global area-weighted Average from 2D field
prep_global_Surface_average_timeseries_2D:
custom_order: true
area_statistics:
operator: mean
multi_model_statistics:
span: overlap
statistics: [mean ]
# Global area -weighted surface Average from 3D field
prep_global_Surface_average_timeseries_3D:
custom_order: true
extract_levels:
levels: [0., ]
scheme: linear_horizontal_extrapolate_vertical
area_statistics:
operator: mean
multi_model_statistics:
span: overlap
statistics: [mean ]
prep_timeseries_scalar: # Load file as is.
custom_order: true
# For a 2D global surface map
prep_surface_map_2D:
climate_statistics:
operator: mean
# For a 3D global surface map
prep_surface_map_3D:
extract_levels:
levels: [0., ]
scheme: linear_horizontal_extrapolate_vertical
climate_statistics:
operator: mean
prep_surface_map_regrid_3D:
custom_order: true
extract_levels:
levels: [0., ]
scheme: linear_horizontal_extrapolate_vertical
climate_statistics:
operator: mean
regrid:
target_grid: 1x1
scheme: linear
prep_global_profile:
annual_statistics:
operator: mean
area_statistics:
operator: mean
prep_global_profile_decadal:
decadal_statistics:
operator: mean
area_statistics:
operator: mean
prep_transect_AMT: # Atlantic Meridional Transect (28W)
custom_order: true
climate_statistics:
operator: mean
extract_region:
start_longitude: 320.
end_longitude: 345.
start_latitude: -81.
end_latitude: 89.9
regrid:
target_grid: 1x1
scheme: linear
extract_transect:
longitude: 332.
# # 2D map global depth integration
# prep_depth_integration:
# depth_integration:
# # new_units: kg m-2 # need to specify in advance, as cf_units has strange behaviour.
# climate_statistics:
# operator: mean
#
# # 2D map global depth integration time series maps
# prep_depth_integration_timeseries:
# custom_order: true
# depth_integration:
# area_statistics:
# operator: mean
# --------------------------------------------------
# Diagnostics
# --------------------------------------------------
diagnostics:
# Need to add:
# Global Air sea flux of CO2
# Added:
# Global volume average Temperature time series
# Global volumne average salinity time series
# Drake passge/AMOC (if exists as scalar field)
# Global net integrated primary production timeseries
# Global surface mean chlorophyll timeseries
# Global surface mean nutrients timeseries
# Global surface mean chlorophyll map
# Global surface mean nutrients map
# Global net integrated primary production map
# --------------------------------------------------
# Volume average time series vs WOA
# --------------------------------------------------
diag_timeseries_volume_average_vs_WOA:
description: Global volume average time series (WOA observations)
variables:
thetao: # Temperature 3D
preprocessor: prep_timeseries_global_volume_average
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
so: # Salinity 3D
preprocessor: prep_timeseries_global_volume_average
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
no3: # nitrate
preprocessor: prep_timeseries_global_volume_average
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
o2: # oxygen
preprocessor: prep_timeseries_global_volume_average
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
si: # Silicate
preprocessor: prep_timeseries_global_volume_average
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
volcello:
mip: fx
# po4: # phosphate # No HadGEM2-ES phosphate.
# preprocessor: prep_timeseries_global_volume_average
# mip: Oyr
# additional_datasets:
# - {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
scripts:
Global_Volume_Average_timeseries:
script: ocean/diagnostic_timeseries.py
# --------------------------------------------------
# Volume average time series - no data
# --------------------------------------------------
diag_timeseries_volume_average_no_obs:
description: Global volume average time series (No observations)
variables:
# This can't run on jasmin until issue #773 is resolved.
# gtfgco2: # Global Total flux co2
# preprocessor: prep_timeseries_scalar
# mip: Omon
# derive: true
# force_derivation: false
chl: # chlorophyll
preprocessor: prep_timeseries_global_volume_average
mip: Oyr
dfe: # iron
preprocessor: prep_timeseries_global_volume_average
mip: Oyr
talk: # alkalinity
preprocessor: prep_timeseries_global_volume_average
mip: Oyr
volcello:
mip: fx
# dic: # Dissolved inorganic carbon
# preprocessor: prep_timeseries_global_volume_average
# mip: Oyr
scripts:
Global_Volume_verage_timeseries:
script: ocean/diagnostic_timeseries.py
# --------------------------------------------------
# Surface and 2D fields time series
# --------------------------------------------------
diag_timeseries_surface_average_no_obs:
description: Global volume average time series - no data
variables:
talk: # alkalinity
preprocessor: prep_global_Surface_average_timeseries_3D
mip: Oyr
intpp:
preprocessor: prep_global_Surface_average_timeseries_2D
mip: Omon
chl:
preprocessor: prep_global_Surface_average_timeseries_3D
mip: Oyr
thresholds: [0.1, 0.2, 0.5]
areacello:
mip: fx
# dfe: # iron
# preprocessor: prep_global_Surface_average_timeseries_3D
# mip: Oyr
# dic: # Dissolved inorganic carbon
# preprocessor: prep_global_Surface_average_timeseries_3D
# mip: Oyr
scripts:
Global_Volume_Average_timeseries:
script: ocean/diagnostic_timeseries.py
# --------------------------------------------------
# Surface time series vs WOA
# --------------------------------------------------
diag_timeseries_surface_average_vs_WOA:
description: Global surface time series (WOA observations)
variables:
thetao: # Temperature ocean surface
preprocessor: prep_global_Surface_average_timeseries_3D
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
so: # Salinity ocean surface
preprocessor: prep_global_Surface_average_timeseries_3D
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
no3: # Nitrate ocean surface
preprocessor: prep_global_Surface_average_timeseries_3D
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
o2: # oxygen
preprocessor: prep_global_Surface_average_timeseries_3D
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
si: # Silicate
preprocessor: prep_global_Surface_average_timeseries_3D
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
areacello:
mip: fx
# po4: # Phosphate
# preprocessor: prep_global_Surface_average_timeseries_3D
# mip: Oyr
# additional_datasets:
# - {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
scripts:
Global_Volume_Average_timeseries:
script: ocean/diagnostic_timeseries.py
observational_dataset: {dataset: WOA, project: OBS}
# --------------------------------------------------
# Scalar time series
# --------------------------------------------------
diag_timeseries_scalars:
description: Scalar time series
variables:
mfo: # Marine currents flux
preprocessor: prep_timeseries_scalar
mip: Omon
scripts:
Scalar_timeseries:
script: ocean/diagnostic_timeseries.py
# --------------------------------------------------
# Profile diagnostics - vs WOA
# --------------------------------------------------
diag_profile_vs_WOA:
description: Global profile (WOA observations)
variables:
thetao: # Temperature ocean surface
preprocessor: prep_global_profile
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
so: # Salinity ocean surface
preprocessor: prep_global_profile
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
no3: # Nitrate ocean surface
preprocessor: prep_global_profile
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
o2: # oxygen
preprocessor: prep_global_profile
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
si: # Silicate
preprocessor: prep_global_profile
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
volcello:
mip: fx
# po4: # Phosphate
# preprocessor: prep_global_profile
# mip: Oyr
# additional_datasets:
# - {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
scripts:
Global_profile_vs_WOA:
script: ocean/diagnostic_profiles.py
observational_dataset: {dataset: WOA, project: OBS}
# --------------------------------------------------
# Profile diagnostics - no data
# --------------------------------------------------
diag_profile_no_obs:
description: Global profile (No observations)
variables:
chl: # chlorophyll
preprocessor: prep_global_profile
mip: Oyr
dfe: # iron
preprocessor: prep_global_profile
mip: Oyr
talk: # alkalinity
preprocessor: prep_global_profile
mip: Oyr
volcello:
mip: fx
# dic: # Dissolved inorganic carbon
# preprocessor: prep_global_profile
# mip: Oyr
scripts:
Global_profile_no_obs:
script: ocean/diagnostic_profiles.py
# --------------------------------------------------
# Map diagnostics - vs WOA
# --------------------------------------------------
diag_surface_maps_vs_WOA:
description: Global Ocean Surface maps vs WOA
variables:
thetao:
preprocessor: prep_surface_map_regrid_3D
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
so:
preprocessor: prep_surface_map_regrid_3D
mip: Omon
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
no3:
preprocessor: prep_surface_map_regrid_3D
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
si: # Silicate
preprocessor: prep_surface_map_regrid_3D
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
o2: # Oxygen
preprocessor: prep_surface_map_regrid_3D
mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
areacello:
mip: fx
# po4:
# preprocessor: prep_surface_map_3D
# mip: Oyr
# additional_datasets:
# - {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
scripts:
Global_Ocean_surface_map:
script: ocean/diagnostic_maps.py
Global_Ocean_model_vs_obs:
script: ocean/diagnostic_model_vs_obs.py
observational_dataset: {dataset: WOA, project: OBS}
# --------------------------------------------------
# Map diagnostics - no data
# --------------------------------------------------
diag_surface_maps_no_data:
description: Global Ocean Surface maps - no data
variables:
intpp:
preprocessor: prep_surface_map_2D
mip: Omon
fgco2:
preprocessor: prep_surface_map_2D
mip: Omon
chl:
preprocessor: prep_surface_map_3D
mip: Oyr
# thresholds: [0.1, 0.2, 0.5]
dfe:
preprocessor: prep_surface_map_3D
mip: Oyr
areacello:
mip: fx
# dic:
# preprocessor: prep_surface_map_3D
# mip: Oyr
scripts:
Global_Ocean_surface_map:
script: ocean/diagnostic_maps.py
# --------------------------------------------------
# Transects diagnostics - vs WOA
# --------------------------------------------------
diag_transect_vs_WOA:
description: Transect maps vs WOA
variables:
thetao:
preprocessor: prep_transect_AMT
mip: Omon
thresholds: [0., 5., 10., 15., 20., 25., 30.]
so:
preprocessor: prep_transect_AMT
mip: Omon
no3:
preprocessor: prep_transect_AMT
mip: Oyr
thresholds: [10., 20., 30.]
si: # Silicate
preprocessor: prep_transect_AMT
mip: Oyr
o2: # Oxygen
preprocessor: prep_transect_AMT
mip: Oyr
thresholds: [0.03, ]
# po4:
# preprocessor: prep_transect_AMT
# mip: Oyr
additional_datasets:
- {dataset: WOA, project: OBS, type: clim, version: 2013v2, start_year: 2000, end_year: 2000, tier: 2}
scripts:
Transects_vs_WOA:
script: ocean/diagnostic_transects.py
# observational_dataset: {dataset: WOA, project: OBS}
# # --------------------------------------------------
# # Map diagnostics - no data
# # --------------------------------------------------
diag_transect_no_data:
description: Transects - no data
variables:
chl:
preprocessor: prep_transect_AMT
mip: Oyr
dfe:
preprocessor: prep_transect_AMT
mip: Oyr
# dic:
# preprocessor: prep_transect_AMT
# mip: Oyr
scripts:
Transects_no_data:
script: ocean/diagnostic_transects.py
# # # Depth integrated maps
# # diag_depth_int_maps:
# # description: Global Ocean Depth Integrated maps
# # variables:
# # chl:
# # preprocessor: prep_depth_integration
# # mip: Oyr
# # # intpp:
# # # preprocessor: prep_depth_integration
# # # mip: Oyr
# # scripts:
# # Global_Ocean_DepthIntegration_map:
# # script: ocean/diagnostic_maps.py
#
# diag_depth_int_timeseries:
# description: Global Ocean Depth Integrated time series
# variables:
# chl:
# preprocessor: prep_depth_integration_timeseries
# mip: Oyr
# # intpp:
# # preprocessor: prep_depth_integration_timeseries
# # mip: Oyr
# scripts:
# Global_Ocean_DepthIntegration_timeseries:
# script: ocean/diagnostic_timeseries.py
# flags: area_total