ruins.apps.weather#

Module Contents#

Functions#

climate_indices(dataManager, config[, container, key])

_reduce_weather_data(→ pandas.DataFrame)

climate_data_selector(dataManager, config[, it, ...])

Handles the selection and display of one paralell coordinates plot

climate_plots(dataManager, config[, expander_container])

warming_data_plotter(dataManager, config)

inject_cordex_overview(dataManager[, expanded])

quick_access_buttons(config[, container])

Add quick access button to skip parts of the Weather explorer

weather_stage(dataManager, config[, data_expander])

climate_stage(dataManager, config)

indices_stage(dataManager, config[, data_expander])

transition_page(→ None)

This Transition is shown when the user switches from weather explorer to

main_app(**kwargs)

Describe the params in kwargs here

Attributes#

_TRANSLATE_DE_CLIMATE

_TRANSLATE_EN_CLIMATE

_TRANSLATE_DE_INDICES

_TRANSLATE_EN_INDICES

ruins.apps.weather._TRANSLATE_DE_CLIMATE#
ruins.apps.weather._TRANSLATE_EN_CLIMATE#
ruins.apps.weather._TRANSLATE_DE_INDICES#
ruins.apps.weather._TRANSLATE_EN_INDICES#
ruins.apps.weather.climate_indices(dataManager: ruins.core.DataManager, config: ruins.core.Config, container=st, key: int = 1, **kwargs)#
ruins.apps.weather._reduce_weather_data(dataManager: ruins.core.DataManager, name: str, variable: str, time: str, station: str = None, _filter: dict = None) pandas.DataFrame#
ruins.apps.weather.climate_data_selector(dataManager: ruins.core.DataManager, config: ruins.core.Config, it: int = 0, variable: str = 'T', expander_container=st.sidebar, layout: str = 'columns', **kwargs)#

Handles the selection and display of one paralell coordinates plot

ruins.apps.weather.climate_plots(dataManager: ruins.core.DataManager, config: ruins.core.Config, expander_container=st.sidebar)#
ruins.apps.weather.warming_data_plotter(dataManager: ruins.core.DataManager, config: ruins.core.Config)#
ruins.apps.weather.inject_cordex_overview(dataManager: ruins.core.DataManager, expanded: bool = False)#
ruins.apps.weather.quick_access_buttons(config: ruins.core.Config, container=st.sidebar)#

Add quick access button to skip parts of the Weather explorer

ruins.apps.weather.weather_stage(dataManager: ruins.core.DataManager, config: ruins.core.Config, data_expander=st.sidebar)#
ruins.apps.weather.climate_stage(dataManager: ruins.core.DataManager, config: ruins.core.Config)#
ruins.apps.weather.indices_stage(dataManager: ruins.core.DataManager, config: ruins.core.Config, data_expander=st.sidebar)#
ruins.apps.weather.transition_page(dataManager: ruins.core.DataManager, config: ruins.core.Config) None#

This Transition is shown when the user switches from weather explorer to climate projections or further to climate indices, without using the quick access buttons. The page can be used to present a primer how the two topics are related.

ruins.apps.weather.main_app(**kwargs)#

Describe the params in kwargs here

The main app has three ‘stages’:

  • learning about weather

  • learning about climate

  • condensing info into climate indices