Skip to content

Commit 154f06b

Browse files
committed
Paths for ERA5Regions
1 parent e4102fe commit 154f06b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/region/region.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Keyword Argument
7777
"""
7878
function ERA5Region(
7979
ID :: AbstractString;
80+
path :: AbstractString = homedir(),
8081
resolution :: Real = 0,
8182
ST = String,
8283
FT = Float64
@@ -86,7 +87,7 @@ function ERA5Region(
8687
resolution = regionstep(ID,resolution)
8788
if ID == "GLB"; isglb = true; else; isglb = false end
8889

89-
return ERA5Region(GeoRegion(ID),resolution=resolution,ST=ST,FT=FT)
90+
return ERA5Region(GeoRegion(ID,path=path),resolution=resolution,ST=ST,FT=FT)
9091

9192
end
9293

0 commit comments

Comments
 (0)