View source: R/reprojectASCII.R
reprojectASCII | R Documentation |
Reads and reprojects an ASCII raster file following the data acquisition with ClimateNA (or any alternative source).
reprojectASCII(file, direc = getwd(), NAflag = -9999, projection = "EPSG:4326")
file |
ASCII file that requires reprojection |
direc |
The output directory. |
NAflag |
NA value within the raster to mask when reprojecting. |
projection |
The output projection in which the ASCII input requires to be reprojected to. The default value is "EPSG:4326" |
Same ASCII file reprojected
Michael Burnett - UBC Faculty of Forestry
files <- list.files(pattern='*asc$') for(i in files){ reprojectASCII(i,NAflag = 32647) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.