- Compatible with
rosetta-soilPython package v0.3.0- Updated
run_rosetta()andpredict.Rosetta()to handle the 7-parameter output (addingK0andL) introduced inrosetta-soilv0.3.0. - Added
estimate_typeargument torun_rosetta()to support linear, logarithmic (default), and geometric parameter estimations. Improved documentation and added examples for the geometric scale. - Added
UnsaturatedK()R constructor andpredict.UnsaturatedK()method for predictingK0andLfrom retention parameters (requiresrosetta-soil>= 0.3.0). - Added
rosesoil()R wrapper for the new upstreamrosesoil()function (requiresrosetta-soil>= 0.3.0). - Deprecated
SoilDataFromArray()in favor of direct list input (supported inrosetta-soil>= 0.3.0). - Deprecated
ann_predict()as the underlying Python method has been removed in v0.3.0. It now redirects topredict().
- Updated
- Added a new vignette: "Performance Optimization and Raster Processing" covering best practices for high-throughput workflows.
- Fix check logic for whether input SpatRaster is in memory
-
Added arguments to
install_rosetta()-
systemargument for installing to user site packages with--userflag -
upgradeargument for forcing upgrade of rosetta-soil module
-
-
Fixes for recent changes in {reticulate} (>= 1.29)
- Add custom
py_to_r()S3 wrapper forrosetta.rosetta.SoilDataobjects (#8)
- Add custom
-
Suppress some output on non-Windows platforms
-
Update tests for modern usage of {terra} categorical rasters
- Set minimum R version to 3.5
-
Improvements to
find_python()(now uses user pathpythonif defined, and callsreticulate::use_python()as needed) -
Changed
.onLoad()behavior (should reduce amount of custom Python settings needed)
- Updated unit tests to skip if required Python modules are not installed
- Fixes for
find_python()heuristics
- Clarified virtual and Conda environments for {reticulate} setup in function documentation and README
- Add
find_python()helper method- This method is called when you load the package with
library(rosettaPTF)AND in individual calls torosettaPTF::install_rosetta() - Sets the package option
rosettaPTF.python_pathand returns the value
- This method is called when you load the package with
- Add
run_rosetta()- Pass through variable order (
vars) and parallel/block processing arguments (core,file,nrows,overwrite) to SpatRaster method for Raster* objects
- Pass through variable order (
- Use {terra} internally for raster data inputs and outputs
- Add S3
run_rosetta()methods formatrix,RasterBrickandSpatRaster
- Add S3
run_rosetta()methods fordata.frameandRasterStack
- Initial R package
- Use {reticulate} to handle install of Python modules:
rosetta-soil,numpy - Provide
list-input interface; directly coercible to Python data structures used forrun_rosetta()