rapr 1.0.0
rapr 1.0.0 (2025-05-12)
- Initial CRAN release! 馃殌
- Major
get_rap()interface updates- Added
sourceargument to toggle between RAP 30m ("rap-30m"; Landsat) and RAP 10m ("rap-10m"; Sentinel 2) products- For details on new RAP 10m products see: http://rangeland.ntsg.umt.edu/data/rangeland-s2/README and
citation("rapr")
- For details on new RAP 10m products see: http://rangeland.ntsg.umt.edu/data/rangeland-s2/README and
- Added
templateargument for setting target grid for projection of result.- Default behavior (
template=NULL) will return a SpatRaster in the native grid system of requested RAP source. - For a large area of interest (that spans multiple UTM zones and
source="rap-10m") standard "EPSG:5070" grid system will be used whentemplateis not set by the user
- Default behavior (
- Added
vrtargument. Whenvrt=TRUEthe merging/resampling process is bypassed and a GDAL VRT file is generated to reference the source directly. - Added
legacyargument. Default (legacy=FALSE) behavior is to use GDAL via terra for all raster and vector data processing. Setlegacy=TRUEto use sfgdal_translateimplementation from rapr 0.1.x.
- Added
Breaking changes
- Default behavior is to use GDAL via terra for all raster data processing. Set
legacy=TRUEto use sfgdal_translateimplementation from rapr 0.1.x. - SpatRaster objects passed as
xare now used astemplateso that the output conforms with the input grid system. To avoid this behavior either specifytemplatewith the desired grid template, or convert the SpatRaster to a polygon extent withterra::as.polygons(ext=TRUE)(or similar) progressargument has been replaced withverbose; forlegacy=TRUE
Other changes
- Simplified vignette: replaced knitr and rmarkdown with litedown
- Simplified unit testing suite: replaced testthat with tinytest
What's Changed
- add rap 10m function by @gharrison159 in #5
- rapr v1.0.0 by @brownag in #7
New Contributors
- @gharrison159 made their first contribution in #5
Full Changelog: 0.1.2...1.0.0