Skip to content
Snippets Groups Projects
Commit 4b29f852 authored by he7273's avatar he7273
Browse files

added more workers

parent 7cd11fa8
No related branches found
No related tags found
No related merge requests found
......@@ -234,7 +234,7 @@ class IdentificationStrategy(ABC):
mb = xr.map_blocks(self.identify_block, ds_rechunked, args=[index_field], kwargs=dict_split_arrays,
template=ds_rechunked)
print("Start")
ds_mapped = mb.compute(num_workers=1) # num_workers=4
ds_mapped = mb.compute() # num_workers=4
# postprocess
ds_mapped, self.pb_dataset = self.postprocess(ds_mapped, self.pb_dataset)
......
......@@ -23,7 +23,7 @@ conda config --set channel_priority strict
# Also need to downgrade numpy
conda install -c conda-forge cartopy
pip install wheel numpy==1.20.0
pip install wheel numpy==1.21.6
# Integrate git and the public enstools repo
pip install -e git+https://github.com/wavestoweather/enstools.git@main#egg=enstools
......
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