carpentries-incubator / geospatial-python

Introduction to Geospatial Raster and Vector Data with Python
https://carpentries-incubator.github.io/geospatial-python/
Other
159 stars 57 forks source link

Suggestion for edit to step 2 in setting up the workshop environment with conda #111

Closed LMCG8 closed 2 years ago

LMCG8 commented 2 years ago

Hi there! I suggest that in the set up, under 'Setting up the workshop environment with conda', step 2's bash command be modified to one line without the backslash breaks. As it is, it can't be pasted and function correctly for PC users.

original: conda create -n geospatial -c conda-forge -y \ jupyterlab numpy matplotlib \ xarray rasterio geopandas rioxarray earthpy descartes xarray-spatial pystac-client python-graphviz

suggested update: conda create -n geospatial -c conda-forge -y jupyterlab numpy matplotlib xarray rasterio geopandas rioxarray earthpy descartes xarray-spatial pystac-client python-graphviz

rbavery commented 2 years ago

Sounds good. can you make a PR for this @LMCG8 ? this line as it is in this issue will need to be updated to reflect the new dependencies in the setup page

rbavery commented 2 years ago

This actually works for me on a PC. I'm pasting into my WSL terminal and it pastes correctly. I also tried with GitBash, see below. I realize it may look different for you on GitBash, what issue occurs? This might have been fixed with the recent lesson update in #110

conda