Description Usage Arguments Details Value Examples
Compute cross section flow area directly from cross section geometry.
1 2 3 4 |
d |
The cross section data, i.e. output of |
time.col |
The column containing time stamps. |
station.col |
The column containing cross section station IDs. |
distance.col |
The column containing cross section distances. |
elevation.col |
The column containing cross section elevations. |
bank.stations |
A table defining the bank station distances to use when
computing cross section area. If |
reference.elevation |
Use predefined reference elevations when computing
cross section area. Can be a constant or a two column station of cross
section labels and associated reference elevation. If |
bottom.elevation |
Use predefined bottom elevations when computing
cross section area. Can be a constant or a two column station of cross
section labels and associated bottom elevation. If |
The bank.stations
argument can be formatted in multiple ways
to accommodate different bank station definitions. If bank stations are
fixed at the same distances in each cross section and do not change over
time, bank.stations
can be a two-element numeric vector specifying
constant left and right bank stations, respectively. If bank stations vary
by station but are fixed in time, bank.stations
can be formatted as
a three-column table with the first column containing station IDs, the
second column containing the left bank stations and the third column
containing the right bank stations. This can be used if e.g. the bank
stations are read from a RAS output file using read_bank_stations
.
If bank stations vary both by station and across time, bank.stations
can be formatted as a four column table with columns "Time", "Station",
"LOB", "ROB". This can be used if e.g. the bank stations are read from a
RAS output file using read_bed_limits
.
A wide-format table of cross section areas.
1 2 3 4 5 6 7 8 9 10 | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
package = "RAStestR")
quasi.xs = read_xs(simple.quasi)
xs_area(quasi.xs)
xs_area(quasi.xs, reference.elevation = 1200)
xs_area(quasi.xs, reference.elevation = 1200, bottom.elevation = 1170)
quasi.banks = read_bank_stations(simple.quasi)
xs_area(quasi.xs, bank.stations = quasi.banks, reference.elevation = 1200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.