Skip to content

Commit 103feaa

Browse files
authored
Update the dataset links to the new remote-datasets URL (#1785)
1 parent 3a9cce8 commit 103feaa

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
extlinks = {
4747
"gmt-docs": ("https://docs.generic-mapping-tools.org/latest/%s", None),
4848
"gmt-term": ("https://docs.generic-mapping-tools.org/latest/gmt.conf#term-%s", ""),
49+
"gmt-datasets": ("https://www.generic-mapping-tools.org/remote-datasets/%s", None),
4950
}
5051

5152
# intersphinx configuration

examples/tutorials/advanced/earth_relief.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
###############################################################################
1414
# Load sample Earth relief data for the entire globe at a resolution of 1 arc
1515
# degree. The other available resolutions are show
16-
# at :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids`.
16+
# at :gmt-datasets:`earth-relief.html`.
1717
grid = pygmt.datasets.load_earth_relief(resolution="01d")
1818

1919
###############################################################################

pygmt/datasets/earth_age.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ def load_earth_age(resolution="01d", region=None, registration=None):
2626
registration type (**p** for pixel registration or **g** for gridline
2727
registration).
2828
29-
Refer to
30-
:gmt-docs:`datasets/remote-data.html#global-earth-seafloor-crustal-age-grids`
31-
for more details.
29+
Refer to :gmt-datasets:`earth_age.html` for more details.
3230
3331
Parameters
3432
----------

pygmt/datasets/earth_relief.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ def load_earth_relief(resolution="01d", region=None, registration=None, use_srtm
2626
registration type (**p** for pixel registration or **g** for gridline
2727
registration).
2828
29-
Refer to :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids`
30-
for more details.
29+
Refer to :gmt-datasets:`earth-relief.html` for more details.
3130
3231
Parameters
3332
----------

0 commit comments

Comments
 (0)