Darren Wiens commited on
Commit
498fe27
·
unverified ·
1 Parent(s): 8d51846

add data sources

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -27,7 +27,7 @@ fps = st.slider("Frames per second", 0.01, 50.0, 16.0)
27
 
28
  show_dt = st.checkbox("Show timestamp", True)
29
 
30
- fetch_data = st.checkbox("Fetch new data", False)
31
 
32
  if st.button("Plot Data"):
33
  smoke_url = "https://firesmoke.ca/forecasts/current/dispersion.nc"
@@ -94,3 +94,7 @@ if st.button("Plot Data"):
94
  last_dt = dts[-1]
95
 
96
  st.image(buffer, caption=f"{first_dt} to {last_dt}")
 
 
 
 
 
27
 
28
  show_dt = st.checkbox("Show timestamp", True)
29
 
30
+ fetch_data = st.checkbox("Refresh data", False)
31
 
32
  if st.button("Plot Data"):
33
  smoke_url = "https://firesmoke.ca/forecasts/current/dispersion.nc"
 
94
  last_dt = dts[-1]
95
 
96
  st.image(buffer, caption=f"{first_dt} to {last_dt}")
97
+
98
+ with st.expander("Data Sources"):
99
+ st.markdown(f"Smoke forecast: [FireSmoke Canada](https://firesmoke.ca/)")
100
+ st.markdown(f"Administrative boundaries: [Natural Earth, 1:50M Admin 1 – States, provinces](https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/cultural/ne_50m_admin_1_states_provinces.zip)")