First app - long-term temperature data extremes

Hi, following the UK and European heatwave, I’ve built my first app for visualising temperature extremes from the long-term (since 1878) Rothamsted Research data, Hertfordshire, UK. You can select thresholds for daily min and max temperatures to view the distribution of days exceeding the threshold. Would love to know what people think. https://rothamsted-weather-extremes.streamlit.app

the app look great

I’ve updated my basic app to be multi-page and it now includes an extreme rainfall plot :cloud_with_rain: . So far I’m liking Streamlit - it is pretty straightforward and very quick to set-up and deploy simple apps, even without vibing!

Hi! I tried your app and looks great! But the temperature panel is not working. Here is the error shown:
pandas.errors.ParserError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/mount/src/rothamsted-weather-extremes/pages/temperature-plots.py", line 47, in <module>
    data = load_data()

File "/home/adminuser/venv/lib/python3.14/site-packages/streamlit/runtime/caching/cache_utils.py", line 280, in __call__
return self._get_or_create_cached_value(args, kwargs, spinner_message)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/adminuser/venv/lib/python3.14/site-packages/streamlit/runtime/caching/cache_utils.py", line 325, in _get_or_create_cached_value
return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/adminuser/venv/lib/python3.14/site-packages/streamlit/runtime/caching/cache_utils.py", line 384, in _handle_cache_miss
computed_value = self._info.func(*func_args, **func_kwargs)

File "/mount/src/rothamsted-weather-extremes/pages/temperature-plots.py", line 32, in load_data
data = pd.read_csv("all_temps.csv")

File "/home/adminuser/venv/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 873, in read_csv
return _read(filepath_or_buffer, kwds)

File "/home/adminuser/venv/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 306, in _read
return parser.read(nrows)
~~~~~~~~~~~^^^^^^^

File "/home/adminuser/venv/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1947, in read
) = self._engine.read( # type: ignore[attr-defined]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
nrows
^^^^^
)
^

File "/home/adminuser/venv/lib/python3.14/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 215, in read
chunks = self._reader.read_low_memory(nrows)

File "pandas/_libs/parsers.pyx", line 832, in pandas._libs.parsers.TextReader.read_low_memory

File "pandas/_libs/parsers.pyx", line 897, in pandas._libs.parsers.TextReader._read_rows

File "pandas/_libs/parsers.pyx", line 868, in pandas._libs.parsers.TextReader._tokenize_rows

File "pandas/_libs/parsers.pyx", line 885, in pandas._libs.parsers.TextReader._check_tokenize_status

File "pandas/_libs/parsers.pyx", line 2084, in pandas._libs.parsers.raise_parser_error

I am alsofollowing the European heatwave effects. Hope you are doing well in UK!

Thanks @Laura11 , it should be working ok - as far as I can tell there was a problem with the source CSV, but it should be working fine now :slight_smile: . I’m glad to hear you like it though, and unfortunately it looks like the next week is going to see more extremes pushing up the mercury.