Skip to content

Commit

Permalink
Merge pull request #44 from openclimatefix/issue/41-site-forecast-page
Browse files Browse the repository at this point in the history
update to pvsite_datamodel in requirements.txt
  • Loading branch information
rachel-labri-tipton authored Aug 25, 2023
2 parents 2e20fc7 + 512de77 commit 717c512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
altair==4.2.2
nowcasting_datamodel==1.4.19
pvsite_datamodel==1.0.1
numpy==1.24.1
pandas==1.5.2
plotly==5.10.0
Expand Down
2 changes: 1 addition & 1 deletion src/pvsite_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def pvsite_forecast_page():
]

site_selection = st.sidebar.selectbox("Select sites by site_uuid", site_uuids,)
starttime = st.sidebar.date_input("Start Date", min_value=datetime.today - timedelta(days=3), max_value=datetime.today())
starttime = st.sidebar.date_input("Start Date", min_value=datetime.today() - timedelta(days=3), max_value=datetime.today())
st.write("Forecast for", site_selection, "starting on", starttime)

# get forecast values for selected sites and plot
Expand Down

0 comments on commit 717c512

Please sign in to comment.