CliDyn / climsight

prototype of a system that provide local climate information
BSD 3-Clause "New" or "Revised" License
27 stars 9 forks source link

changed streamlit cache to lru_cache #82

Closed kuivi closed 3 months ago

kuivi commented 3 months ago

follow #81 @st.cache_data -> @lru_cache(maxsize=100)

functions :

extract_climate_data
plot_disaster_counts
get_adress_string
get_location_details

were cashed before by @st.cache , and not cashed here. these functions or plot functions or has df in in/out.

kuivi commented 3 months ago

It is easier to create a new branch, make changes, and PR again than to merge these two branches. :)