From 43431ab5fbefc11c28a3c4679c34324d1713cf67 Mon Sep 17 00:00:00 2001 From: Nathanael Wong Date: Mon, 19 Feb 2024 22:29:28 -0500 Subject: [PATCH] Debug extraction --- src/region/extract.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/region/extract.jl b/src/region/extract.jl index 4158075a..19cd5864 100644 --- a/src/region/extract.jl +++ b/src/region/extract.jl @@ -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) @@ -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)