Improve variable alias managament#595
Conversation
valeriupredoi
left a comment
There was a problem hiding this comment.
cheers muchly @jvegasbsc 🍺 in principle am OK with this and I trust there is no other viable way going around these types of variables; but as @bouweandela points out - another layer of complexity for the user to figure out and set? BTW I don't see the documentation entry for it?
|
if you resolve los conflictos then it's good from my side, amigo! cool stuff 🍺 |
bouweandela
left a comment
There was a problem hiding this comment.
It would be great if you could add documentation for the new feature
6c78dde to
6d582fa
Compare
|
Doc added, I also rebased it |
Co-authored-by: Bouwe Andela <b.andela@esciencecenter.nl>
|
I can run a recipe in the background. What changes are to be expected? |
|
Great! The following variables have changed names between cmip5 and cmip6: The expected outcome from this pull request is that it works if you use one of these variables with
|
schlunma
left a comment
There was a problem hiding this comment.
Tested successfully with this recipe:
documentation:
description: |
Recipe that demonstrates various uses of the preprocessor derive functionality.
authors:
- andela_bouwe
maintainer:
- righi_mattia
projects:
- c3s-magic
TEST: &alb_cmip5
mip: Amon
exp: historical
start_year: 2004
end_year: 2005
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1}
- {dataset: IPSL-CM6A-LR, project: CMIP6, ensemble: r1i1p1f1, grid: gr}
diagnostics:
cmip5:
description: Test variable derivation for CMIP5 models.
variables:
usi:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
vsi:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
siu:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
siv:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
sic:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
sit:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
siconc:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
sithick:
<<: *alb_cmip5
start_year: 1979
end_year: 1979
additional_datasets:
- {dataset: GFDL-CM3, project: CMIP5, ensemble: r1i1p1, mip: day}
- {dataset: MPI-ESM1-2-HR,project: CMIP6, ensemble: r1i1p1f1, grid: gn, mip: SImon}
tro3:
<<: *alb_cmip5
o3:
<<: *alb_cmip5
scripts: null
Porting the changes from ESMValGroup/ESMValTool#950 and fixing the issue with the data finder described in ESMValGroup/ESMValTool#1593 and ESMValGroup/ESMValTool#1605
Tasks
yamllintto check that your YAML files do not contain mistakesIf you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.
Closes ESMValGroup/ESMValTool#1605