Export water budget.
Supported formats are "csv" (default) or "nc" (NetCDF).
write_recharge_results(obj, water_budget, output_dir = tempdir(), ...)# S3 method for default
write_recharge_results(obj, water_budget, output_dir = tempdir(), ...)
# S3 method for hydrobudget
write_recharge_results(
obj,
water_budget,
output_dir = tempdir(),
format = "csv",
input_rcn = NULL,
names = list(lon = list(longname = "Longitude", unit = "deg"), lat = list(longname =
"Lattitude", unit = "deg"), time = list(longname =
"Month since start of the water budget", unit = "month")),
...
)
(Invisible) the output directory.
The recharge object.
The computed water budget.
The output directory where result files will be written. Default is a temporary directory.
Other arguments passed to methods
The file output format. Use "nc" for NetCDF format. Default is "csv".
The RCN values. Input can be a data.frame/data.table or a path to a data file.
The long names and units of the NetCDF dimensions.