Skip to content

Commit 06137b0

Browse files
committed
local reproduction details
Former-commit-id: 09d0c8a [formerly 0f9cadc] Former-commit-id: 2f219096c8f123a204f154d68561ef9b4dfa7502
1 parent e206fb4 commit 06137b0

8 files changed

Lines changed: 241 additions & 3 deletions

File tree

data/requirements.txt

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
# This file may be used to create an environment using:
2+
# $ conda create --name <env> --file <this file>
3+
# platform: win-64
4+
affine=2.3.0=py_0
5+
anyio=2.2.0=py38haa244fe_0
6+
argon2-cffi=20.1.0=py38h294d835_2
7+
async_generator=1.10=py_0
8+
attrs=21.2.0=pyhd3eb1b0_0
9+
babel=2.9.1=pyh44b312d_0
10+
backcall=0.2.0=pyh9f0ad1d_0
11+
backports=1.0=py_2
12+
backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
13+
blas=1.0=mkl
14+
bleach=3.3.0=pyh44b312d_0
15+
branca=0.4.2=pyhd8ed1ab_0
16+
brotlipy=0.7.0=py38h2bbff1b_1003
17+
bzip2=1.0.8=he774522_0
18+
ca-certificates=2021.10.8=h5b45459_0
19+
cairo=1.16.0=hb19e0ff_1008
20+
certifi=2021.10.8=py38haa244fe_1
21+
cffi=1.14.3=py38hcd4344a_2
22+
cfitsio=3.470=he774522_6
23+
chardet=3.0.4=py38haa95532_1003
24+
click=7.1.2=pyhd3eb1b0_0
25+
click-plugins=1.1.1=py_0
26+
cligj=0.7.2=py38haa95532_0
27+
colorama=0.4.4=pyh9f0ad1d_0
28+
conda=4.11.0=py38haa244fe_0
29+
conda-package-handling=1.7.2=py38h76e460a_0
30+
console_shortcut=0.1.1=4
31+
cryptography=3.2.1=py38hcd4344a_1
32+
curl=7.78.0=h789b8ee_0
33+
cycler=0.10.0=py_2
34+
decorator=5.0.9=pyhd8ed1ab_0
35+
defusedxml=0.7.1=pyhd8ed1ab_0
36+
descartes=1.1.0=py_4
37+
entrypoints=0.3=pyhd8ed1ab_1003
38+
expat=2.4.1=h6c2663c_2
39+
fiona=1.8.20=py38h4bd599a_0
40+
folium=0.12.1.post1=pyhd8ed1ab_0
41+
fontconfig=2.13.1=h1989441_1005
42+
freetype=2.10.4=h546665d_1
43+
freexl=1.0.6=h2bbff1b_0
44+
gdal=3.2.2=py38hacca965_7
45+
geopandas=0.10.2=pyhd8ed1ab_0
46+
geopandas-base=0.10.2=pyha770c72_0
47+
geos=3.9.1=h39d44d4_2
48+
geotiff=1.6.0=ha8a8a2d_6
49+
gettext=0.19.8.1=h1a89ca6_1005
50+
hdf4=4.2.15=h0e5069d_3
51+
hdf5=1.10.6=nompi_h5268f04_1114
52+
icc_rt=2019.0.0=h0cc432a_1
53+
icu=68.1=h0e60522_0
54+
idna=2.10=py_0
55+
importlib-metadata=4.5.0=py38haa244fe_0
56+
intel-openmp=2021.2.0=haa95532_616
57+
ipykernel=5.5.5=py38h43734a8_0
58+
ipython=7.24.1=py38h43734a8_0
59+
ipython_genutils=0.2.0=py_1
60+
jbig=2.1=h8d14728_2003
61+
jedi=0.18.0=py38haa244fe_2
62+
jinja2=3.0.1=pyhd8ed1ab_0
63+
joblib=1.1.0=pyhd8ed1ab_0
64+
jpeg=9d=h8ffe710_0
65+
json5=0.9.5=pyh9f0ad1d_0
66+
jsonschema=3.2.0=pyhd8ed1ab_3
67+
jupyter_client=6.1.12=pyhd8ed1ab_0
68+
jupyter_core=4.7.1=py38haa244fe_0
69+
jupyter_server=1.4.1=py38haa95532_0
70+
jupyterlab=3.1.1=pyhd8ed1ab_0
71+
jupyterlab_pygments=0.1.2=pyh9f0ad1d_0
72+
jupyterlab_server=2.6.0=pyhd8ed1ab_0
73+
kealib=1.4.14=h96bfa42_2
74+
kiwisolver=1.3.1=py38hbd9d945_1
75+
krb5=1.19.2=hbae68bd_0
76+
lcms2=2.12=h2a16943_0
77+
lerc=2.2.1=h0e60522_0
78+
libblas=3.9.0=1_h8933c1f_netlib
79+
libboost=1.67.0=hd9e427e_4
80+
libcblas=3.9.0=5_hd5c7e75_netlib
81+
libclang=11.1.0=default_h5c34c98_1
82+
libcurl=7.78.0=h789b8ee_0
83+
libdeflate=1.7=h8ffe710_5
84+
libffi=3.3=h0e60522_2
85+
libgdal=3.2.2=ha6cada3_7
86+
libglib=2.68.3=h1e62bf3_0
87+
libiconv=1.16=he774522_0
88+
libkml=1.3.0=he5f2a48_4
89+
liblapack=3.9.0=5_hd5c7e75_netlib
90+
libnetcdf=4.8.0=nompi_hf689e7d_103
91+
libpng=1.6.37=h2a8f88b_0
92+
libpq=13.3=hfcc5ef8_0
93+
librttopo=1.1.0=hb340de5_6
94+
libsodium=1.0.18=h8d14728_1
95+
libspatialindex=1.9.3=h6c2663c_0
96+
libspatialite=5.0.1=h762a7f4_5
97+
libssh2=1.9.0=h7a1dbc1_1
98+
libtiff=4.3.0=h0c97f57_1
99+
libwebp-base=1.2.0=h8ffe710_2
100+
libxml2=2.9.12=hf5bbc77_0
101+
libzip=1.8.0=hfed4ece_0
102+
lz4-c=1.9.3=h8ffe710_0
103+
m2w64-expat=2.1.1=2
104+
m2w64-gcc-libgfortran=5.3.0=6
105+
m2w64-gcc-libs=5.3.0=7
106+
m2w64-gcc-libs-core=5.3.0=7
107+
m2w64-gettext=0.19.7=2
108+
m2w64-gmp=6.1.0=2
109+
m2w64-libiconv=1.14=6
110+
m2w64-libwinpthread-git=5.0.0.4634.697f757=2
111+
m2w64-xz=5.2.2=2
112+
mapclassify=2.4.3=pyhd8ed1ab_0
113+
markupsafe=2.0.1=py38h294d835_0
114+
matplotlib=3.4.2=py38haa244fe_0
115+
matplotlib-base=3.4.2=py38heae8d8c_0
116+
matplotlib-inline=0.1.2=pyhd8ed1ab_2
117+
menuinst=1.4.16=py38he774522_1
118+
mistune=0.8.4=py38h294d835_1003
119+
mkl=2021.2.0=haa95532_296
120+
mkl-service=2.3.0=py38h2bbff1b_1
121+
mkl_fft=1.3.0=py38h277e83a_2
122+
mkl_random=1.2.1=py38hf11a4ad_2
123+
msys2-conda-epoch=20160418=1
124+
munch=2.5.0=py_0
125+
nbclassic=0.2.6=pyhd3eb1b0_0
126+
nbclient=0.5.3=pyhd8ed1ab_0
127+
nbconvert=6.1.0=py38haa244fe_0
128+
nbformat=5.1.3=pyhd8ed1ab_0
129+
nest-asyncio=1.5.1=pyhd8ed1ab_0
130+
networkx=2.6.3=pyhd8ed1ab_1
131+
notebook=6.4.0=pyha770c72_0
132+
numpy=1.20.2=py38ha4e8547_0
133+
numpy-base=1.20.2=py38hc2deb75_0
134+
olefile=0.46=pyh9f0ad1d_1
135+
openjpeg=2.4.0=hb211442_1
136+
openssl=1.1.1l=h8ffe710_0
137+
packaging=20.9=pyh44b312d_0
138+
pandas=1.2.4=py38hd77b12b_0
139+
pandoc=2.14.0.3=h8ffe710_0
140+
pandocfilters=1.4.2=py_1
141+
parso=0.8.2=pyhd8ed1ab_0
142+
pcre=8.44=ha925a31_0
143+
pickleshare=0.7.5=py_1003
144+
pillow=8.3.1=py38h794f750_0
145+
pip=20.2.4=py38haa95532_0
146+
pixman=0.40.0=h8ffe710_0
147+
poppler=21.03.0=h9ff6ed8_0
148+
poppler-data=0.4.10=0
149+
postgresql=13.3=h1c22c4f_0
150+
powershell_shortcut=0.0.1=3
151+
proj=8.0.1=h1cfcee9_0
152+
prometheus_client=0.11.0=pyhd8ed1ab_0
153+
prompt-toolkit=3.0.19=pyha770c72_0
154+
pycosat=0.6.3=py38h2bbff1b_0
155+
pycparser=2.20=py_2
156+
pygeos=0.10.2=py38h127f298_0
157+
pygments=2.9.0=pyhd8ed1ab_0
158+
pyopenssl=19.1.0=pyhd3eb1b0_1
159+
pyparsing=2.4.7=pyh9f0ad1d_0
160+
pyproj=3.1.0=py38h5f73dae_3
161+
pyqt=5.12.3=py38haa244fe_7
162+
pyqt-impl=5.12.3=py38h885f38d_7
163+
pyqt5-sip=4.19.18=py38h885f38d_7
164+
pyqtchart=5.12=py38h885f38d_7
165+
pyqtwebengine=5.12.1=py38h885f38d_7
166+
pyrsistent=0.17.3=py38h294d835_2
167+
pysocks=1.7.1=py38haa95532_0
168+
python=3.8.5=h5fd99cc_1
169+
python-dateutil=2.8.1=pyhd3eb1b0_0
170+
python_abi=3.8=2_cp38
171+
pytz=2021.1=pyhd3eb1b0_0
172+
pywin32=227=py38he774522_1
173+
pywinpty=0.5.7=py38_0
174+
pyzmq=22.1.0=py38h09162b1_0
175+
qt=5.12.9=h5909a2a_4
176+
rasterio=1.2.6=py38hbd91096_1
177+
rasterstats=0.16.0=pyhd8ed1ab_0
178+
requests=2.24.0=py_0
179+
richdem=0.3.4=py38h7f85c0c_3
180+
rtree=0.9.7=py38h2eaa2aa_1
181+
ruamel_yaml=0.15.87=py38he774522_1
182+
scikit-learn=1.0.1=py38hb60ee80_2
183+
scipy=1.7.0=py38he847743_0
184+
send2trash=1.7.1=pyhd8ed1ab_0
185+
setuptools=50.3.1=py38haa95532_1
186+
shapely=1.7.1=py38h13ff51f_5
187+
simplejson=3.17.3=py38h294d835_0
188+
six=1.15.0=py38haa95532_0
189+
sniffio=1.2.0=py38haa244fe_1
190+
snuggs=1.4.7=py_0
191+
sqlite=3.36.0=h8ffe710_0
192+
tbb=2018.0.5=he980bc4_0
193+
terminado=0.9.4=py38haa95532_0
194+
testpath=0.5.0=pyhd8ed1ab_0
195+
threadpoolctl=3.0.0=pyh8a188c0_0
196+
tiledb=2.3.2=h78dabda_0
197+
tk=8.6.10=he774522_0
198+
tornado=6.1=py38h294d835_1
199+
tqdm=4.51.0=pyhd3eb1b0_0
200+
traitlets=5.0.5=py_0
201+
urllib3=1.25.11=py_0
202+
vc=14.1=h0510ff6_4
203+
vs2015_runtime=14.16.27012=hf0eaf9b_3
204+
wcwidth=0.2.5=pyh9f0ad1d_2
205+
webencodings=0.5.1=py_1
206+
wheel=0.35.1=pyhd3eb1b0_0
207+
win_inet_pton=1.1.0=py38haa95532_0
208+
wincertstore=0.2=py38_0
209+
winpty=0.4.3=4
210+
xerces-c=3.2.3=ha925a31_0
211+
xyzservices=2021.11.0=pyhd8ed1ab_0
212+
xz=5.2.5=h62dcd97_0
213+
yaml=0.2.5=he774522_0
214+
zeromq=4.3.4=h0e60522_0
215+
zipp=3.4.1=pyhd8ed1ab_0
216+
zlib=1.2.11=h62dcd97_4
217+
zstd=1.5.0=h6255e5f_0

