Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Results from running the book in Jan 2023 #290

Open
dfolch opened this issue Jan 10, 2023 · 0 comments
Open

Results from running the book in Jan 2023 #290

dfolch opened this issue Jan 10, 2023 · 0 comments

Comments

@dfolch
Copy link

dfolch commented Jan 10, 2023

I'm setting up my class and have now run the entire book with a conda environment built on Jan 9, 2023 on an Intel Mac. Here is the command that builds the environment.

conda create -n gds_book -c conda-forge bottleneck cenpy contextily dask datashader geopandas hdbscan jupyter jupyterlab-spellchecker netCDF4 osmnx pysal rasterio rioxarray seaborn xarray
Click here to see all the package versions
Name Version Build Channel
access 1.1.8 pyhd8ed1ab_0 conda-forge
affine 2.3.1 pyhd8ed1ab_0 conda-forge
amply 0.1.5 pyhd8ed1ab_0 conda-forge
anyio 3.6.2 pyhd8ed1ab_0 conda-forge
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
appnope 0.1.3 pyhd8ed1ab_0 conda-forge
argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge
argon2-cffi-bindings 21.2.0 py310h90acd4f_3 conda-forge
asttokens 2.2.1 pyhd8ed1ab_0 conda-forge
attrs 22.2.0 pyh71513ae_0 conda-forge
aws-requests-auth 0.4.2 py_0 conda-forge
babel 2.11.0 pyhd8ed1ab_0 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 pyhd8ed1ab_3 conda-forge
backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge
beautifulsoup4 4.11.1 pyha770c72_0 conda-forge
bleach 5.0.1 pyhd8ed1ab_0 conda-forge
blosc 1.21.2 hebb52c4_0 conda-forge
bokeh 2.4.3 pyhd8ed1ab_3 conda-forge
boost-cpp 1.78.0 h8b082ac_1 conda-forge
boto3 1.26.45 pyhd8ed1ab_0 conda-forge
botocore 1.29.45 pyhd8ed1ab_0 conda-forge
bottleneck 1.3.5 py310h936d966_1 conda-forge
branca 0.6.0 pyhd8ed1ab_0 conda-forge
brotli 1.0.9 hb7f2c08_8 conda-forge
brotli-bin 1.0.9 hb7f2c08_8 conda-forge
brotlipy 0.7.0 py310h90acd4f_1005 conda-forge
bzip2 1.0.8 h0d85af4_4 conda-forge
c-ares 1.18.1 h0d85af4_0 conda-forge
ca-certificates 2022.12.7 h033912b_0 conda-forge
cairo 1.16.0 h904041c_1014 conda-forge
cenpy 1.0.1 pyhd8ed1ab_0 conda-forge
certifi 2022.12.7 pyhd8ed1ab_0 conda-forge
cffi 1.15.1 py310ha78151a_3 conda-forge
cfitsio 4.2.0 hd56cc12_0 conda-forge
cftime 1.6.2 py310h936d966_1 conda-forge
charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge
click 8.1.3 unix_pyhd8ed1ab_2 conda-forge
click-plugins 1.1.1 py_0 conda-forge
cligj 0.7.2 pyhd8ed1ab_1 conda-forge
cloudpickle 2.2.0 pyhd8ed1ab_0 conda-forge
coin-or-cbc 2.10.8 hc8a182d_0 conda-forge
coin-or-cgl 0.60.6 ha3c4b8c_2 conda-forge
coin-or-clp 1.17.7 hf0ee74e_2 conda-forge
coin-or-osi 0.108.7 hfef9e4d_2 conda-forge
coin-or-utils 2.11.6 h7a46149_2 conda-forge
coincbc 2.10.8 0_metapackage conda-forge
colorama 0.4.6 pyhd8ed1ab_0 conda-forge
colorcet 3.0.1 pyhd8ed1ab_0 conda-forge
comm 0.1.2 pyhd8ed1ab_0 conda-forge
contextily 1.2.0 pyhd8ed1ab_0 conda-forge
contourpy 1.0.6 py310ha23aa8a_0 conda-forge
cryptography 39.0.0 py310hdd0c95c_0 conda-forge
curl 7.86.0 h581aaea_1 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
cytoolz 0.12.0 py310h90acd4f_1 conda-forge
dask 2022.12.1 pyhd8ed1ab_0 conda-forge
dask-core 2022.12.1 pyhd8ed1ab_0 conda-forge
datashader 0.14.3 pyh1a96a4e_0 conda-forge
datashape 0.5.4 py_1 conda-forge
debugpy 1.6.5 py310h7a76584_0 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
deprecation 2.1.0 pyh9f0ad1d_0 conda-forge
descartes 1.1.0 py_4 conda-forge
distributed 2022.12.1 pyhd8ed1ab_0 conda-forge
docutils 0.19 py310h2ec42d9_1 conda-forge
entrypoints 0.4 pyhd8ed1ab_0 conda-forge
esda 2.4.3 pyhd8ed1ab_0 conda-forge
executing 1.2.0 pyhd8ed1ab_0 conda-forge
expat 2.5.0 hf0c8a7f_0 conda-forge
fiona 1.8.22 py310h3963e5c_5 conda-forge
flit-core 3.8.0 pyhd8ed1ab_0 conda-forge
folium 0.14.0 pyhd8ed1ab_0 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.14.1 h5bb23bf_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.38.0 py310h90acd4f_1 conda-forge
freetype 2.12.1 h3f81eb7_1 conda-forge
freexl 1.0.6 hb7f2c08_1 conda-forge
fsspec 2022.11.0 pyhd8ed1ab_0 conda-forge
fuzzywuzzy 0.18.0 pyhd8ed1ab_0 conda-forge
gdal 3.6.1 py310h5abc6fc_1 conda-forge
geographiclib 1.52 pyhd8ed1ab_0 conda-forge
geopandas 0.12.2 pyhd8ed1ab_0 conda-forge
geopandas-base 0.12.2 pyha770c72_0 conda-forge
geopy 2.3.0 pyhd8ed1ab_0 conda-forge
geos 3.11.1 hf0c8a7f_0 conda-forge
geotiff 1.7.1 he29fd1c_4 conda-forge
gettext 0.21.1 h8a4c099_0 conda-forge
giddy 2.3.3 py_0 conda-forge
giflib 5.2.1 hbcb3906_2 conda-forge
glib 2.74.1 hbc0c0cd_1 conda-forge
glib-tools 2.74.1 hbc0c0cd_1 conda-forge
gmp 6.2.1 h2e338ed_0 conda-forge
gmpy2 2.1.2 py310hb691cb2_1 conda-forge
gst-plugins-base 1.21.3 h37e1711_1 conda-forge
gstreamer 1.21.3 h1d18e73_1 conda-forge
hdbscan 0.8.29 py310h936d966_1 conda-forge
hdf4 4.2.15 h7aa5921_5 conda-forge
hdf5 1.12.2 nompi_h1f71328_100 conda-forge
heapdict 1.0.1 py_0 conda-forge
icu 70.1 h96cf925_0 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
importlib-metadata 6.0.0 pyha770c72_0 conda-forge
importlib_resources 5.10.2 pyhd8ed1ab_0 conda-forge
inequality 1.0.0 py_0 conda-forge
ipykernel 6.19.4 pyh736e0ef_0 conda-forge
ipython 8.8.0 pyhd1c38e8_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
ipywidgets 8.0.4 pyhd8ed1ab_0 conda-forge
jedi 0.18.2 pyhd8ed1ab_0 conda-forge
jinja2 3.1.2 pyhd8ed1ab_1 conda-forge
jmespath 1.0.1 pyhd8ed1ab_0 conda-forge
joblib 1.2.0 pyhd8ed1ab_0 conda-forge
jpeg 9e hac89ed1_2 conda-forge
json-c 0.16 h01d06f9_0 conda-forge
json5 0.9.5 pyh9f0ad1d_0 conda-forge
jsonlines 1.2.0 pyh9f0ad1d_2 conda-forge
jsonschema 4.17.3 pyhd8ed1ab_0 conda-forge
jupyter 1.0.0 py310h2ec42d9_8 conda-forge
jupyter_client 7.4.8 pyhd8ed1ab_0 conda-forge
jupyter_console 6.4.4 pyhd8ed1ab_0 conda-forge
jupyter_core 5.1.2 py310h2ec42d9_0 conda-forge
jupyter_events 0.5.0 pyhd8ed1ab_1 conda-forge
jupyter_server 2.0.6 pyhd8ed1ab_0 conda-forge
jupyter_server_terminals 0.4.3 pyhd8ed1ab_0 conda-forge
jupyterlab 3.5.2 pyhd8ed1ab_0 conda-forge
jupyterlab-spellchecker 0.7.2 pyhd8ed1ab_0 conda-forge
jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge
jupyterlab_server 2.18.0 pyhd8ed1ab_0 conda-forge
jupyterlab_widgets 3.0.5 pyhd8ed1ab_0 conda-forge
kealib 1.5.0 h5c1f988_0 conda-forge
kiwisolver 1.4.4 py310ha23aa8a_1 conda-forge
krb5 1.19.3 hb98e516_0 conda-forge
lcms2 2.14 h90f4b2a_0 conda-forge
lerc 4.0.0 hb486fe8_0 conda-forge
levenshtein 0.20.9 py310h7a76584_0 conda-forge
libblas 3.9.0 16_osx64_openblas conda-forge
libbrotlicommon 1.0.9 hb7f2c08_8 conda-forge
libbrotlidec 1.0.9 hb7f2c08_8 conda-forge
libbrotlienc 1.0.9 hb7f2c08_8 conda-forge
libcblas 3.9.0 16_osx64_openblas conda-forge
libclang 15.0.6 default_h20dc2f0_0 conda-forge
libclang13 15.0.6 default_hc4b5f92_0 conda-forge
libcurl 7.86.0 h581aaea_1 conda-forge
libcxx 14.0.6 hccf4f1f_0 conda-forge
libdeflate 1.14 hb7f2c08_0 conda-forge
libedit 3.1.20191231 h0678c8f_2 conda-forge
libev 4.33 haf1e3a3_1 conda-forge
libffi 3.4.2 h0d85af4_5 conda-forge
libgdal 3.6.1 hd928027_1 conda-forge
libgfortran 5.0.0 11_3_0_h97931a8_27 conda-forge
libgfortran5 11.3.0 h082f757_27 conda-forge
libglib 2.74.1 h4c723e1_1 conda-forge
libiconv 1.17 hac89ed1_0 conda-forge
libkml 1.3.0 haeb80ef_1015 conda-forge
liblapack 3.9.0 16_osx64_openblas conda-forge
liblapacke 3.9.0 16_osx64_openblas conda-forge
libllvm11 11.1.0 h8fb7429_5 conda-forge
libllvm15 15.0.6 h7001e86_0 conda-forge
libnetcdf 4.8.1 nompi_hc61b76e_106 conda-forge
libnghttp2 1.51.0 he2ab024_0 conda-forge
libogg 1.3.4 h35c211d_1 conda-forge
libopenblas 0.3.21 openmp_h429af6e_3 conda-forge
libopus 1.3.1 hc929b4f_1 conda-forge
libpng 1.6.39 ha978bb4_0 conda-forge
libpq 15.1 hb1ae2b1_1 conda-forge
libpysal 4.7.0 pyhd8ed1ab_0 conda-forge
librttopo 1.1.0 h9461dca_12 conda-forge
libsodium 1.0.18 hbcb3906_1 conda-forge
libspatialindex 1.9.3 he49afe7_4 conda-forge
libspatialite 5.0.1 hc1c2c66_22 conda-forge
libsqlite 3.40.0 ha978bb4_0 conda-forge
libssh2 1.10.0 h47af595_3 conda-forge
libtiff 4.4.0 h6268bbc_5 conda-forge
libvorbis 1.3.7 h046ec9c_0 conda-forge
libwebp-base 1.2.4 h775f41a_0 conda-forge
libxcb 1.13 h0d85af4_1004 conda-forge
libxml2 2.10.3 hb9e07b5_0 conda-forge
libzip 1.9.2 h6db710c_1 conda-forge
libzlib 1.2.13 hfd90126_4 conda-forge
llvm-openmp 15.0.6 h61d9ccf_0 conda-forge
llvmlite 0.39.1 py310h2bfb868_1 conda-forge
locket 1.0.0 pyhd8ed1ab_0 conda-forge
lz4 4.2.0 py310h8d4e1d9_0 conda-forge
lz4-c 1.9.3 he49afe7_1 conda-forge
mapclassify 2.4.3 pyhd8ed1ab_0 conda-forge
markupsafe 2.1.1 py310h90acd4f_2 conda-forge
matplotlib-base 3.6.2 py310he725631_0 conda-forge
matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge
mercantile 1.2.1 pyhd8ed1ab_0 conda-forge
mgwr 2.1.2 py_0 conda-forge
mistune 2.0.4 pyhd8ed1ab_0 conda-forge
momepy 0.5.4 pyhd8ed1ab_0 conda-forge
mpc 1.2.1 hbb51d92_0 conda-forge
mpfr 4.1.0 h0f52abe_1 conda-forge
mpmath 1.2.1 pyhd8ed1ab_0 conda-forge
msgpack-python 1.0.4 py310ha23aa8a_1 conda-forge
multipledispatch 0.6.0 py_0 conda-forge
munch 2.5.0 py_0 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
mysql-common 8.0.31 hc4b2c72_0 conda-forge
mysql-libs 8.0.31 h8658499_0 conda-forge
nbclassic 0.4.8 pyhd8ed1ab_0 conda-forge
nbclient 0.7.2 pyhd8ed1ab_0 conda-forge
nbconvert 7.2.7 pyhd8ed1ab_0 conda-forge
nbconvert-core 7.2.7 pyhd8ed1ab_0 conda-forge
nbconvert-pandoc 7.2.7 pyhd8ed1ab_0 conda-forge
nbformat 5.7.1 pyhd8ed1ab_0 conda-forge
ncurses 6.3 h96cf925_1 conda-forge
nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge
netcdf4 1.6.2 nompi_py310h6892ea4_100 conda-forge
networkx 3.0 pyhd8ed1ab_0 conda-forge
notebook 6.5.2 pyha770c72_1 conda-forge
notebook-shim 0.2.2 pyhd8ed1ab_0 conda-forge
nspr 4.35 hea0b92c_0 conda-forge
nss 3.78 ha8197d3_0 conda-forge
numba 0.56.4 py310h62db5c2_0 conda-forge
numpy 1.23.5 py310h1b7c290_0 conda-forge
openjpeg 2.5.0 h5d0d7b0_1 conda-forge
openssl 3.0.7 hfd90126_1 conda-forge
osmnx 1.3.0 pyhd8ed1ab_0 conda-forge
packaging 22.0 pyhd8ed1ab_0 conda-forge
pandas 1.5.2 py310hecf8f37_0 conda-forge
pandoc 2.19.2 h694c41f_1 conda-forge
pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge
param 1.12.3 pyh1a96a4e_0 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
partd 1.3.0 pyhd8ed1ab_0 conda-forge
patsy 0.5.3 pyhd8ed1ab_0 conda-forge
pcre2 10.40 h1c4e4bc_0 conda-forge
pexpect 4.8.0 pyh1a96a4e_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 9.2.0 py310hffcf78b_3 conda-forge
pip 22.3.1 pyhd8ed1ab_0 conda-forge
pixman 0.40.0 hbcb3906_0 conda-forge
pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge
platformdirs 2.6.2 pyhd8ed1ab_0 conda-forge
ply 3.11 py_1 conda-forge
pointpats 2.2.0 pyhd8ed1ab_1 conda-forge
pooch 1.6.0 pyhd8ed1ab_0 conda-forge
poppler 22.12.0 hf2ff1a1_0 conda-forge
poppler-data 0.4.11 hd8ed1ab_0 conda-forge
postgresql 15.1 hae21482_1 conda-forge
proj 9.1.0 hcbd9701_0 conda-forge
prometheus_client 0.15.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.36 pyha770c72_0 conda-forge
prompt_toolkit 3.0.36 hd8ed1ab_0 conda-forge
psutil 5.9.4 py310h90acd4f_0 conda-forge
pthread-stubs 0.4 hc929b4f_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pulp 2.7.0 py310h2ec42d9_0 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyct 0.4.6 py_0 conda-forge
pyct-core 0.4.6 py_0 conda-forge
pygeos 0.14 py310h4e43f2a_0 conda-forge
pygments 2.14.0 pyhd8ed1ab_0 conda-forge
pyopenssl 23.0.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge
pyproj 3.4.1 py310h8c678d5_0 conda-forge
pyqt 5.15.7 py310hdd03f62_2 conda-forge
pyqt5-sip 12.11.0 py310h415000c_2 conda-forge
pyrsistent 0.19.3 py310h90acd4f_0 conda-forge
pysal 2.7.0 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 pyha2e5f31_6 conda-forge
python 3.10.8 he7542f4_0_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-fastjsonschema 2.16.2 pyhd8ed1ab_0 conda-forge
python-json-logger 2.0.4 pyhd8ed1ab_0 conda-forge
python-levenshtein 0.20.9 pyhd8ed1ab_0 conda-forge
python_abi 3.10 3_cp310 conda-forge
pytz 2022.7 pyhd8ed1ab_0 conda-forge
pyyaml 6.0 py310h90acd4f_5 conda-forge
pyzmq 24.0.1 py310hf615a82_1 conda-forge
qt-main 5.15.6 h0916ed4_4 conda-forge
qtconsole 5.4.0 pyhd8ed1ab_0 conda-forge
qtconsole-base 5.4.0 pyha770c72_0 conda-forge
qtpy 2.3.0 pyhd8ed1ab_0 conda-forge
quantecon 0.5.3 pyhd8ed1ab_0 conda-forge
quilt3 5.0.0 pyhd8ed1ab_1 conda-forge
rapidfuzz 2.13.7 py310h7a76584_0 conda-forge
rasterio 1.3.4 py310h3600f62_0 conda-forge
rasterstats 0.17.0 pyhd8ed1ab_0 conda-forge
readline 8.1.2 h3899abd_0 conda-forge
requests 2.28.1 pyhd8ed1ab_1 conda-forge
requests-futures 1.0.0 pyh9f0ad1d_2 conda-forge
rioxarray 0.13.3 pyhd8ed1ab_0 conda-forge
rtree 1.0.1 py310had9ce37_1 conda-forge
rvlib 0.0.6 py310h936d966_2 conda-forge
s3transfer 0.6.0 pyhd8ed1ab_0 conda-forge
scikit-learn 1.2.0 py310hcebe997_0 conda-forge
scipy 1.10.0 py310h240c617_0 conda-forge
seaborn 0.12.2 hd8ed1ab_0 conda-forge
seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge
segregation 2.3.1 pyhd8ed1ab_1 conda-forge
send2trash 1.8.0 pyhd8ed1ab_0 conda-forge
setuptools 65.6.3 pyhd8ed1ab_0 conda-forge
shapely 2.0.0 py310h4e43f2a_0 conda-forge
simplejson 3.18.1 py310h90acd4f_0 conda-forge
sip 6.7.5 py310h7a76584_0 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.1.9 h225ccf5_2 conda-forge
sniffio 1.3.0 pyhd8ed1ab_0 conda-forge
snuggs 1.4.7 py_0 conda-forge
sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge
soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge
spaghetti 1.6.10 pyhd8ed1ab_0 conda-forge
spglm 1.0.8 py_0 conda-forge
spint 1.0.7 pyhd8ed1ab_0 conda-forge
splot 1.1.5.post1 pyhd8ed1ab_0 conda-forge
spopt 0.4.1 pyhd8ed1ab_0 conda-forge
spreg 1.3.0 pyhd8ed1ab_0 conda-forge
spvcm 0.3.0 py_0 conda-forge
sqlite 3.40.0 h9ae0607_0 conda-forge
stack_data 0.6.2 pyhd8ed1ab_0 conda-forge
statsmodels 0.13.5 py310h936d966_2 conda-forge
sympy 1.11.1 py310h2ec42d9_2 conda-forge
tblib 1.7.0 pyhd8ed1ab_0 conda-forge
tenacity 8.1.0 pyhd8ed1ab_0 conda-forge
terminado 0.17.1 pyhd1c38e8_0 conda-forge
threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge
tiledb 2.13.1 h8b9cbf0_0 conda-forge
tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge
tk 8.6.12 h5dbffcc_0 conda-forge
tobler 0.9.0 pyhd8ed1ab_0 conda-forge
toml 0.10.2 pyhd8ed1ab_0 conda-forge
tomli 2.0.1 pyhd8ed1ab_0 conda-forge
toolz 0.12.0 pyhd8ed1ab_0 conda-forge
tornado 6.2 py310h90acd4f_1 conda-forge
tqdm 4.64.1 pyhd8ed1ab_0 conda-forge
traitlets 5.8.0 pyhd8ed1ab_0 conda-forge
typing-extensions 4.4.0 hd8ed1ab_0 conda-forge
typing_extensions 4.4.0 pyha770c72_0 conda-forge
tzcode 2022g hb7f2c08_0 conda-forge
tzdata 2022g h191b570_0 conda-forge
unicodedata2 15.0.0 py310h90acd4f_0 conda-forge
urllib3 1.26.13 pyhd8ed1ab_0 conda-forge
wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge
webencodings 0.5.1 py_1 conda-forge
websocket-client 1.4.2 pyhd8ed1ab_0 conda-forge
wheel 0.38.4 pyhd8ed1ab_0 conda-forge
widgetsnbextension 4.0.5 pyhd8ed1ab_0 conda-forge
xarray 2022.12.0 pyhd8ed1ab_0 conda-forge
xerces-c 3.2.4 h2007e90_1 conda-forge
xorg-libxau 1.0.9 h35c211d_0 conda-forge
xorg-libxdmcp 1.1.3 h35c211d_0 conda-forge
xyzservices 2022.9.0 pyhd8ed1ab_0 conda-forge
xz 5.2.6 h775f41a_0 conda-forge
yaml 0.2.5 h0d85af4_2 conda-forge
zeromq 4.3.4 he49afe7_1 conda-forge
zict 2.2.0 pyhd8ed1ab_0 conda-forge
zipp 3.11.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.13 hfd90126_4 conda-forge
zstd 1.5.2 hfa58983_4 conda-forge

