diff --git a/examples/streamlit/playground.py b/examples/streamlit/playground.py index 8603b62b2f3f88e7c21ff368c6959a58f3bea567..af022772a4733641265ce6496a237462023d416f 100644 --- a/examples/streamlit/playground.py +++ b/examples/streamlit/playground.py @@ -14,14 +14,19 @@ data = create_data() def setup_main_frame(): st.title("Welcome to the :green[enstools-compression] playground!") + st.markdown("Find more information our [**GitHub repository**](https://github.com/wavestoweather/enstools-compression)" + " or in our [**documentation**](https://enstools-compression.readthedocs.io)") with st.sidebar: select_dataset(data) slice_selection = select_slice(data) st.markdown("---") + if data.reference_da is None: + st.markdown("## :point_left: Please :red[select a dataset] using the left sidebar!") + return + options = ["Compression", "Advanced Compression", "Analysis"] basic, advanced, analysis = st.tabs(options) - with basic: basic_section(data=data, slice_selection=slice_selection) with st.spinner():