watbal_basin_of: watbal_basin_of.R

View source: R/watbal_basin_of.R

watbal_basin_ofR Documentation

watbal_basin_of.R

Description

Water balance for basin daily RHESSys output, as generated by outputfilters. To run, if your basin output is called "bd" type "bd=watbal(bd)". This will add a number of fields to your basin output file, the last of which will be called "watbal". This is your water balance error. You should see a minor numerical error here even if your water balances (on the order of 10^-6). If your watbal values are negative then water inputs are less than water outputs, and vice versa.

Usage

watbal_basin_of(bd)

Arguments

bd

The basin daily outputs from rhessys, most easily retrieved via 'readin_rhessys_output()'


ryanrbart/RHESSysIOinR documentation built on March 30, 2024, 11:15 p.m.