rl-institut / oemof-B3

An open-source energy system model for Brandenburg/Berlin.
https://oemof-b3.readthedocs.io/
GNU Affero General Public License v3.0
9 stars 5 forks source link

Add oep data upload script #256

Closed chrwm closed 2 years ago

chrwm commented 2 years ago

Closes #255

The script will enable an automated data upload to the OEP via the API.

In this version of the script, the credentials (OEP_USER & OEP_TOKEN) need to be saved in the environment. The tables on the OEP are created from the metadata and later filled with the content from the csv-files. Thus, metadata (description of columns) for all tables need be in place before uploading the data itself.

chrwm commented 2 years ago

@jnnr I changed the base, and merging into the repo-owned feature/data-oep-upload branch should enable editing the files.

After you approved the merge, I'll create a new PR on dev.