fill_dem: Produce a DEM with basins filled in

View source: R/dem.r

fill_demR Documentation

Produce a DEM with basins filled in

Description

Produce a DEM with basins filled in

Usage

fill_dem(dem, file = NA)

Arguments

dem

A raster::raster; a digital elevation model.

file

The file name of the raster to be returned, see details.

Details

This is a wrapper for r.fill.dir

It is recommended to specify the file parameter (including the extension to specify file format; e.g., .tif, .grd). If not specified, a temp file will be created and will be lost at the end of the R session.

Value

A filled DEM raster

Examples


    data(kamp_dem)
    kamp_fill = fill_dem(kamp_dem)


flee-group/watershed documentation built on July 25, 2022, 12:46 p.m.