Skip to content
Snippets Groups Projects
Commit 08b38574 authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Implemented merging of pressure level and single level ERA5 datasets.

parent ee0a012c
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ class ERA5Dataset(EoDataset):
# drop projection variable, if present
predictors = [ds.drop_vars(PROJECTION) for ds in predictors if
PROJECTION in predictors]
PROJECTION in ds.data_vars]
# merge final predictor dataset
return xr.merge(predictors)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment