Integrate LPJ-GUESS with SDA module and synchronize with latest upstream#3914
Integrate LPJ-GUESS with SDA module and synchronize with latest upstream#3914mdietze merged 7 commits intoPecanProject:developfrom
Conversation
Merge branch 'my-work-backup-20260331' into develop # Conflicts: # modules/assim.sequential/R/Adjustment.R # modules/assim.sequential/R/Analysis_sda_block.R # modules/assim.sequential/R/sda.enkf_MultiSite.R # modules/uncertainty/R/ensemble.R # modules/uncertainty/R/get.parameter.samples.R
Yeligay8
left a comment
There was a problem hiding this comment.
In CI / check (check_models, 4.2) / check (pull_request) error:
Status: BROKEN
Error: Please fix these and resubmit.
Main blocking issue:
checking R files for non-ASCII characters ... WARNING
File: update.state.both.LPJGUESS.R
I suggest to fix to:
grep -n "[^ -~]" models/lpjguess/R/update.state.both.LPJGUESS.R
OR
tools::showNonASCIIfile("models/lpjguess/R/update.state.both.LPJGUESS.R")
Also, maybe replacing characters might help:
“ ” to ", ‘ ’ to ' , — to -, µ to u
Here I guess R doesn't know where str () comes from:
no visible global function definition for ‘str’
I suggest: importFrom(utils, str)
I guess here needs fixing in missing documentation:
checking for missing documentation entries ... WARNING
run:
devtools::document()
then check for missing docs:
devtools::check()
Here needs fixing in empty Rd section:
Dropping empty section \details
you can edit to:
dot-seed_cohort_quick.Rd
Remove empty section:
\details{
}
Fix ASCII:
tools::showNonASCIIfile("models/lpjguess/R/update.state.both.LPJGUESS.R")
Fix import and add:
#' @importFrom utils str
Regenerate docs:
devtools::document()
Re-run checks locally:
devtools::check()
Run Make again:
make -j1 check_models
|
@Yeligay8 Thanks for the detailed review. I’ve addressed the issues you pointed out, including the non-ASCII characters and missing documentation, and the |
Not a dev team member. Issues have been addressed. Likely that the review was LLM generated.
20bd132
Description
This PR implements the coupling of LPJ-GUESS within the PEcAn Sequential Data Assimilation (SDA) workflow. It includes critical updates to state handling, binary data extraction, and ensures full compatibility with the latest PEcAn develop branch:
Motivation and Context
Review Time Estimate
Types of changes
Checklist: