project_raster | R Documentation |
Convert raster to specific dimensions and formats
project_raster(
input_file = "input.tif",
input_format = ".tif",
NO_DATA_STATUS = TRUE,
method = "average",
no_data_value = 127,
resolution = "+proj=longlat +ellps=WGS84",
col_row = c(4320, 2160),
extent = c(-180, -90, 180, 90),
out_file = "outfile",
output_format = "ENVI"
)
input_format |
format of the input file |
method |
Method of conversion. Default is set to average |
col_row |
columns and rows in output dataset. Defualt is set to c(4320,2160) |
extent |
output extent. Default is set to c(-180,-90,180,90) |
out_file |
Name of output file |
output_format |
Format of output. Currently set to ENVI. |
inupt_file |
location of input file |
projection |
Output projection type. Defualt is set to +proj=longlat +ellps=WGS84 |
Kanishka Narayan (kanishka.narayan@pnnl.gov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.