convert_sagaext_r {Rsagacmd} | R Documentation |
This is used because the R raster/terra libraries expect to read and write SAGA grid formats using the '.sdat' file extension, not '.sgrd'.
convert_sagaext_r(fp)
fp |
file path to raster writing |
a character vector with the corrected file extensions to read SAGA sgrd files back into R.