You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/landsea/landsea.jl
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -196,22 +196,22 @@ function saveLandSea(
196
196
end
197
197
198
198
function getLandSea(
199
-
efol ::AbstractString,
200
-
ereg::ERA5Region=ERA5Region(GeoRegion("GLB"));
199
+
ereg ::ERA5Region= ERA5Region(GeoRegion("GLB"));
200
+
eroot::AbstractString=homedir(),
201
201
returnlsd =true,
202
202
FT = Float32
203
203
)
204
204
205
-
lsmfnc = joinpath(efol,"emask-$(ereg.gstr).nc")
205
+
lsmfnc = joinpath(eroot,"emask-$(ereg.gstr).nc")
206
206
207
207
if!isfile(lsmfnc)
208
208
209
209
@info "$(modulelog()) - The ERA5 Land-Sea mask dataset for the \"$(ereg.geoID)\" ERA5Region is not available, extracting from Global ERA5 Land-Sea mask dataset ..."
@info "$(modulelog()) - The Global ERA5 Land-Sea mask dataset for the \"$(ereg.geoID)\" ERA5Region is not available, downloading from the Climate Data Store ..."
0 commit comments