materilize_grid: Materialize Grid from File or inputs

materilize_gridR Documentation

Materialize Grid from File or inputs

Description

Returns an empty SpatRast obj with prescibed properties

Usage

materilize_grid(
  file = NULL,
  ext = NULL,
  diminsion = NULL,
  projection = NULL,
  fillValue = NULL
)

Arguments

file

path to a gridded file (either .tif or .nc), or SpatRast object

ext

extent (xmin, xmax, ymin, ymax) in some coordinate system

diminsion

dimension (number of columns, number of rows)

projection

projection - the actual coordinate system

Value

SpatRaster object


mikejohnson51/opendap.catalog documentation built on Jan. 27, 2023, 1:25 a.m.