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

Consistent chunk size.

parent b862455d
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ if __name__ == '__main__':
dem = dem.drop_vars(['slope', 'aspect'])
# add dem to set of predictor variables
Era5_ds = xr.merge([Era5_ds, dem])
Era5_ds = xr.merge([Era5_ds, dem]).chunk(Era5_ds.chunks)
# load pretrained model
if state_file.exists():
......
......@@ -101,7 +101,7 @@ if __name__ == '__main__':
# check whether to use slope and aspect
if not DEM_FEATURES:
dem = dem.drop_vars(['slope', 'aspect'])
dem = dem.drop_vars(['slope', 'aspect']).chunk(Era5_ds.chunks)
# add dem to set of predictor variables
Era5_ds = xr.merge([Era5_ds, dem])
......
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