data/zion.gpkg

0 Bytes
Binary file not shown.

data/zion.gpkg-shm

-32 KB
Binary file not shown.

data/zion.gpkg-wal

Whitespace-only changes.

data/zion_points.gpkg

0 Bytes
Binary file not shown.

data/zion_points.gpkg-shm

-32 KB
Binary file not shown.

data/zion_points.gpkg-wal

Whitespace-only changes.

index.qmd

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,34 @@ We aim to make this web version of the book as easy as possible. See the source
3838

3939
### Reproduce the book locally
4040

41-
To reproduce the book locally, run the following commands:
41+
First, download the book sample data into your working directory, and place them in a sub-directory named `"data"` inside that working directory.
4242

43-
```bash
44-
# Todo add content
43+
For Windows, follow these steps:
44+
45+
* Install [miniconda](https://docs.conda.io/en/latest/miniconda.html)
46+
* Open the Anaconda Prompt as Administrator, navigate to the above-mentioned working directory, and then run:
47+
48+
```sh
49+
conda install -c conda-forge --file data/requirements.txt
50+
```
51+
52+
* Open the Jupyter Notebook of any of chapters using a command such as:
4553

54+
```sh
55+
jupyter notebook 02-spatial-data.ipynb
4656
```
4757

58+
For Linux, use your preferred package manager to install the packages used in the book (`geopandas`, `rasterio`, etc.) as specified in each chapter, as well as the Jupyter Notebook interface. For example, using `pip` to install the Jupyter Notebook package is as follows:
59+
60+
```sh
61+
pip install jupyter-book
62+
```
63+
64+
Then, navigate to the above-mentioned working directory, and open the Jupyter Notebook of any of chapters using a command such as:
65+
66+
```sh
67+
jupyter notebook 02-spatial-data.ipynb
68+
```
4869

4970
### Reproduce the book in a Docker container with VSCode IDE
5071

0 commit comments

Comments
 (0)