Skip to content

Commit

Permalink
Update OceanSODA-ETHZ CMORizer with new source file (#3535)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasTorsvik authored Feb 15, 2024
1 parent 1d5382a commit df7d260
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
18 changes: 8 additions & 10 deletions esmvaltool/cmorizers/data/cmor_config/OceanSODA-ETHZ.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
# Common global attributes for Cmorizer output
# Note that the filename says version 'v2021a', but the file attribute and the
# documentation says 'v2021e'. Therefore, we use 'v2021e' here.
attributes:
dataset_id: OceanSODA-ETHZ
version: v2021e
version: v2023
tier: 2
modeling_realm: reanaly
project_id: OBS6
Expand All @@ -14,35 +12,35 @@ attributes:
# Variables to cmorize
variables:
areacello:
filename: OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
filename: OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
mip: Ofx
raw_name: area
co3os:
filename: OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
filename: OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
mip: Omon
raw_name: co3
raw_units: '1e-6 mol kg-1'
comment: 'The original units of this variable are mumol/kg. To convert to the CMOR units mol/m3, we assume a constant sea water density of 1028 kg/m3, which is approximately the sea water density for T=4°C, salinity=35PSU, and p=0bar according to the UNESCO formula (UNESCO, 1981, Tenth report of the joint panel on oceanographic tables and standards, UNESCO Technical Papers in Marine Science, see https://www.wkcgroup.com/tools-room/seawater-density-calculator/ and https://link.springer.com/content/pdf/bbm:978-3-319-18908-6/1.pdf).'
dissicos:
filename: OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
filename: OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
mip: Omon
raw_name: dic
raw_units: '1e-6 mol kg-1'
comment: 'The original units of this variable are mumol/kg. To convert to the CMOR units mol/m3, we assume a constant sea water density of 1028 kg/m3, which is approximately the sea water density for T=4°C, salinity=35PSU, and p=0bar according to the UNESCO formula (UNESCO, 1981, Tenth report of the joint panel on oceanographic tables and standards, UNESCO Technical Papers in Marine Science, see https://www.wkcgroup.com/tools-room/seawater-density-calculator/ and https://link.springer.com/content/pdf/bbm:978-3-319-18908-6/1.pdf).'
fgco2:
filename: OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
filename: OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
mip: Omon
phos:
filename: OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
filename: OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
mip: Omon
raw_name: ph_total
raw_units: '1'
spco2:
filename: OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
filename: OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
mip: Omon
raw_units: '1e-6 atm'
talkos:
filename: OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
filename: OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
mip: Omon
raw_name: talk
raw_units: '1e-6 mol kg-1'
Expand Down
4 changes: 2 additions & 2 deletions esmvaltool/cmorizers/data/datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1073,9 +1073,9 @@ datasets:
OceanSODA-ETHZ:
tier: 2
source: https://www.ncei.noaa.gov/data/oceans/ncei/ocads/data/0220059/
last_access: 2022-11-03
last_access: 2024-02-15
info: |
Download the file OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
Download the file OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
OSI-450-nh:
tier: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def download_dataset(config, dataset, dataset_info, start_date, end_date,

downloader.download_file(
"https://www.ncei.noaa.gov/data/oceans/ncei/ocads/data/0220059/"
"OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc",
"OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc",
wget_options=[],
)
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
https://www.ncei.noaa.gov/data/oceans/ncei/ocads/data/0220059/
Last access
20221103
20240215
Download and processing instructions
Download the file OceanSODA-ETHZ_GRaCER_v2021a_1982-2020.nc
Download the file OceanSODA_ETHZ-v2023.OCADS.01_1982-2022.nc
"""

Expand Down
2 changes: 1 addition & 1 deletion esmvaltool/recipes/examples/recipe_check_obs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ diagnostics:
mip: Omon
additional_datasets:
- {dataset: OceanSODA-ETHZ, project: OBS6, tier: 2, type: reanaly,
version: v2021e, start_year: 1982, end_year: 2020}
version: v2023, start_year: 1982, end_year: 2022}
scripts: null


Expand Down

0 comments on commit df7d260

Please sign in to comment.