hyperledger-labs / blockchain-carbon-accounting

This project implements blockchain applications for climate action and accounting, including emissions calculations, carbon trading, and validation of climate claims. It is part of the Linux Foundation's Hyperledger Climate Action and Accounting SIG.
https://wiki.hyperledger.org/display/CASIG/Carbon+Accounting+and+Certification+WG
Apache License 2.0
188 stars 104 forks source link

create generic European utilities for seed data #136

Open sichen1234 opened 3 years ago

sichen1234 commented 3 years ago

As part of https://github.com/hyperledger-labs/blockchain-carbon-accounting/tree/main/utility-emissions-channel#seeding-the-fabric-database, create a script to create a generic utility (with generic ID) for each European country. Since we have only country level emissions factors in Europe this should be sufficient for now.

slim-patchy commented 3 years ago

Hi, I really want to work on this issue as well.

udosson commented 3 years ago

@slim-patchy! That would be great. Let us know if we can support you

slim-patchy commented 3 years ago

Thanks, let me start work on this issue this week

slim-patchy commented 3 years ago

Am currently going through the relevant documentation to see how best to implement the solution

Bhaarat-khatri commented 3 years ago

Hello @sichen1234 @udosson I went through this issue. I get to know i have to create the script for creating generic utility for euorpean country. I have download the zip folder from ( European Environment Agency ) mentioned in docs and observe it too. I have some confusion What exactly script need to have done. Like what excatly generic utility is ?what its benefit ? Please explain a bit so i can start working on this issue.

I have one more issue, I was trying to setup utility emission in my pc. I have started the node server in the typescript_app using "sh start.sh". It started sucessfully and in the next part (seeding the fabric database) i downloaded and unzip every folder but I am getting the error for starting the server by using command "node egrid-data-loader.js load_utility_emissions eGRID2018_Data_v2.xlsx NRL18" image it is asking for a peerOrganisation folder inside organisation one which is not there.. Please guide me how to solve this issue.

And can you please assign me this issue.

Thank You :-)

udosson commented 3 years ago

Hi @Bhaarat-khatri, thank you very much for offering your help. I assigned the issue to you. Could you please create a separate issue with the error you are facing? Thanks!

@sichen1234, could you help and clarify the open questions regarding the script?

slim-patchy commented 3 years ago

Yeah, I think we will need some references regarding the original source data for the European utilities in order to proceed. It would be good if there is some reference somewhere. Otherwise really wouldn't know where to begin.

slim-patchy commented 3 years ago

The European dataset to be downloaded is this (only)? https://www.eea.europa.eu/data-and-maps/data/approximated-estimates-for-the-share-3/eea-2017-res-share-proxies/2016-res_proxies_eea_csv

And I currently work with a laptop on macOS, not Ubuntu. It seems like not the right setup for the task, since supposedly

"There is a known issue with loading the European co2-emissions-intensity file on Mac OS X, so if you are looking to use this for European data, it will only work on Ubuntu" (https://github.com/hyperledger-labs/blockchain-carbon-accounting/tree/main/utility-emissions-channel#seeding-the-fabric-database)