-
Notifications
You must be signed in to change notification settings - Fork 282
STICS' write.config using vectors of parameters to overwrite #3395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nality of SticsRFiles::set_param_xml.
Added which STICS file the parameter is found in to the pecan2stics lookup table.
Co-authored-by: Istem Fer <fer.istem@gmail.com>
|
sorry @infotroph I missed previous notifications on this, is there anything else remaining for us to check? thank you for keeping it updated |
|
@istfer Looks like the current merge blocker is the package checks complaining about an unexported function: I only checked briefly, but it looks like you may have been using Alternately, if there's not a clean way to avoid using |
Remove step of soil file conversion due to update in SticsRFiles.
ffecef7
Description
Modified the usage of SticsOnR:set_param_xml() to utilise the vector functionality where many parameters can be passed to write them at once. This entailed removing the individual parameter writing calls and adding a conversion function pecan2stics() that takes pecan parameter names and converts them to the corresponding stics parameter names, along with any necessary unit conversions.
Motivation and Context
This change should speed up the use of PEcAn.STICS as there were many individual set_param_xml calls so it was slow to write configs.
Review Time Estimate
Types of changes
Checklist: