From d90d6994f0eb4838287232a0df2f7fb8b837337f Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 14 Jul 2025 10:27:21 +1200 Subject: [PATCH 1/4] Set GMT_DATA_SERVER="Oceania" The NOAA server appears to timeout for some reason. Also --- book/tut03_spe_xarray.ipynb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/book/tut03_spe_xarray.ipynb b/book/tut03_spe_xarray.ipynb index 21c2d33..5528660 100644 --- a/book/tut03_spe_xarray.ipynb +++ b/book/tut03_spe_xarray.ipynb @@ -80,7 +80,8 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Let's use a PyGMT function to explore an Xarray DataArray. We can use the [`pygmt.datasets.load_earth_relief`](https://www.pygmt.org/v0.13.0/api/generated/pygmt.datasets.load_earth_relief.html) function to load one of GMT's remote datasets. This will take longer the first time that it's run because GMT downloads the data from the GMT server. We'll specify the server in order to quicken download speeds to Washington, D.C., USA." + "Let's use a PyGMT function to explore an Xarray DataArray. We can use the [`pygmt.datasets.load_earth_relief`](https://www.pygmt.org/v0.13.0/api/generated/pygmt.datasets.load_earth_relief.html) function to load one of GMT's remote datasets. This will take longer the first time that it's run because GMT downloads the data from the GMT server.\n", + "You can specify the [`GMT_DATA_SERVER`](https://docs.generic-mapping-tools.org/6.5/gmt.conf.html#term-GMT_DATA_SERVER) in order to quicken download speeds to your location." ] }, { @@ -89,7 +90,7 @@ "metadata": {}, "outputs": [], "source": [ - "with pygmt.config(GMT_DATA_SERVER=\"NOAA\"):\n", + "with pygmt.config(GMT_DATA_SERVER=\"Oceania\"):\n", " grid = pygmt.datasets.load_earth_relief(resolution=\"01d\")\n", "grid" ] From 2137270f51a3422eb51865598370e8900c364b69 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 14 Jul 2025 10:32:17 +1200 Subject: [PATCH 2/4] Update image hash for figure 1 --- book/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/intro.md b/book/intro.md index b2b6bcd..dc135e6 100644 --- a/book/intro.md +++ b/book/intro.md @@ -15,7 +15,7 @@ tutorials for making maps πŸ—ΊοΈ and animations 🎦 :gutter: 1 :::{grid-item-card} Tutorial 1 - First figure πŸš€ and Subplots / layout -:img-top: \_images/595c695c25a21e4711d8c268a368ef6fee13a6d9d7918e1ebdb92d8b0bbd4475.png +:img-top: \_images/c602786bf752e87289f43caedf9bfc40090944d450f721a51d8c952235fcc313.png :link: ./tut01_firstfigure.html by [Jing-Hui Tong](https://orcid.org/0009-0002-7195-3071) +++ From a6c1801d330f80869e3f0e20faa644403c94c811 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 14 Jul 2025 10:37:47 +1200 Subject: [PATCH 3/4] Temporarily trigger Jupyter Book build on pull request --- .github/workflows/deploy-book.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-book.yml b/.github/workflows/deploy-book.yml index b110ffc..2579d0e 100644 --- a/.github/workflows/deploy-book.yml +++ b/.github/workflows/deploy-book.yml @@ -4,7 +4,7 @@ name: deploy-book # Only run this when the main branch changes on: # Uncomment the 'pull_request' line below to manually re-build Jupyter Book - # pull_request: + pull_request: workflow_dispatch: push: branches: From 794e3a74fb74af8f33514eb379024122a0e5f805 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Mon, 14 Jul 2025 10:51:35 +1200 Subject: [PATCH 4/4] Revert "Temporarily trigger Jupyter Book build on pull request" This reverts commit a6c1801d330f80869e3f0e20faa644403c94c811. --- .github/workflows/deploy-book.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-book.yml b/.github/workflows/deploy-book.yml index 2579d0e..b110ffc 100644 --- a/.github/workflows/deploy-book.yml +++ b/.github/workflows/deploy-book.yml @@ -4,7 +4,7 @@ name: deploy-book # Only run this when the main branch changes on: # Uncomment the 'pull_request' line below to manually re-build Jupyter Book - pull_request: + # pull_request: workflow_dispatch: push: branches: