| read_CAMELS {gumboot} | R Documentation |
Reads simulated and observed values from CAMELS netcdf file for a single location
Description
Reads simulated and observed values from CAMELS netcdf file for a single location
Usage
read_CAMELS(nc_file, site, obsName = "obs", simName = "kge")
Arguments
nc_file |
Required. netCDF file to read CAMELS data from. |
site |
Required. Site number to extract data. |
obsName |
Required. Name for variable containing observations. Default is "obs". |
simName |
Required. Name for variable containing simulations. Default is "kge". |
Value
Returns a data frame containing the date, observed and simulated flows. The name of the
observed flow variable is obs, the name of the simulated flow variable is sim.
Author(s)
Martyn Clark and Kevin Shook
See Also
Examples
## Not run:
flows <- read_CAMELS(nc_file = "CAMELS_flow.nc", site = 1030500)
## End(Not run)
[Package gumboot version 1.0.1 Index]