write_arc_grid: Write ArcInfo ASCII grid data.

Description Usage Arguments

View source: R/nc4_relevents.R

Description

Write the grid data to the file as a ArcInfo type ASCII file by offering a list of grid data like the output of points2grid() or create_flow_direction(), or a matrix and some necessary informations like cell size, x and y corner of the grid data and so on.

Usage

1
2
write_arc_grid(grid, out_file, xcor = NULL, ycor = NULL, csize = NULL,
  NA_value = -9999)

Arguments

grid

A list of grid data or a matrix. When it's a matrix, xcor, ycor and csize are necessary.

out_file

Output file path.

xcor

X corner of the grid. Necessary when grid is a matrix.

ycor

Y corner of the grid. Necessary when grid is a matrix.

csize

Cell size of the grid. Necessary when grid is a matrix.

NA_value

A value to reprent the NA value.


Sibada/sibadaR documentation built on Jan. 31, 2020, 6:40 p.m.