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

Update dataset links to the new remote-datasets site #1785

Merged
merged 1 commit into from
Mar 7, 2022
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
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
extlinks = {
"gmt-docs": ("https://docs.generic-mapping-tools.org/latest/%s", None),
"gmt-term": ("https://docs.generic-mapping-tools.org/latest/gmt.conf#term-%s", ""),
"gmt-datasets": ("https://www.generic-mapping-tools.org/remote-datasets/%s", None),
}

# intersphinx configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/advanced/earth_relief.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
###############################################################################
# Load sample Earth relief data for the entire globe at a resolution of 1 arc
# degree. The other available resolutions are show
# at :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids`.
# at :gmt-datasets:`earth-relief.html`.
grid = pygmt.datasets.load_earth_relief(resolution="01d")

###############################################################################
Expand Down
4 changes: 1 addition & 3 deletions pygmt/datasets/earth_age.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ def load_earth_age(resolution="01d", region=None, registration=None):
registration type (**p** for pixel registration or **g** for gridline
registration).
Refer to
:gmt-docs:`datasets/remote-data.html#global-earth-seafloor-crustal-age-grids`
for more details.
Refer to :gmt-datasets:`earth_age.html` for more details.
Parameters
----------
Expand Down
3 changes: 1 addition & 2 deletions pygmt/datasets/earth_relief.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def load_earth_relief(resolution="01d", region=None, registration=None, use_srtm
registration type (**p** for pixel registration or **g** for gridline
registration).
Refer to :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids`
for more details.
Refer to :gmt-datasets:`earth-relief.html` for more details.
Parameters
----------
Expand Down