Skip to content
Snippets Groups Projects
Commit 9093b9f5 authored by leufen1's avatar leufen1
Browse files

adjust logging info in era5

parent f594e677
Branches
Tags
7 merge requests!468first implementation of toar-data-v2, can load data (but cannot process these...,!467Resolve "release v2.2.0",!455update for reqs,!448Resolve "update HPC environment",!446first implementation of toar-data-v2, can load data (but cannot process these...,!445Draft: Resolve "update HPC environment",!437Resolve "era5 data"
Pipeline #105317 passed
...@@ -42,7 +42,7 @@ def load_era5(station_name, stat_var, sampling, data_origin): ...@@ -42,7 +42,7 @@ def load_era5(station_name, stat_var, sampling, data_origin):
station_dask = data.sel(lon=lon, lat=lat, method="nearest", drop=True) station_dask = data.sel(lon=lon, lat=lat, method="nearest", drop=True)
station_data = station_dask.to_array().T.compute() station_data = station_dask.to_array().T.compute()
except OSError as e: except OSError as e:
logging.info(f"Cannot load era5 data due to: {e}") logging.info(f"Cannot load era5 data from path {data_path} and filenames {file_names} due to: {e}")
return None, None return None, None
# transform data and meta to pandas # transform data and meta to pandas
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment