Description Usage Arguments Value Examples
Read a standard (not grain class-specific) table.
1 2 | read_standard(f, table.name, which.times = NULL, which.stations = NULL,
override.sediment = FALSE)
|
f |
The HDF5 file to read. |
table.name |
The table to read. |
which.times |
Character vector of timestamps to extract. If NULL, all timestamps will be returned. |
which.stations |
Character vector of stations to extract. If NULL, all stations will be returned. |
override.sediment |
(For Unsteady+Sediment models only) If True, extract data from the hydraulic rather than sediment output. |
A dataframe with a column "Time" containing the Date Time Stamp data and columns "XS_####" where ### is the cross-section ID.
1 2 3 4 5 6 7 8 9 10 11 12 13 | simple.quasi = system.file("sample-data/SampleQuasiUnsteady.hdf",
package = "RAStestR")
read_standard(simple.quasi, "Flow")
simple.unsteady = system.file("sample-data/SampleUnsteady.hdf",
package = "RAStestR")
read_standard(simple.unsteady, "Flow")
read_standard(simple.quasi, "Flow", which.times = "11DEC1990 01:00:00",
which.stations = c("XS_800", "XS_796.00*"))
read_standard(simple.quasi, "Flow", which.times = 2:3,
which.stations = 1:4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.