File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 4
4
5
5
The grids are available in various resolutions.
6
6
"""
7
- from packaging .version import Version
8
- from pygmt .clib import Session
9
7
from pygmt .datasets .load_remote_dataset import _load_remote_dataset
10
- from pygmt .exceptions import GMTInvalidInput , GMTVersionError
8
+ from pygmt .exceptions import GMTInvalidInput
11
9
from pygmt .helpers import kwargs_to_strings
12
10
13
11
__doctest_skip__ = ["load_earth_relief" ]
@@ -134,13 +132,6 @@ def load_earth_relief(
134
132
f"Invalid earth relief 'data_source' { data_source } , "
135
133
"valid values are 'igpp', 'gebco', 'gebcosi' and 'synbath'."
136
134
)
137
- if data_source != "igpp" :
138
- with Session () as lib :
139
- if Version (lib .info ["version" ]) < Version ("6.4.0" ):
140
- raise GMTVersionError (
141
- f"The { data_source } option is not available for GMT"
142
- " versions before 6.4.0."
143
- )
144
135
# Choose earth relief data prefix
145
136
if use_srtm and resolution in land_only_srtm_resolutions :
146
137
if data_source == "igpp" :
You can’t perform that action at this time.
0 commit comments