Skip to content

Commit

Permalink
Debug extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Feb 20, 2024
1 parent edfd3ae commit 43431ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/region/extract.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function extract(

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

sreg = ERA5Region(sgeo,gres=ereg.resolution)
sreg = ERA5Region(sgeo,resolution=ereg.resolution)
plsd = getLandSea(e5ds,ereg)
rlsd = getLandSea(e5ds,sreg)
plon = plsd.lon; nplon = length(plon)
Expand Down Expand Up @@ -175,7 +175,7 @@ function extract(
rlsd = Vector{LandSea}(undef,ngeo)
plsd = getLandSea(e5ds,ereg)
for igeo in 1 : ngeo
sreg[igeo] = ERA5Region(geov[igeo],gres=ereg.resolution)
sreg[igeo] = ERA5Region(geov[igeo],resolution=ereg.resolution)
rlsd[igeo] = getLandSea(e5ds,sreg[igeo])
end
plon = plsd.lon; nplon = length(plon)
Expand Down

0 comments on commit 43431ab

Please sign in to comment.