Tutorial: getting started with conda#116
Conversation
| # Set GRASS database | ||
| gisdbase = Path.home() / "grassdata" |
There was a problem hiding this comment.
Let's omit using gisdbase and grassdata... We are trying to put projects in the spotlight and avoid the traditional directory structure. We can have projects anywhere, so perhaps just download the zip in the current directory, no need to create a grassdata for a zip file.
There was a problem hiding this comment.
@veroandreo Okay. gs.setup.init and gj.init require a project path though. So I think I need to include a path in the call: session = gj.init(Path.cwd() / "natural_earth_dataset"). Is there a better way?
Alternatively, we could create a temporary directory and project like in many of the other tutorials. Perhaps just using the current directory, however, is a little simpler and an example of a different way to work.
| For {{< fa brands microsoft >}} Windows, | ||
| download and run the binary installer. | ||
| See [here](https://github.com/conda-forge/miniforge#install) | ||
| for more detailed instructions. |
There was a problem hiding this comment.
Shall we wait to merge this tutorial until the conda package for Windows is ready? Or maybe we say something like "Conda package for Windows is coming soon!"?
There was a problem hiding this comment.
@veroandreo After some reflection, I think I'd prefer publishing this now and then updating it. I commented out the Windows instructions and replaced it with a coming soon statement. I don't know how long it will be before the Windows package is released. When GRASS 8.5 for Conda is out, I will update the tutorial to use the new GRASS Tools API. I also plan to write another, more in-depth tutorial.
A new quick start tutorial on GRASS for Conda. Covers installing the miniforge distribution of Conda, creating an environment for GRASS and Jupyter, downloading the Natural Earth Dataset, and then displaying maps in a Jupyter Notebook. This pull request should be merged after PR #115 since it expects acm.csl to be in the root directory.