I know we're supposed to be using the pre-built container, but I wanted the students to run the notebooks in their own environment. Below are some issues that came up in this particular environment. I hope this is useful for others teaching with this book.


1. Things that return errors in this environment

a. seaborn.kdeplot

In 08_point_pattern_analysis.ipynb, code cell 8, the seaborn.kdeplot API seems to have changed. The following fixes the issue:

    x=db["x"],
    y=db["y"],

b. PolygonPatch

In 08_point_pattern_analysis.ipynb, code cell 18, PolygonPatch from decartes is not working. This hack gets around the issue:

# Plot a green alpha shape
ax.add_patch(
    plt.Polygon(
        alpha_shape.exterior.coords,
        closed=True,
        edgecolor="green",
        facecolor="green",
        alpha=0.2,
        label="Tighest single alpha shape",
    )
)

The following is needed in cell 23

# Make a purple alpha shape
alpha_shape_patch = Polygon(
    alpha_shape.exterior.coords,
    closed=True,
    edgecolor="purple",
    facecolor="none",
    linewidth=2,
    label="Alpha Shape",
)        
...

# a green minimum rotated rectangle
min_rot_rect_patch = Polygon(
    min_rot_rect.exterior.coords,
    edgecolor="green",
    facecolor="none",
    linestyle="--",
    label="Min Rotated Rectangle",
    linewidth=2,
)

