One option is to store already calculated diagnostics as cached attributes of Run, so that they can be reused without calculating them again.
For example, if raw data does not contain air_density, it can be calculated from air_temperature and air_pressure. Then if another variable depends on density, air_density can be invoked from cache.
One option is to store already calculated diagnostics as cached attributes of
Run
, so that they can be reused without calculating them again.For example, if raw data does not contain
air_density
, it can be calculated fromair_temperature
andair_pressure
. Then if another variable depends on density,air_density
can be invoked from cache.