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

Fixed wrong keyword argument.

parent ac083770
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ if __name__ == '__main__':
dem = search_files(DEM_PATH, '^eu_dem_v11_stt.nc$').pop()
# read elevation and compute slope and aspect
dem = ERA5Dataset.dem_features(dem, add_coords={'time': Era5_ds.time})
dem = ERA5Dataset.dem_features(dem, {'time': Era5_ds.time})
# check wether to use slope and aspect
if not DEM_FEATURES:
......
......@@ -86,8 +86,7 @@ if __name__ == '__main__':
dem = search_files(DEM_PATH, '^eu_dem_v11_stt.nc$').pop()
# read elevation and compute slope and aspect
dem = ERA5Dataset.dem_features(
dem, add_coords={'time': Era5_ds.time})
dem = ERA5Dataset.dem_features(dem, {'time': Era5_ds.time})
# check wether to use slope and aspect
if not DEM_FEATURES:
......
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