message_ix_models.model.transport.base.smooth
- message_ix_models.model.transport.base.smooth(c: Computer, key: genno.Key, *, dim: str = 'ya') genno.Key [source]
Implement ‘smoothing’ for key along the dimension dim.
Identify values which do not meet a certain criterion. Currently the criterion is: the first contiguous sequence of values that are lower than the corresponding value in \(y_A = y_0\) (e.g. in 2020).
Remove those values.
Fill by linear interpolation.