In the examples, when importing xshade, the above error is raised.
Datashader version: 0.12.0
In the Datashader documentation, it is smentioned that hillshade is provided in the xarrar-spatial package.
according to this notebook, the shade function can be used in stead: from datashader.transfer_functions import shade and then use that.
If I missed something that caused the error, please let me know!
I have met errors when plotting the output in those examples (e.g., fan, marine, dipping dyke, etc.). The model runs well, however, it shows "KeyError:'x' when we try to plot using hvplot. I have checked some possible causes, and have found that there are no output of x, y coordinates of the hillshade plot. Could it be the main cause? How to fix it? We have reinstall the same version of those plug-in components like those in the binder.
When I ran the examples in the tutorial, the model ran well without a hitch. But two error messages popped out when I try to do the plotting: ModuleNotFoundError: No module named 'hvplot' & ModuleNotFoundError: No module named 'xshade'. I was able to pip install hvplot, but I don't know how to install xshade.
I installed the fastscape using conda install fastscape -c conda-forge , it should have installed all the dependencies.
In the tutorial notebook titled "01_run_basic_model.ipynb"
whenever I run the cell that Runs the model
out_ds = in_ds.xsimlab.run(model=basic_model)
The jupyter lab kernel dies and I get the following error.
The kernel for tutorial/01_run_basic_model.ipynb appears to have died. It will restart automatically.
Have you any ideas of what might be causing this?
(I suspect you are going to say get the kernel logs and examine them.)
This seems odd, as the model setup and visualization cells work perfectly.
I am running locally on a conda installation having followed the fastscape-demo env instructions.
@benbovy, I have difficulties accessing the process DrainageArea. Is it because I am using an outdated version of fastscape (I am at 0.1.0.alpha). See screenshot attached...