You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the varkey_list loop currently does not have an else/except, so if one would supply varlist_list = [['msl','u10n','v10n','chnk','d2m','t2m','ssr','strd','mer','mtpr']], it will silently do nothing
veenstrajelmer
changed the title
add else for varkey_list loop in dfmt.preprocess_merge_meteofiles_era5()
add except for varkey_list loop in dfmt.preprocess_merge_meteofiles_era5()Jun 6, 2024
the varkey_list loop currently does not have an else/except, so if one would supply
varlist_list = [['msl','u10n','v10n','chnk','d2m','t2m','ssr','strd','mer','mtpr']]
, it will silently do nothingdfm_tools/dfm_tools/modelbuilder.py
Line 167 in 03cabed
Also when passing separate quantities it will fail in this case. At least add an exception.
Better approach would be to create a dictionary of abbreviations/quantities and remove the if-loop: #887
The text was updated successfully, but these errors were encountered: