Skip to content

Commit

Permalink
Shortened variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
efmkoene authored Feb 5, 2024
1 parent 2140049 commit 0325f66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cases/icon-art-oem-test/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ chem:
nameformat: '%Y%m%d_%H'
suffix: .grb
inc: 3
chem_in_to_chem_out_remap_tracers:
remap_tracers:
CH4_BG: TRCH4_chemtr

icontools_runjobs:
Expand Down
4 changes: 2 additions & 2 deletions jobs/prepare_art_oem.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ def main(cfg):
ds_chem['PS'].attrs = ds_chem['LNPS'].attrs
ds_chem['PS'].attrs["long_name"] = 'surface pressure'
# Remapping chemical tracer names
if "chem_in_to_chem_out_remap_tracers" in cfg.chem:
if "remap_tracers" in cfg.chem:
for chem_in, chem_out in cfg.chem[
'chem_in_to_chem_out_remap_tracers'].items():
'remap_tracers'].items():
ds_chem[chem_out] = ds_chem[chem_in]
# merge:
ds_merged = xr.merge([ds_meteo, ds_chem], compat="override")
Expand Down

0 comments on commit 0325f66

Please sign in to comment.