UpdateLinkFile: Update a route link netcdf file based on an R dataframe.

Description Usage Arguments

View source: R/udmap_utils.R

Description

UpdateLinkFile takes a route link dataframe (e.g., as generated by ReadLinkFile then subsetted) and exports it to a new model-ready route link file.

Usage

1
UpdateLinkFile(linkFile, linkDf, subDim = TRUE)

Arguments

linkFile

Path to new route link file to update. This should be a copy of an existing route link file, as it will be overwritten

linkDf

Dataframe of the new route link information to write to the new file

subDim

Boolean whether the dimensions in the new file need to be subsetted to match the new dataframe (DEFAULT=TRUE)


NCAR/rwrfhydro documentation built on Feb. 28, 2021, 12:47 p.m.