Skip to content

ENH: extend support for emissions calculator to full year #32

Description

@fletchapin

Use Case

Currently the emissions calculator in emissions.py accounts for rolling over between months, but not years. In theory, it should be simple to extend this logic to any contiguous time period so analysis that spans years would be supported.

Solution

Rename current get_carbon_intensity to get_monthly_carbon_intensity and write a new wrapper called get_carbon_intensity that can process any arbitrary time period.

Alternatives

The alternative is what we are already doing, a script that loops through months and processes them separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageIssue that has not been reviewed by `electric-emission-cost` team member

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions