message_ix_models.model.transport.base.align_and_fill

message_ix_models.model.transport.base.align_and_fill(qty: AnyQuantity, ref: AnyQuantity, value: float = 1.0) AnyQuantity[source]

Align qty with ref, and fill with value.

The result is guaranteed to have a value for every key in ref.