From 10915714757729998e28d53f522154fb47c6f1cf Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Sat, 23 Mar 2024 17:07:50 +0100 Subject: [PATCH] Fix failure resistent loop --- xarray_ecmwf/engine_ecmwf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xarray_ecmwf/engine_ecmwf.py b/xarray_ecmwf/engine_ecmwf.py index ffada0e..b4a8b24 100644 --- a/xarray_ecmwf/engine_ecmwf.py +++ b/xarray_ecmwf/engine_ecmwf.py @@ -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: