Getting Started
User Guide
Help & reference
DataSet.
spatial_sum
Calculate the spatial sum for all variables This is performed for each time step.
by_area (boolean) – Set to True if you want to multiply the values by the grid cell area before summing over space. Default is False.