Skip to content

Commit

Permalink
fix GMT CI
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Oct 25, 2024
1 parent 98cd359 commit 1784861
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/GMT_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ function import_topo(limits; file::String="@earth_relief_01m", maxattempts=5)
end
attempt += 1
end
if isempty(G)
error("Could not download GMT topography data")
end
(@isdefined G) || error("Could not download GMT topography data")

# Transfer to GeoData
nx, ny = size(G.z,2), size(G.z,1)
Expand Down

0 comments on commit 1784861

Please sign in to comment.