{"id":20200967,"url":"https://github.com/openclimatefix/predict_pv_yield_nwp","last_synced_at":"2025-05-07T06:31:01.491Z","repository":{"id":66918078,"uuid":"267898868","full_name":"openclimatefix/predict_pv_yield_nwp","owner":"openclimatefix","description":null,"archived":true,"fork":false,"pushed_at":"2021-10-22T14:22:19.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T08:45:44.047Z","etag":null,"topics":["nowcasting"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openclimatefix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["openclimatefix"],"patreon":null,"open_collective":"openclimatefix","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-05-29T16:01:18.000Z","updated_at":"2024-08-30T07:31:01.000Z","dependencies_parsed_at":"2023-05-14T00:45:26.127Z","dependency_job_id":null,"html_url":"https://github.com/openclimatefix/predict_pv_yield_nwp","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"10229c6976eb63075efb6777103596e4097dced2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclimatefix%2Fpredict_pv_yield_nwp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclimatefix%2Fpredict_pv_yield_nwp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclimatefix%2Fpredict_pv_yield_nwp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openclimatefix%2Fpredict_pv_yield_nwp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openclimatefix","download_url":"https://codeload.github.com/openclimatefix/predict_pv_yield_nwp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252826709,"owners_count":21810168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nowcasting"],"created_at":"2024-11-14T04:46:21.306Z","updated_at":"2025-05-07T06:31:01.203Z","avatar_url":"https://github.com/openclimatefix.png","language":"Python","funding_links":["https://github.com/sponsors/openclimatefix","https://opencollective.com/openclimatefix"],"categories":[],"sub_categories":[],"readme":"Build a baseline model for predicting PV yield using NWP (numerical weather predictions), as opposed to satellite imagery. This model is intentionally very simple, so we can get an end-to-end system up and running quickly to interate on.\n\n# Model\n\nThe model can be found in the _model_ directory. It is a CSV file with columns for the PV system ID, and the slope and intercept for the regression. Given a value for irradiance (\"Downward short-wave radiation flux\") from the NWP data at a PV system location, the PV output for the system can be predicted.\n\n## Known limitations\n* A linear model is a very big simplification.\n* Trained on only a single day's worth of data, at hourly time points.\n* Outlier data from the PV systems is included.\n\n# Training\n\nThe training data is in a GCP bucket, and is not yet publicly available.\n\n## Install and test\n\n```bash\nconda env create -f environment.yml \nconda activate predict_pv_yield_nwp\npip install -e .\nconda install black flake8 isort mypy pytest\npytest -s\n```\n\nEnforce/check code standards\n\n```bash\nblack predict_pv_yield_nwp\nflake8\nisort -rc .\nmypy predict_pv_yield_nwp\n```\n\n## Train a model locally\n\n```bash\npython predict_pv_yield_nwp/train.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclimatefix%2Fpredict_pv_yield_nwp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenclimatefix%2Fpredict_pv_yield_nwp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenclimatefix%2Fpredict_pv_yield_nwp/lists"}