Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a parameter to pass carbon intensity #432

Open
demeringo opened this issue Feb 6, 2024 · 0 comments
Open

Add a parameter to pass carbon intensity #432

demeringo opened this issue Feb 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@demeringo
Copy link
Collaborator

demeringo commented Feb 6, 2024

Problem

By default cloud scanner uses the carbon intensity coefficients of Boavizta API (API performs the calculation using its default values).

Because this data is not publicly available, Boavizta API uses some default values that may not be the most up-to-date. https://doc.api.boavizta.org/Explanations/usage/elec_factors/#boaviztas-impact-factors.

But API allows to fine tune the results by passing (override) a custom carbon intensity coefficient.

Today there is no way to explicitly pass/override the defaults coefficients in cloud-scanner.

Solution

Add a CLI option and query parameter to cloud scanner to allow to pass explicit carbon intensity coefficient.

Alternatives

Additional context or elements

Todo: decide if we allow to override severla coefficient of if we focus only on carbon intensity (gwp factor).

Also an opportunity to improve the doc on this topic (and link to Boavizta API doc).

@demeringo demeringo added the enhancement New feature or request label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant