nctoolkit.DataSet.sum_all#
- DataSet.sum_all(drop=True, new_name=None)#
sum_all: Calculate the sum of all variables for each time step
- Parameters:
drop (boolean) – Do you want to keep variables?
new_name (string) – If you want to name the output of sum_all to a specific name
Examples
>>> ds.sum_all() Setting the name of the output to combined >>> ds.sum_all(new_name = "combined")