Skip to content

Commit

Permalink
Update the dataset links to the new remote-datasets URL
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Mar 5, 2022
1 parent 14a4947 commit fb20d40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
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", ""),
}

# 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

0 comments on commit fb20d40

Please sign in to comment.