openclimatefix / analysis-dashboard

This is a Streamlit app for the OCF team that reports database statistics
MIT License
1 stars 4 forks source link

Weather forecast on dashboard #185

Closed ADIMANV closed 1 week ago

ADIMANV commented 2 months ago

Pull Request

Description

This code will be an addition, to the dashboard and will show weather forecast/ historical data. This data pulled will be from ECMWF with the help of herbie. This PR is With india coordinates, will need to make changes if UK needs to be added.

The following is the snap of the webpage: image

How Has This Been Tested?

Several tests were ran to see the data being pulled is correct or not

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

Checklist:

peterdudfield commented 2 months ago

Could you add a screen shot of the UI in the PR?

peterdudfield commented 2 months ago

You should import the page and add it here

peterdudfield commented 2 months ago

You need to add herbie to the requirements too

peterdudfield commented 2 months ago

We discuss int he call today,

peterdudfield commented 2 months ago

To help the inital speed up, shold you default to just one init time, perhaps at 00:00

peterdudfield commented 1 month ago

Could your rename the file Weather_Forecast_on_dashbaord.py to weather_forecast

peterdudfield commented 1 month ago

Could you add function docs and explain what the parameters are

Good example is here - https://github.com/openclimatefix/pv-site-datamodel/blob/main/pvsite_datamodel/read/generation.py#L76