setup_pipes.RdSetup pipes for bathtub inundation modeling
setup_pipes( pipes, type = "depth", up_invert, dn_invert, null_value = 99, invert_units = "ft", up_elev = NA, dn_elev = NA, elev_units = "ft", vdatum = "NAVD88", diam, diam_units, other_cols = NULL, workspace )
| pipes | A |
|---|---|
| type | Type of invert survey data. 'depth', 'elevation', or 'none' |
| up_invert | Name of column denoting upstream invert survey data |
| dn_invert | Name of column denoting downstream invert survey data |
| null_value | Invert survey data value indicating missing data |
| up_elev | Name of column denoting surface elevation of upstream pipe ends |
| dn_elev | Name of column denoting surface elevation of downstream pipe ends |
| elev_units | Units of |
| vdatum | Vertical datum of elevation data (only NAVD88 supported) |
| diam | Name of column denoting pipe diameter |
| diam_units | Units of |
| other_cols | Other columns to preserve |
| workspace | Path to bathtub folder |
An sf object denoting pipes formatted with units
# pipes_n <- # setup_pipes(pipes, # type = "none", # diam = "DIAMETER", # diam_units = "in")