salem.DataArrayAccessor.deacc

DataArrayAccessor.deacc(as_rate=True)[source]

De-accumulates the variable (i.e. compute the variable’s rate).

The returned variable has one element less over the time dimension.

The default is to return in units per hour.

Parameters:
as_rate: bool

set to false if you don’t want units per hour, but units per given data timestep