From ea1ba460d3765d2e35581ac3a67f2ec76644fea6 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Fri, 16 Jun 2023 16:27:20 -0400 Subject: [PATCH 1/2] Update to latest template --- README.md | 6 +++--- _config.yml | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a6fae79e..12f5e976 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ # Landsat ML Cookbook [![nightly-build](https://github.com/ProjectPythia/landsat-ml-cookbook/actions/workflows/nightly-build.yaml/badge.svg)](https://github.com/ProjectPythia/landsat-ml-cookbook/actions/workflows/nightly-build.yaml) -[![Binder](http://binder.mypythia.org/badge_logo.svg)](http://binder.mypythia.org/v2/gh/ProjectPythia/landsat-ml-cookbook/main?labpath=notebooks) +[![Binder](https://binder.projectpythia.org/badge_logo.svg)](https://binder.projectpythia.org/v2/gh/ProjectPythia/landsat-ml-cookbook/main?labpath=notebooks) This Project Pythia Cookbook covers the essential materials for working with Landsat data in the context of machine learning workflows. @@ -42,12 +42,12 @@ Example workflows include: - Spectral Clustering - Demonstrating a machine learning approach to cluster pixels of satellite data and comparing cluster results across time ## Running the Notebooks -You can either run the notebook using [Binder](https://mybinder.org/) or on your local machine. +You can either run the notebook using [Binder](https://binder.projectpythia.org) or on your local machine. ### Running on Binder The simplest way to interact with a Jupyter Notebook is through -[Binder](https://mybinder.org/), which enables the execution of a +[Binder](https://binder.projectpythia.org), which enables the execution of a [Jupyter Book](https://jupyterbook.org) in the cloud. The details of how this works are not important for now. All you need to know is how to launch a Pythia Cookbooks chapter via Binder. Simply navigate your mouse to diff --git a/_config.yml b/_config.yml index 797aca4e..99b4963b 100644 --- a/_config.yml +++ b/_config.yml @@ -21,10 +21,10 @@ tags: - dask execute: - # To execute notebooks via a binder instead, replace 'cache' with 'binder' - execute_notebooks: force + # To execute notebooks via a Binder instead, replace 'cache' with 'binder' + execute_notebooks: cache timeout: 600 - allow_errors: True + allow_errors: False # cells with expected failures must set the `raises-exception` cell tag # Add a few extensions to help with parsing content parse: @@ -41,6 +41,8 @@ parse: sphinx: config: + linkcheck_ignore: ["https://doi.org/*"] # don't run link checker on DOI links since they are immutable + nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder) html_favicon: notebooks/images/icons/favicon.ico html_last_updated_fmt: '%-d %B %Y' html_theme: sphinx_pythia_theme @@ -61,7 +63,7 @@ sphinx: icon: fab fa-youtube-square type: fontawesome launch_buttons: - binderhub_url: http://binder.mypythia.org + binderhub_url: https://binder.projectpythia.org notebook_interface: jupyterlab extra_navbar: | Theme by Project Pythia.

From c08c450d896fc9d95b99a5cd8dab080970a692b4 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Fri, 16 Jun 2023 17:12:49 -0400 Subject: [PATCH 2/2] Add rioxarray to evn --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index 3c4f46ae..f38a2299 100644 --- a/environment.yml +++ b/environment.yml @@ -27,6 +27,7 @@ dependencies: - numpy - cartopy - rasterio + - rioxarray - s3fs - jupyter-book - jupyterlab