Skip to main content

A FAIR database for concentrating solar power plant data

Project description

logo

PAINT

Ruff codecov pre-commit.ci status License: MIT OpenSSF Best Practices fair-software.eu FAIR checklist badge DOI Documentation Status

Welcome to PAINT

This repository contains code associated with the PAINT database. The PAINT database makes operational data of concentrating solar power plants available in accordance with the FAIR data principles, i.e., making them findable, accessible, interoperable, and reusable. Currently, the data encompasses calibration images, deflectometry measurements, kinematic settings, and weather information of the concentrating solar power plant in Jülich, Germany, with the global power plant id (GPPD) WRI1030197. Metadata for all database entries follows the spatio-temporal asset catalog (STAC) standard.

What can this repository do for you?

This repository contains two main types of code:

  1. Preprocessing: This code was used to preprocess the data and extract all metadata into the STAC format. This preprocessing included moving and renaming files to be in the correct structure, converting coordinates to the WGS84 format, and generating all STAC files (items, collections, and catalogs). This code is found in the subpackage paint.preprocessing and executed in the scripts located in preprocessing-scripts. This code could be useful if you have similar data that you would also like to process and include in the PAINT database!
  2. Data Access and Usage: This code enables data from the PAINT database to be easily accessed from a code-base and applied for a specific use case. Specifically, we provide a StacClient for browsing the STAC metadata files in the PAINT database and downloading specific files. Furthermore, we provide utilities to generate custom benchmarks for evaluating various calibration algorithms and also a torch.Dataset for efficiently loading and using calibration data. This code is found in the subpackage paint.data and examples of possible execution are found in the scripts folder.

In the following, we will highlight how to use the code in more detail!

Installation

We heavily recommend installing the PAINT package in a dedicated Python3.9+ virtual environment. You can install the latest stable version of PAINT directly from PyPI using:

  pip install paint-csp

Alternatively, You can install the latest developmental version of PAINT directly from the GitHub repository via:

pip install git+https://github.com/ARTIST-Association/PAINT

You can also install PAINT locally. To achieve this, there are two steps you need to follow:

  1. Clone the PAINT repository:
    git clone https://github.com/ARTIST-Association/PAINT.git
    
  2. Install the package from the main branch:
    • Install basic dependencies: pip install .
    • If you want to develop paint, install an editable version with developer dependencies: pip install -e ".[dev]"

Structure

The PAINT repository is structured as shown below:

.
├── html # Code for the paint-database.org website
├── markers # Saved markers for the WRI1030197 power plant in Jülich
├── paint # Python package
│   ├── data
│   ├── preprocessing
│   └── util
├── plots # Scripts used to generate plots found in our paper
├── preprocessing-scripts # Scripts used for preprocessing and STAC generation
├── scripts # Scripts highlighting example usage of the data
└── test # Tests for the python package
    ├── data
    ├── preprocessing
    └── util

Example usage:

In the scripts folder there are multiple scripts highlighting how PAINT can be used. Detailed descriptions of these scripts are available via our Documentation.

How to contribute

Check out our contribution guidelines if you are interested in contributing to the PAINT project :fire:. Please also carefully check our code of conduct :blue_heart:.

Acknowledgments

This work is supported by the Helmholtz AI platform grant.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paint_csp-1.0.1.tar.gz (36.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paint_csp-1.0.1-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

Details for the file paint_csp-1.0.1.tar.gz.

File metadata

  • Download URL: paint_csp-1.0.1.tar.gz
  • Upload date:
  • Size: 36.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for paint_csp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 010ab35d5fda7bb64f15648d8b5d3e36ab8b506172b68290cc0762f76388bc1b
MD5 c52edde40df80e53b8a2a3f924fe137b
BLAKE2b-256 e0db19256ebfe8004552a1f1f69e7ad6d28a46184ae25c530e25fbba58bf30ee

See more details on using hashes here.

File details

Details for the file paint_csp-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: paint_csp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 66.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for paint_csp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9ad333fd16fb4ce2fd3664f576d213b3166ce90dce1dd641a08531dc34f030d
MD5 1db7ebda4c00535e57d3005d2a61cf67
BLAKE2b-256 1d9f95cb68e8ded7b4f9819410027e91736c9c6f6f42383730b60d24762ba81e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page