c. Seaborn boxplot

In 11_regression.ipynb, code cell 10, the seaborn.boxplot API seems to have changed. The following fixes the issue:

    x="neighborhood",
    y="residual",

d. Seaborn regplot

In 11_regression.ipynb, code cell 12, the seaborn.regplot API seems to have changed. The following fixes the issue:

    x=m1.u.flatten(),
    y=lag_residual.flatten(),

Also in cell 19

    x=m2.u.flatten(),
    y=lag_residual.flatten(),

e. GeoPandas boxplot

In 12_feature_engineering.ipynb, code cell 71, something changed so that it cannot take an array of labels. The following fixes the issue:

    # Group by cluster label, generating one box plot/cluster
    by=labels.tolist(),

2. Things that return warnings in this environment

a. Shapely 2.0 and GeoPandas migration

This issue will work itself out over time, but for now every notebook needs the first cell to be:

import warnings, os
os.environ['USE_PYGEOS'] = '0'
warnings.filterwarnings("ignore")

b. Importing PySAL esda and inequality

For some reason, from pysal.explore import esda and from pysal.explore import inequality return this (numba?) warning:
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.

Changing the imports to import esda and import inequality in the following notebooks resolves the warning.

  • 06_spatial_autocorrelation.ipynb (import esda)
  • 07_local_autocorrelation.ipynb (import esda)
  • 09_spatial_inequality.ipynb (import esda and import inequality)
  • 11_regression.ipynb (import esda)

