act.utils.accumulate_precip¶
- act.utils.accumulate_precip(act_obj, variable, time_delta=None)[source]¶
Program to accumulate rain rates from an act object and insert variable back into act object with “_accumulated” appended to the variable name. Please verify that your units are accurately described in the data.
- Parameters:
act_obj (xarray DataSet) – ACT Object.
variable (string) – Variable name.
time_delta (float) – Time delta to caculate precip accumulations over. Useful if full time series is not passed in.
- Returns:
act_obj (xarray DataSet) – ACT object with variable_accumulated.