SaadKhan-BCG / CarbonPlugin

Tool to monitor and expose Carbon consumption of apps by region to aid Carbon Aware development
0 stars 0 forks source link

Backup Carbon data source #26

Open SaadKhan-BCG opened 1 year ago

SaadKhan-BCG commented 1 year ago

We could rely on data from the UN e..g as stored here https://github.com/thegreenwebfoundation/co2.js/blob/main/data/output/average-intensities-2021.json

This would give us at least a single raw number per country

Note this data would need to be massaged into the form expected by the GSF Carbon Aware SDK (At the moment we are using the Wattime mode as set by env var, it does also support a json file as long as its stored correctly)