Commit e667ce07 authored by Ruth Lorenz's avatar Ruth Lorenz
Browse files

specify ICON-ESM-LR with full model name, otherwise SAM0UNICON is also found...

specify ICON-ESM-LR with full model name, otherwise SAM0UNICON is also found for if 'ICON' ..., updated configs/variable_list_tas.py for testing
parent e898298d
......@@ -15,6 +15,13 @@ ln -s >variable_list_user.py< variable_list.py
It is save to import * from this file.
"""
# -- fixed variables --
FX_RUN_TYPES = [
]
FX_VARNS = [
]
# -- atmospheric variables --
AMON_RUN_TYPES = [
'historical',
......@@ -53,9 +60,28 @@ SIMON_RUN_TYPES = [
SIMON_VARNS = [
]
# -- land variables --
LMON_RUN_TYPES = [
]
LMON_VARNS = [
]
EMON_RUN_TYPES = [
]
EMON_VARNS = [
]
# daily variables
DAILY_RUN_TYPES = [
DAY_RUN_TYPES = [
]
DAY_VARNS = [
]
AERDAY_RUN_TYPES = [
]
DAILY_VARNS = [
AERDAY_VARNS = [
]
......@@ -122,7 +122,7 @@ def regrid_cdo(filename, target_grid, overwrite=False, method='bil', cdo_version
logger.info(f'Process target file:\n {save_filename}')
try:
if 'ICON' in filename:
if 'ICON-ESM-LR' in filename:
_regrid_ICON_cdo(filename, save_filename, target_grid, method)
else:
_regrid_cdo(filename, save_filename, target_grid, method)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment