diff --git a/pygmt/datasets/earth_free_air_anomaly.py b/pygmt/datasets/earth_free_air_anomaly.py index 4e2c150f281..340dfac66cc 100644 --- a/pygmt/datasets/earth_free_air_anomaly.py +++ b/pygmt/datasets/earth_free_air_anomaly.py @@ -115,7 +115,7 @@ def load_earth_free_air_anomaly( ) raise GMTInvalidInput(msg) grid = _load_remote_dataset( - name=prefix, + name="earth_faa" if data_source == "faa" else "earth_faaerror", prefix=prefix, resolution=resolution, region=region,