Skip to content

Commit

Permalink
Fix failure resistent loop
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici committed Mar 23, 2024
1 parent 3fdab27 commit 1091571
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xarray_ecmwf/engine_ecmwf.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def open_dataset( # type:ignore
var_def = var_request_chunker.get_coords_attrs_and_dtype(dataset_cacher)
except Exception:
LOGGER.exception(f"failed to define {var_name}")
continue
name, coords, attrs, var_attrs, dtype = var_def
# drop_variables: ... and on name
if drop_variables is not None and name in drop_variables:
Expand Down

0 comments on commit 1091571

Please sign in to comment.