c. CRS warning

In 03_spatial_data.ipynb, cell 52, the following warning comes up. I don't have a fix for this.
Warning 1: +init=epsg:XXXX syntax is deprecated. It might return a CRS with a non-EPSG compliant axis order.

d. GeoPandas spatial join

In 12_feature_engineering.ipynb code cell 16, the geopandas.sjoin API seems to have changed the op parameter to predicate. The following fixes the issue:

    # Operation (spatial predicate) to use for the spatial join (`within`)
    predicate="within",
)

The warning comes up again in code cell 40, but I think it's happening within cenpy this time.

e. Tobler import

In 12_feature_engineering.ipynb code cell 45, the import from tobler is throwing the following warning which appears to be coming from inside tobler. I don't have a fix for this.
.../lib/python3.10/site-packages/rasterstats/io.py:17: DeprecationWarning: ReadingError is deprecated and will be removed in a future version. Use ShapelyError instead (functions previously raising {name} will now raise a ShapelyError instead). from shapely.errors import ReadingError

f. PySAL weights

In 12_feature_engineering.ipynb code cell 55, numpy is unhappy about some of the values it's getting and throwing the following warning. I don't have a fix for this.
.../lib/python3.10/site-packages/numpy/core/fromnumeric.py:3432: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, .../lib/python3.10/site-packages/numpy/core/_methods.py:190: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants