Skip to content

Commit

Permalink
Try if-else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnefroehlich committed Dec 26, 2024
1 parent fcd3a3d commit 0a96819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmt/datasets/earth_free_air_anomaly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0a96819

Please sign in to comment.