Description Usage Arguments Value Author(s) See Also Examples
View source: R/write_r2c_shed.R
Write MESH watershed data to r2c file
1 | write_r2c_shed(basin, header, r2cFile = "")
|
basin |
Required. The values defining the basin parameters, as read in by
|
header |
Required. The header lines from the basin r2c file, as read in by
|
r2cFile |
Required. The file to be written. |
If successful, returns TRUE
. If unsucessful, returns
FALSE
Kevin Shook
1 2 3 4 5 6 7 8 | ## Not run:
# read in basin
shed <- read_r2c_shed("MESH_drainage_database.r2c", values_only = FALSE,
as_rasters = FALSE)
# write as another file
write_r2c_shed(shed$basin, shed$header_lines, "new_basin.r2c")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.