-
Notifications
You must be signed in to change notification settings - Fork 306
run.biocro return values do not vary #1738
Copy link
Copy link
Closed
Labels
Description
> out <- PEcAn.BIOCRO::run.biocro(lat, lon,
+ metpath = metpath,
+ soil.nc = soil.nc,
+ config = config)
> head(out$daily)
lat lon year doy Stem Leaf Root
1: 40.0061 -88.2919 2004 1 45.79881 5.711558 3.674523
2: 40.0061 -88.2919 2004 2 45.79881 5.711558 3.674523
3: 40.0061 -88.2919 2004 3 45.79881 5.711558 3.674523
4: 40.0061 -88.2919 2004 4 45.79881 5.711558 3.674523
5: 40.0061 -88.2919 2004 5 45.79881 5.711558 3.674523
6: 40.0061 -88.2919 2004 6 45.79881 5.711558 3.674523
# <snip>
> length(unique(out$daily$Leaf))
[1] 1
This is a regression caused by the changes in #1620 -- the summary code is now taking max/sum across entire run rather than within days.
I have a fix in progress.
Description
Context
Possible Implementation
Reactions are currently unavailable