maskfile: Function creates a mask file to be read by dss.64.c.exe

View source: R/load.R

maskfileR Documentation

Function creates a mask file to be read by dss.64.c.exe

Description

Creates a mask file and writes the result into a text file (.out) that is stored in 'input' folder. The text file (.out) stores values -1,0 where -1 are assigned to nodata locations and 0 are assigned to nodes with values (id region). As input you should provide the name of list returned by 'grdfile()'.

Usage

maskfile(grdobj)

Arguments

grdobj,

string, name of list, output of function 'grdfile()'

Value

'maskfile()' also returns the following list of objects:

file

list characters; indicating filename and root folder where text file is stored

zones

list list of values to be passed to ssdpars()


maluicr/blockdss documentation built on Nov. 22, 2023, 11:42 a.m.