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

Load data in parallel using dask.

parent ace58406
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ if __name__ == '__main__':
['{}'.format(file) for file in group]))
# read multiple netcdf files using xarray and dask
ds = xr.open_mfdataset(group).load()
ds = xr.open_mfdataset(group, parallel=True).compute()
# save aggregated netcdf file
LOGGER.info('Saving aggregated NetCDF: {}'.format(filename))
......
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