Skip to content

Commit 0a96819

Browse files
Try if-else statement
1 parent fcd3a3d commit 0a96819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/datasets/earth_free_air_anomaly.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def load_earth_free_air_anomaly(
115115
)
116116
raise GMTInvalidInput(msg)
117117
grid = _load_remote_dataset(
118-
name=prefix,
118+
name="earth_faa" if data_source == "faa" else "earth_faaerror",
119119
prefix=prefix,
120120
resolution=resolution,
121121
region=region,

0 commit comments

Comments
 (0)