convert_sagaext_r {Rsagacmd} | R Documentation |
Ensure that the file extension for the SAGA raster format ends with .sdat for reading or writing SAGA grid objects in R.
Description
This is used because the R raster/terra libraries expect to read and write SAGA grid formats using the '.sdat' file extension, not '.sgrd'.
Usage
convert_sagaext_r(fp)
Arguments
fp |
file path to raster writing |
Value
a character vector with the corrected file extensions to read SAGA sgrd files back into R.
[Package Rsagacmd version 0.4.2 Index]