Skip to content

Commit 8581e02

Browse files
committed
Debug, it is imperative that parent ERA5Region resolution is the same as the given ERA5Region
1 parent fc35c4f commit 8581e02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ERA5Reanalysis"
22
uuid = "99c076f5-c00e-46eb-a0bd-7ba31777c146"
33
authors = ["Nathanael Wong <natgeo.wong@outlook.com>"]
4-
version = "0.3.3"
4+
version = "0.3.4"
55

66
[deps]
77
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/region/extract.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function extract(
1414

1515
@info "$(modulelog()) - Retrieving GeoRegion and LandSea Dataset information for the parent GeoRegion of \"$(ereg.ID)\", \"$(ereg.geo.parID)\""
1616

17-
preg = ERA5Region(GeoRegion(ereg.geo.parID))
17+
preg = ERA5Region(GeoRegion(ereg.geo.parID),resolution=ereg.resolution)
1818
plsd = getLandSea(e5ds,preg);
1919
rlsd = getLandSea(e5ds,ereg);
2020
plon = plsd.lon; nplon = length(plon)

0 commit comments

Comments
 (0)