-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello,
First off, Fastscape looks like a cool and very promising tool. Cheers for your effort and sharing.
I get the following error when running the basic model in the tutorial notebook (01_run_basic_model.ipynb).
I get the same error when I run:
- locally (git clone of fastscape-demo repo)
- on web (Binder)
Cheers
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[10], line 1
----> 1 out_ds = in_ds.xsimlab.run(model=basic_model)
3 out_ds
File [~\.local\share\mamba\envs\py312_LEM\Lib\site-packages\xsimlab\xr_accessor.py:809](http://localhost:8888/lab/tree/tutorial/~/.local/share/mamba/envs/py312_LEM/Lib/site-packages/xsimlab/xr_accessor.py#line=808), in SimlabAccessor.run(self, model, batch_dim, check_dims, validate, store, encoding, decoding, hooks, parallel, scheduler, safe_mode)
806 if safe_mode:
807 model = model.clone()
--> 809 driver = XarraySimulationDriver(
810 self._ds,
811 model,
812 batch_dim=batch_dim,
813 store=store,
814 encoding=encoding,
815 decoding=decoding,
816 check_dims=check_dims,
817 validate=validate,
818 hooks=hooks,
819 parallel=parallel,
820 scheduler=scheduler,
821 )
823 driver.run_model()
825 return driver.get_results()
File [~\.local\share\mamba\envs\py312_LEM\Lib\site-packages\xsimlab\drivers.py:433](http://localhost:8888/lab/tree/tutorial/~/.local/share/mamba/envs/py312_LEM/Lib/site-packages/xsimlab/drivers.py#line=432), in XarraySimulationDriver.__init__(self, dataset, model, batch_dim, store, encoding, decoding, check_dims, validate, hooks, parallel, scheduler)
430 else:
431 lock = None
--> 433 self.store = ZarrSimulationStore(
434 self.dataset,
435 model,
436 zobject=store,
437 encoding=encoding,
438 decoding=decoding,
439 batch_dim=batch_dim,
440 lock=lock,
441 )
File [~\.local\share\mamba\envs\py312_LEM\Lib\site-packages\xsimlab\stores.py:122](http://localhost:8888/lab/tree/tutorial/~/.local/share/mamba/envs/py312_LEM/Lib/site-packages/xsimlab/stores.py#line=121), in ZarrSimulationStore.__init__(self, dataset, model, zobject, encoding, decoding, batch_dim, lock)
120 self.zgroup = zobject
121 elif zobject is None:
--> 122 self.zgroup = zarr.group(store=zarr.MemoryStore())
123 self.in_memory = True
124 else:
AttributeError: module 'zarr' has no attribute 'MemoryStore'
Metadata
Metadata
Assignees
Labels
No labels