Skip to content

openclimatefix/GSPConsumer

Repository files navigation

GSPConsumer

All Contributors

Collect GSP solar generation data from PVlive from Sheffield Solar

Run

To the run the appication install this library and run

python gspconsumer/app.py

The environmental variables are DB_URL: The natabase url you want to save the results to REGIME: Regime of which to pull, either 'in-day' or 'day-after' N_GSPS: The number of gsps you want to pull INCLUDE_NATIONAL: Option to load national data, or not UK_LONDON_HOUR: Optional to check UK London hour. This means can run this service at the same UTC times, independently of the clock change. BACKFILL_HOURS: Optional, defaults to 2. The amount of hours of data that is backfilled.

These options can also be enter like this:

python gspconsumer/app.py --n-gsps=10

Contributors ✨

Thanks goes to these wonderful people (emoji key):

rachel tipton
rachel tipton

💻
Peter Dudfield
Peter Dudfield

💻
Matthew Duffin
Matthew Duffin

💻

This project follows the all-contributors specification. Contributions of any kind welcome!