PolarWandering / PaleoSampling

Quantitative Analysis of Paleomagnetic Sampling Strategies
https://polarwandering.github.io/PaleoSampling/
MIT License
8 stars 3 forks source link

Sampling example notebook not running in JupyterBook #43

Open facusapienza21 opened 1 year ago

facusapienza21 commented 1 year ago

@Swanson-Hysell the sampling notebook is printing an error when executed by JupyterBook. If you cannot fix this error, you can always uncomments the notebook in the _config.yml under executed_patterns to ignore the execution of this notebook and instead just display it.

Swanson-Hysell commented 1 year ago

This error should be fixed by pull request #44

facusapienza21 commented 1 year ago

@Swanson-Hysell I integrated #48 (copy of #44) and the problem persists in the notebook. Do you think this could be a problem coming from the environment and the version of ipymag you are using?

Swanson-Hysell commented 1 year ago

The issue looks to be with the cartopy version. Here is the list of my paleosampling conda environment: conda_packages.txt

Name Version Build Channel accessible-pygments 0.0.4 pyhd8ed1ab_0 conda-forge alabaster 0.7.13 pyhd8ed1ab_0 conda-forge anyio 4.0.0 pyhd8ed1ab_0 conda-forge appnope 0.1.3 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py311h5547dcb_3 conda-forge arrow 1.2.3 pyhd8ed1ab_0 conda-forge asttokens 2.4.0 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge attrs 23.1.0 pyh71513ae_1 conda-forge babel 2.12.1 pyhd8ed1ab_1 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 pyhd8ed1ab_3 conda-forge backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.2 pyha770c72_0 conda-forge bleach 6.0.0 pyhd8ed1ab_0 conda-forge brotli 1.1.0 h0dc2134_0 conda-forge brotli-bin 1.1.0 h0dc2134_0 conda-forge brotli-python 1.1.0 py311hdf8f085_0 conda-forge bzip2 1.0.8 h0d85af4_4 conda-forge c-ares 1.19.1 h0dc2134_0 conda-forge ca-certificates 2023.7.22 h8857fd0_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cartopy 0.22.0 py311hab14417_0 conda-forge certifi 2023.7.22 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py311ha86e640_3 conda-forge charset-normalizer 3.2.0 pyhd8ed1ab_0 conda-forge click 8.1.7 unix_pyh707e725_0 conda-forge cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge comm 0.1.4 pyhd8ed1ab_0 conda-forge contourpy 1.1.0 py311h5fe6e05_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge cytoolz 0.12.2 py311h2725bcf_0 conda-forge dask-core 2023.9.1 pyhd8ed1ab_0 conda-forge dataclasses 0.8 pyhc8e2a94_3 conda-forge debugpy 1.8.0 py311hdf8f085_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge distributed 2023.9.1 pyhd8ed1ab_0 conda-forge docutils 0.17.1 py311h6eed73b_3 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge executing 1.2.0 pyhd8ed1ab_0 conda-forge expat 2.5.0 hf0c8a7f_1 conda-forge fonttools 4.42.1 py311h2725bcf_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 h60636b9_2 conda-forge fsspec 2023.9.0 pyh1a96a4e_0 conda-forge future 0.18.3 pyhd8ed1ab_0 conda-forge geos 3.12.0 he965462_0 conda-forge gettext 0.21.1 h8a4c099_0 conda-forge glib 2.78.0 h7d26f99_0 conda-forge glib-tools 2.78.0 h7d26f99_0 conda-forge greenlet 2.0.2 py311hdf8f085_1 conda-forge gst-plugins-base 1.22.5 hb5d3a86_1 conda-forge gstreamer 1.22.5 h840fbdc_1 conda-forge icu 73.2 hf5e326d_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge imagesize 1.4.1 pyhd8ed1ab_0 conda-forge importlib-metadata 6.8.0 pyha770c72_0 conda-forge importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge importlib_resources 6.0.1 pyhd8ed1ab_0 conda-forge ipykernel 6.25.2 pyh1050b4e_0 conda-forge ipyparallel 8.6.1 pyhd8ed1ab_0 conda-forge ipython 8.15.0 pyh31c8845_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 8.1.1 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge jedi 0.19.0 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge joblib 1.3.2 pyhd8ed1ab_0 conda-forge json5 0.9.14 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py311h6eed73b_2 conda-forge jsonschema 4.19.0 pyhd8ed1ab_1 conda-forge jsonschema-specifications 2023.7.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.19.0 pyhd8ed1ab_1 conda-forge jupyter 1.0.0 py311h6eed73b_8 conda-forge jupyter-book 0.15.1 pyhd8ed1ab_0 conda-forge jupyter-cache 0.6.1 pyhd8ed1ab_0 conda-forge jupyter-lsp 2.2.0 pyhd8ed1ab_0 conda-forge jupyter_client 8.3.1 pyhd8ed1ab_0 conda-forge jupyter_console 6.6.3 pyhd8ed1ab_0 conda-forge jupyter_core 5.3.1 py311h6eed73b_0 conda-forge jupyter_events 0.7.0 pyhd8ed1ab_2 conda-forge jupyter_server 2.7.3 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge jupyterlab 4.0.5 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.25.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.9 pyhd8ed1ab_0 conda-forge kiwisolver 1.4.5 py311h5fe6e05_0 conda-forge krb5 1.21.2 hb884880_0 conda-forge latexcodec 2.0.1 pyh9f0ad1d_0 conda-forge lcms2 2.15 h2dcdeff_1 conda-forge lerc 4.0.0 hb486fe8_0 conda-forge libblas 3.9.0 18_osx64_openblas conda-forge libbrotlicommon 1.1.0 h0dc2134_0 conda-forge libbrotlidec 1.1.0 h0dc2134_0 conda-forge libbrotlienc 1.1.0 h0dc2134_0 conda-forge libcblas 3.9.0 18_osx64_openblas conda-forge libclang 15.0.7 default_hdb78580_3 conda-forge libclang13 15.0.7 default_h953c2e9_3 conda-forge libcurl 8.3.0 h5f667d7_0 conda-forge libcxx 16.0.6 hd57cbcb_0 conda-forge libdeflate 1.18 hac1461d_0 conda-forge libedit 3.1.20191231 h0678c8f_2 conda-forge libev 4.33 haf1e3a3_1 conda-forge libexpat 2.5.0 hf0c8a7f_1 conda-forge libffi 3.4.2 h0d85af4_5 conda-forge libgfortran 5.0.0 13_2_0_h97931a8_1 conda-forge libgfortran5 13.2.0 h2873a65_1 conda-forge libglib 2.78.0 hc62aa5d_0 conda-forge libiconv 1.17 hac89ed1_0 conda-forge libjpeg-turbo 2.1.5.1 h0dc2134_1 conda-forge liblapack 3.9.0 18_osx64_openblas conda-forge libllvm15 15.0.7 he4b1e75_3 conda-forge libnghttp2 1.52.0 he2ab024_0 conda-forge libogg 1.3.4 h35c211d_1 conda-forge libopenblas 0.3.24 openmp_h48a4ad5_0 conda-forge libopus 1.3.1 hc929b4f_1 conda-forge libpng 1.6.39 ha978bb4_0 conda-forge libpq 15.4 h3df487d_0 conda-forge libsodium 1.0.18 hbcb3906_1 conda-forge libsqlite 3.43.0 h58db7d2_0 conda-forge libssh2 1.11.0 hd019ec5_0 conda-forge libtiff 4.5.1 hf955e92_1 conda-forge libvorbis 1.3.7 h046ec9c_0 conda-forge libwebp-base 1.3.2 h0dc2134_0 conda-forge libxcb 1.15 hb7f2c08_0 conda-forge libxml2 2.11.5 h3346baf_1 conda-forge libzlib 1.2.13 h8a1eda9_5 conda-forge linkify-it-py 2.0.0 pyhd8ed1ab_0 conda-forge llvm-openmp 16.0.6 hff08bdf_0 conda-forge locket 1.0.0 pyhd8ed1ab_0 conda-forge markdown-it-py 2.2.0 pyhd8ed1ab_0 conda-forge markupsafe 2.1.3 py311h2725bcf_0 conda-forge matplotlib 3.7.2 py311h6eed73b_0 conda-forge matplotlib-base 3.7.2 py311haff9b01_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mdit-py-plugins 0.4.0 pyhd8ed1ab_0 conda-forge mdurl 0.1.0 pyhd8ed1ab_0 conda-forge mistune 3.0.1 pyhd8ed1ab_0 conda-forge msgpack-python 1.0.5 py311hd2070f0_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge mysql-common 8.0.33 h794ff91_4 conda-forge mysql-libs 8.0.33 he48d296_4 conda-forge myst-nb 0.17.2 pyhd8ed1ab_0 conda-forge myst-parser 0.18.1 pyhd8ed1ab_0 conda-forge nbclient 0.7.4 pyhd8ed1ab_0 conda-forge nbconvert 7.8.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.8.0 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 7.8.0 pyhd8ed1ab_0 conda-forge nbformat 5.9.2 pyhd8ed1ab_0 conda-forge ncurses 6.4 hf0c8a7f_0 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge notebook 7.0.3 pyhd8ed1ab_0 conda-forge notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge nspr 4.35 hea0b92c_0 conda-forge nss 3.92 hd6ac835_0 conda-forge numpy 1.25.2 py311hc44ba51_0 conda-forge openjpeg 2.5.0 h13ac156_2 conda-forge openpyxl 3.1.2 py311h2725bcf_0 conda-forge openssl 3.1.2 h8a1eda9_0 conda-forge overrides 7.4.0 pyhd8ed1ab_0 conda-forge packaging 23.1 pyhd8ed1ab_0 conda-forge pandas 2.1.0 py311hab14417_0 conda-forge pandoc 3.1.3 h9d075a6_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge partd 1.4.0 pyhd8ed1ab_1 conda-forge pathlib2 2.3.7.post1 py311h6eed73b_2 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 10.0.0 py311h7cb0e2d_0 conda-forge pip 23.2.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 3.10.0 pyhd8ed1ab_0 conda-forge ply 3.11 py_1 conda-forge pmagpy 4.2.106 pypi_0 pypi proj 9.2.1 hc8d59c9_0 conda-forge prometheus_client 0.17.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.39 pyha770c72_0 conda-forge prompt_toolkit 3.0.39 hd8ed1ab_0 conda-forge psutil 5.9.5 py311h5547dcb_0 conda-forge pthread-stubs 0.4 hc929b4f_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pybtex 0.24.0 pyhd8ed1ab_2 conda-forge pybtex-docutils 1.0.3 py311h6eed73b_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pydata-sphinx-theme 0.13.3 pyhd8ed1ab_0 conda-forge pygments 2.16.1 pyhd8ed1ab_0 conda-forge pyobjc-core 9.2 py311hf110eff_0 conda-forge pyobjc-framework-cocoa 9.2 py311hf110eff_0 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyproj 3.6.0 py311h854a015_1 conda-forge pyqt 5.15.9 py311h5b1a2bc_4 conda-forge pyqt5-sip 12.12.2 py311h46b81f0_4 conda-forge pyshp 2.3.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.11.5 h30d4d87_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.18.0 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-tzdata 2023.3 pyhd8ed1ab_0 conda-forge python-wget 3.2 py_0 conda-forge python.app 1.4 py311h5547dcb_1 conda-forge python_abi 3.11 3_cp311 conda-forge pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py311h2725bcf_0 conda-forge pyzmq 25.1.1 py311h5dacc12_0 conda-forge qt-main 5.15.8 hc03889f_16 conda-forge qtconsole 5.4.4 pyhd8ed1ab_0 conda-forge qtconsole-base 5.4.4 pyha770c72_0 conda-forge qtpy 2.4.0 pyhd8ed1ab_0 conda-forge readline 8.2 h9e318b2_1 conda-forge referencing 0.30.2 pyhd8ed1ab_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rpds-py 0.10.3 py311h299eb51_0 conda-forge scikit-learn 1.3.0 py311h83feae1_0 conda-forge scipy 1.11.2 py311h16c3c4d_1 conda-forge seaborn 0.12.2 hd8ed1ab_0 conda-forge seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge send2trash 1.8.2 pyhd1c38e8_0 conda-forge setuptools 68.2.2 pyhd8ed1ab_0 conda-forge shapely 2.0.1 py311haf3dd0c_2 conda-forge sip 6.7.11 py311hdf8f085_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge smpsite 1.0.0 dev_0 sniffio 1.3.0 pyhd8ed1ab_0 conda-forge snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge sphinx 5.0.2 pyh6c4a22f_0 conda-forge sphinx-book-theme 1.0.1 pyhd8ed1ab_0 conda-forge sphinx-comments 0.0.3 pyh9f0ad1d_0 conda-forge sphinx-copybutton 0.5.2 pyhd8ed1ab_0 conda-forge sphinx-design 0.3.0 pyhd8ed1ab_0 conda-forge sphinx-external-toc 0.3.1 pyhd8ed1ab_1 conda-forge sphinx-jupyterbook-latex 0.5.2 pyhd8ed1ab_0 conda-forge sphinx-multitoc-numbering 0.1.3 pyhd8ed1ab_0 conda-forge sphinx-thebe 0.2.1 pyhd8ed1ab_0 conda-forge sphinx-togglebutton 0.3.2 pyhd8ed1ab_0 conda-forge sphinxcontrib-applehelp 1.0.7 pyhd8ed1ab_0 conda-forge sphinxcontrib-bibtex 2.5.0 pyhd8ed1ab_0 conda-forge sphinxcontrib-devhelp 1.0.5 pyhd8ed1ab_0 conda-forge sphinxcontrib-htmlhelp 2.0.4 pyhd8ed1ab_0 conda-forge sphinxcontrib-jsmath 1.0.1 pyhd8ed1ab_0 conda-forge sphinxcontrib-qthelp 1.0.6 pyhd8ed1ab_0 conda-forge sphinxcontrib-serializinghtml 1.1.9 pyhd8ed1ab_0 conda-forge sqlalchemy 2.0.20 py311h2725bcf_0 conda-forge sqlite 3.43.0 h2b0dec6_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge statsmodels 0.14.0 py311h4a70a88_1 conda-forge tabulate 0.9.0 pyhd8ed1ab_1 conda-forge tblib 2.0.0 pyhd8ed1ab_0 conda-forge terminado 0.17.1 pyhd1c38e8_0 conda-forge threadpoolctl 3.2.0 pyha21a80b_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h5dbffcc_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.3.3 py311h2725bcf_0 conda-forge tqdm 4.66.1 pyhd8ed1ab_0 conda-forge traitlets 5.10.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.7.1 hd8ed1ab_0 conda-forge typing_extensions 4.7.1 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h71feb2d_0 conda-forge uc-micro-py 1.0.1 pyhd8ed1ab_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge urllib3 2.0.4 pyhd8ed1ab_0 conda-forge wcwidth 0.2.6 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.6.3 pyhd8ed1ab_0 conda-forge wheel 0.41.2 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.9 pyhd8ed1ab_0 conda-forge wxpython 4.2.1 py311h7162ac5_0 conda-forge xorg-libxau 1.0.11 h0dc2134_0 conda-forge xorg-libxdmcp 1.1.3 h35c211d_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 3.0.0 pyhd8ed1ab_0 conda-forge zipp 3.16.2 pyhd8ed1ab_0 conda-forge zlib 1.2.13 h8a1eda9_5 conda-forge zstd 1.5.5 h829000d_0 conda-forge