@@ -140,10 +140,10 @@ def load_earth_relief(
140
140
land_only_srtm_resolutions = ["03s" , "01s" ]
141
141
142
142
earth_relief_sources = {
143
- "igpp" : "earth_relief_ " ,
144
- "gebco" : "earth_gebco_ " ,
145
- "gebcosi" : "earth_gebcosi_ " ,
146
- "synbath" : "earth_synbath_ " ,
143
+ "igpp" : "earth_relief " ,
144
+ "gebco" : "earth_gebco " ,
145
+ "gebcosi" : "earth_gebcosi " ,
146
+ "synbath" : "earth_synbath " ,
147
147
}
148
148
if data_source not in earth_relief_sources :
149
149
raise GMTInvalidInput (
@@ -153,7 +153,7 @@ def load_earth_relief(
153
153
# Choose earth relief data prefix
154
154
if use_srtm and resolution in land_only_srtm_resolutions :
155
155
if data_source == "igpp" :
156
- dataset_prefix = "srtm_relief_ "
156
+ dataset_prefix = "srtm_relief "
157
157
else :
158
158
raise GMTInvalidInput (
159
159
f"Option 'use_srtm=True' doesn't work with data source '{ data_source } '."
@@ -168,8 +168,8 @@ def load_earth_relief(
168
168
case "gebco" | "gebcosi" :
169
169
dataset_name = "earth_gebco"
170
170
grid = _load_remote_dataset (
171
- dataset_name = dataset_name ,
172
- dataset_prefix = dataset_prefix ,
171
+ name = dataset_name ,
172
+ prefix = dataset_prefix ,
173
173
resolution = resolution ,
174
174
region = region ,
175
175
registration = registration ,
0 commit comments