-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpygis_env.sh
More file actions
46 lines (39 loc) · 743 Bytes
/
pygis_env.sh
File metadata and controls
46 lines (39 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env bash
# generates a working environment for all book depedencies in linux
sudo echo '
name: pygisbookgw
channels:
- conda-forge
- defaults
dependencies:
- python=3.7
- wheel
- cython
- scipy
- zarr
- requests
- libspatialindex
- gdal
- census
- geoplot
- pip
- netcdf4
- osmnx
- pip:
- pip-tools
- opencv-python
- git+https://github.com/jgrss/geowombat.git
- jupyter-book
- matplotlib
- ghp-import
- pyproj
- geopandas
- contextily
- us
- pydap
'> pygisbookgw.yml
conda env create -f pygisbookgw.yml
conda activate pygisbookgw
python -c "import geowombat as gw;print(gw.__version__)"
python -c "import rasterio;from rasterio.crs import CRS; cc = CRS.from_epsg(4326); print(cc)"
conda deactivate