Skip to content

Commit

Permalink
Adapted variable for CT2019 CMORizer
Browse files Browse the repository at this point in the history
  • Loading branch information
schlunma committed Mar 31, 2020
1 parent 2b58a78 commit 07775af
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/sphinx/source/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ A list of the datasets for which a cmorizers is available is provided in the fol
+------------------------------+------------------------------------------------------------------------------------------------------+------+-----------------+
| CRU | tas, pr (Amon) | 2 | Python |
+------------------------------+------------------------------------------------------------------------------------------------------+------+-----------------+
| CT2019 | co2 (Amon) | 2 | Python |
| CT2019 | co2s (Amon) | 2 | Python |
+------------------------------+------------------------------------------------------------------------------------------------------+------+-----------------+
| Duveiller2018 | albDiffiTr13 | 2 | Python |
+------------------------------+------------------------------------------------------------------------------------------------------+------+-----------------+
Expand Down
2 changes: 1 addition & 1 deletion esmvaltool/cmorizers/obs/cmor_config/CT2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ attributes:

# Variables to cmorize
variables:
co2_surface:
co2s:
mip: Amon
add_aux_coords:
air_pressure: [0, 1, 2, 3]
Expand Down
4 changes: 2 additions & 2 deletions esmvaltool/cmorizers/obs/cmorize_obs_ct2019.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
``$RAWOBSPATH`` is given by your user configuration file) where the raw
data will be stored. The download of the data is automatically handled by
this script. If data is already present in this directory, the download is
skipped (to force download delete old files, first).
skipped (to force a new download delete your old files).
"""

Expand Down Expand Up @@ -157,7 +157,7 @@ def _extract_variable(short_name, var, cfg, input_files, out_dir):
_add_aux_coords(cube, input_files, var.get('add_aux_coords', {}))

# Variable specific operations
if short_name == 'co2_surface':
if short_name == 'co2s':
cube = cube[:, 0, :, :]
cube.remove_coord('level')

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 @@ -92,7 +92,7 @@ diagnostics:
CT2019:
description: CT2019 check
variables:
co2_surface:
co2s:
mip: Amon
additional_datasets:
- {dataset: CT2019, project: OBS6, tier: 2, type: reanaly, version: '2019', start_year: 2000, end_year: 2018}
Expand Down

0 comments on commit 07775af

Please sign in to comment.