quintel / etlocal

Regional data analysis tool for the Energy Transition Model
https://data.energytransitionmodel.com/
MIT License
3 stars 2 forks source link

Encrypt and decrypt energy balances for EU countries #556

Closed noracato closed 2 weeks ago

noracato commented 3 weeks ago

Adds a task for importing and encrypting balances from etdataset into etlocal. Example use:

rails energy_balance:import DATASET=CH_switzerland YEAR=2019

The balances will end in .gpg and will be in the same folder as the normal .csv files. They are internally decrypted when loaded in the app. This means for external users, nothing will change: ETlocal internally takes care of everything.

Balances are encrypted and decrypted using the normal ETSource/Atlas decryption routes and keys.


This PR contains an encypted version of CH 2019, but not of other datasets. @kndehaan would you like me to import them as well, or try the task for yourself?