Skip to content

Set GMT_DATA_SERVER="Oceania" #42

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

Merged
merged 4 commits into from
Jul 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
+++
Expand Down
5 changes: 3 additions & 2 deletions book/tut03_spe_xarray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
},
{
Expand All @@ -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"
]
Expand Down