You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ section for the next release.
40
40
- PEcAn.SIPNET now accepts relative paths in its input XML (#3418). Previously all files referenced in the autogenerated `job.sh` needed to be specified as absolute paths.
41
41
- R version 4.4 installs Python 3.12 which wants to leverage os managed packages instead, install python3-pika using apt.
42
42
- Fixed a bugs and BADM now process both single-site and multi-site settings, detecting the input structure and processing each site independently to generate the correct number of ensemble members per site.
43
+
- Fixed "external pointer is not valid" error and addressed key bugs in `soilgrids_soilC_extract()` function (#3506)
# Early return if no valid sites (after processing internal_site_info)
71
+
if (nrow(internal_site_info) ==0) {
72
+
if (verbose) {
73
+
PEcAn.logger::logger.severe(
74
+
"No valid sites remaining after NA check. ",
75
+
"All sites had missing SoilGrids data for the first depth layer."
76
+
)
77
+
}
78
+
return(NULL)
79
+
}
80
+
69
81
#create a variable to store mean and quantile of organic carbon density (ocd) for each soil depth
70
82
ocdquant<-matrix(NA, nrow=6, ncol= length(internal_site_info$lon) *4) #row represents soil depth, col represents mean, 5%, 50% and 95%-quantile of ocd for all sites
0 commit comments