openairclim.gui.tabs.scenario

Scenario tab: visualise the emission scenario over time.

Two plots, each driven by its own variable dropdown:

  • Left (“Inventories”) — any numeric variable found in the loaded emission inventories, plotted as a raw sum per inventory year. Can be split by aircraft type and shown as a relative to yearly total.

  • Right (“Time evolution”) — whatever variables are actually present in the loaded time evolution file, each overlaid with the matching inventory-derived quantities.

Unit reconciliation (needed only when overlaying two sources on one axis) uses pint, via openairclim.core.utils. Time evolution’s “fuel” is a rate (e.g. “Tg yr-1”) that represents a total accumulated over exactly one year — handled by multiplying its unit by “yr” before converting, which cancels the rate exactly.

openairclim.gui.tabs.scenario.panel(state)[source]

Return the scenario tab content.

Parameters:

state (AppState) – Shared application state.