project_raster: project_raster

View source: R/modification.R

project_rasterR Documentation

project_raster

Description

Convert raster to specific dimensions and formats

Usage

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"
)

Arguments

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

Author(s)

Kanishka Narayan (kanishka.narayan@pnnl.gov)


JGCRI/rgis documentation built on July 27, 2023, 1:47 p.m.