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

Plot the carbon intensity time serise #112

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andreww
Copy link
Collaborator

@andreww andreww commented Aug 23, 2024

Just a proof of concept for now, but plots the CI forecast time series alongside our planned run times.

Currently looks like this:

cats_plot

I think the optimal and now plots (green and red, respectively) are 30 mins out. Or background data is 30 mins out. Anyhow, this is a start.

Makes use of our 'output' and the 'forecast'
to plot a timeseries of the CI alongside
highlights for the CI of running now or running
at the optimal time.
We may want to think about this a bit
(it's a big package) and the version
number is a guess, but let's get the tests
running for now.
Copy link

codecov bot commented Aug 23, 2024

Codecov Report

Attention: Patch coverage is 15.15152% with 28 lines in your changes missing coverage. Please review.

Project coverage is 85.02%. Comparing base (31cfede) to head (8dda7ae).
Report is 1 commits behind head on main.

Files Patch % Lines
cats/plotting.py 10.34% 26 Missing ⚠️
cats/__init__.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
- Coverage   89.23%   85.02%   -4.21%     
==========================================
  Files          14       15       +1     
  Lines         548      581      +33     
==========================================
+ Hits          489      494       +5     
- Misses         59       87      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant