Skip to content

feat!: updates for rosetta-soil 0.3 - #16

Merged
brownag merged 2 commits into
mainfrom
v020
Mar 6, 2026
Merged

brownag merged 2 commits into
mainfrom
v020

Conversation

@brownag

@brownag brownag commented Mar 6, 2026

Copy link
Copy Markdown
Member

This pull request introduces a major update to the rosettaPTF R package, bringing compatibility with upstream rosetta-soil Python package v0.3 and several new features and improvements

The update expands the predictive capabilities to include new parameters (K0 and L), supports new estimation types ("arith" and "geo"), adds new R wrappers for Python functions, and deprecates some older interfaces. Documentation and vignettes have also been improved to reflect these changes

  • Updated run_rosetta() and predict.Rosetta() to support the 7-parameter output (including K0 and L) from rosetta-soil v0.3, and added an estimate_type argument to select between linear, logarithmic, and geometric parameter estimation

  • Added the UnsaturatedK() R constructor and predict.UnsaturatedK() method for predicting K0 and L from retention parameters, available when using rosetta-soil >= 0.3

  • Introduced the rosesoil() R wrapper for the new upstream rosesoil() Python function, facilitating direct and flexible predictions

  • Deprecated SoilDataFromArray() in favor of direct list input for rosetta-soil >= 0.3, and deprecated ann_predict() in favor of predict()

  • Added a new vignette on performance optimization and raster processing

  • Added helper method rosetta_pkg_version() to check rosetta-soil version

wip: nboot patch

perf: vectorize NNModel.predict

docs: add vignette

docs: properties

fixup: standardize on rosetta-soil 0.3.1

no nboot

fix arith
@brownag brownag self-assigned this Mar 6, 2026
@brownag brownag linked an issue Mar 6, 2026 that may be closed by this pull request
5 tasks
- Update Ubuntu version and Python version in workflow
@brownag
brownag merged commit b42074f into main Mar 6, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updates for rosetta-soil v0.3.0

2 participants