Skip to content

Download and manage sky images for solar power forecasting.

License

Notifications You must be signed in to change notification settings

FlorianK13/skyimages

Repository files navigation

skyimages

PyPI - Downloads GitHub issues by-label

Download sky images for solar power forecasting as pytorch-ready datasets. The package is still in early development and not stable. Please report bugs in the Issues.

Installation using pypi

From release v0.0.1, skyimages will be installable via pip:

pip install skyimages

Installation using github

Download skyimages from github. Change the CWD to the download folder skyimages/ and install the package using pip.

git clone [email protected]:FlorianK13/skyimages.git
cd skyimages
pip install .

Getting started

To download the dataset SKIPP'D (source) and use it as a pytorch torchvision dataset, run the following code in python

from skyimages.dataset import SKIPPDDataSet
import torch


traindata = SKIPPDDataSet(download=True)
testdata = SKIPPDDataSet(download=True, train=False)

trainloader = torch.utils.data.DataLoader(
    traindata, batch_size=200, shuffle=True, num_workers=0
)
testloader = torch.utils.data.DataLoader(
    testdata, batch_size=20, shuffle=False, num_workers=0
)

Implemented data sets

Contributing

Contributions and cooperations are highly welcome. If interested, just create an issue and we can discuss further details.