pvoutput
Python code for downloading PV data from PVOutput.org
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 14 committers (14.3%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.8%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Python code for downloading PV data from PVOutput.org
Basic Info
Statistics
- Stars: 34
- Watchers: 4
- Forks: 17
- Open Issues: 35
- Releases: 32
Topics
Metadata Files
README.md
<!-- ALL-CONTRIBUTORS-BADGE:END -->
Download historical solar photovoltaic data from PVOutput.org.
This code is a work-in-progress. The aim is to provide both a Python library for interacting with PVOutput.org's API, and a set of scripts for downloading lots of data :)
Installation
bash
$ pip install pvoutput-ocf
Register with PVOutput.org
You need to get an API key and a system ID from PVOutput.org.
If you don't own a physical PV system, click the "energy consumption only" box when registering on PVOutput. If you don't include a system ID, then you'll get a "401 Unauthorized" response from the PVOutput API.
You can pass the API key and system ID into the PVOutput constructor.
Or, create a ~/.pvoutput.yml file which looks like:
yaml
api_key: <API key from PVOutput.org>
system_id: <SystemID from PVOutput.org>
The default location of the .pvoutput.yml is the user's home directory, expanded from ~. This can be overridden by setting the PVOUTPUT_CONFIG environment variable.
e.g. export PVOUTPUT_CONFIG="/my/preferred/location/.pvoutput.yml"
Alternatively, you can set API_KEY, SYSTEM_ID and DATA_SERVICE_URL (see below) as environmental variables.
API quotas and paid subscriptions
Please see here for update info.
Free
For free, PVOutput.org gives you 60 API requests per hour. In a single API request you can download one day of data for one PV system. (See PVOutput's docs for more info about rate limits.)
Donate
Donating to PVOutput.org increases your API quota to 300 requests per hour.
Paid
To get more historical data, you can pay $800 Australian dollars for a year's 'Live System History' subscription for a single country (more info here. And here's PVOutput.org's full price list).
This allows you to use the get batch status API to download 900 PV-system-years per hour.
If you have subscribed to PVOutput's data service then either
- add data_service_url to your configuration file (~/.pvoutput.yml) or
- pass data_service_url to the PVOutput constructor.
The data_service_url should end in .org (note the data_service_url doesn't include the /service/r2 part of the URL)
For example: data_service_url: https://pvoutput.org/
Install pvoutput Python library
bash
pip install -e git+https://github.com/openclimatefix/pvoutput.git@main#egg=pvoutput-ocf
Usage
See the Quick Start notebook.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Jack Kelly 💻 |
Sam Murphy-Sugrue 💻 |
Gabriel Tseng 💻 |
Jamie Taylor 💻 |
Peter Dudfield 🚇 |
Shanmukh Chava 💻 |
Antsthebul 💻 |
Rachit Singh 🔣 💻 |
devsjc 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Owner
- Name: Open Climate Fix
- Login: openclimatefix
- Kind: organization
- Email: info@openclimatefix.org
- Location: London
- Website: openclimatefix.org
- Twitter: openclimatefix
- Repositories: 88
- Profile: https://github.com/openclimatefix
Using open science to mitigate climate change
GitHub Events
Total
- Create event: 4
- Release event: 3
- Issues event: 1
- Delete event: 1
- Push event: 55
- Pull request event: 2
Last Year
- Create event: 4
- Release event: 3
- Issues event: 1
- Delete event: 1
- Push event: 55
- Pull request event: 2
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jack Kelly | j****t@x****k | 84 |
| peterdudfield | p****d@h****m | 80 |
| pre-commit-ci[bot] | 6****] | 34 |
| BumpVersion Action | b****n@g****s | 33 |
| allcontributors[bot] | 4****] | 18 |
| ssmssam | s****m@g****m | 17 |
| Jamie Taylor | j****r@s****k | 7 |
| Jacob Bieker | j****b@b****h | 4 |
| devsjc | d****c@o****m | 4 |
| Antsthebul | a****t@g****m | 2 |
| Gabriel Tseng | g****g@m****a | 2 |
| vnshanmukh | v****h@g****m | 2 |
| Rachit Singh | r****h@o****m | 1 |
| Sol OCF | s****c@S****l | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 67
- Total pull requests: 62
- Average time to close issues: about 1 month
- Average time to close pull requests: about 1 month
- Total issue authors: 9
- Total pull request authors: 13
- Average comments per issue: 1.46
- Average comments per pull request: 0.92
- Merged pull requests: 53
- Bot issues: 0
- Bot pull requests: 19
Past Year
- Issues: 1
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 2
Top Authors
Issue Authors
- JackKelly (37)
- peterdudfield (14)
- JamieTaylor-TUOS (7)
- JulianBriggs (4)
- jacobbieker (1)
- hazaioud (1)
- SophiaLi20 (1)
- fabmid (1)
- flowirtz (1)
Pull Request Authors
- peterdudfield (18)
- pre-commit-ci[bot] (10)
- allcontributors[bot] (9)
- JamieTaylor-TUOS (6)
- ssmssam (5)
- rachel-labri-tipton (4)
- devsjc (2)
- gabrieltseng (2)
- falknerdominik (2)
- rachtsingh (1)
- Antsthebul (1)
- vnshanmukh (1)
- jacobbieker (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 33
proxy.golang.org: github.com/openclimatefix/pvoutput
- Documentation: https://pkg.go.dev/github.com/openclimatefix/pvoutput#section-documentation
- License: apache-2.0
-
Latest release: v0.1.33
published 10 months ago
Rankings
Dependencies
- beautifulsoup4 *
- cython >0.15.1
- geopandas *
- jupyter *
- matplotlib *
- numpy *
- pandas *
- pyproj *
- pyshp *
- pytest *
- pyyaml *
- requests *
- shapely *
- tables *
- urllib3 *
- beautifulsoup4
- jupyterlab
- matplotlib
- pandas
- pytables
- pytest
- python >=3.7
- pyyaml
- requests
- urllib3