Writes out HS objects in order to use them outside R. By default
the function writes the geometry using st_write, but where
list columns are modified since they cannot be written by st_write.
Alternatively the function can output a timeseries specified by the user
(runoff, discharge, or control).
HSwrite(x, filename, what = "geometry", ...)
| x | A |
|---|---|
| filename | Filename to write to. |
| what | What to write. Accepts |
| ... | options passed to |