act.utils.accumulate_precip(ds, variable, time_delta=None)[source]

Program to accumulate rain rates from an act xarray dataset and insert variable back into an act xarray dataset with “_accumulated” appended to the variable name. Please verify that your units are accurately described in the data.

  • ds (xarray.DataSet) – ACT Xarray dataset.

  • variable (string) – Variable name.

  • time_delta (float) – Time delta to caculate precip accumulations over. Useful if full time series is not passed in.


ds (xarray.DataSet) – ACT Xarray dataset with variable_accumulated.