-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Rename heat_rate_mmbtu_mwh -> heat_rate_mmbtu_mwh_by_unit
#2917
Rename heat_rate_mmbtu_mwh -> heat_rate_mmbtu_mwh_by_unit
#2917
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## rename-ferc1-core-assets #2917 +/- ##
========================================================
Coverage 88.5% 88.5%
========================================================
Files 90 90
Lines 10821 10821
========================================================
Hits 9582 9582
Misses 1239 1239
☔ View full report in Codecov by Sentry. |
Maybe it's too late to catch this, but our convention is to have the physical units be the last component of column names. Having The physical units here are really So it seems like this column should end with |
Ah great catch thank you @zaneselvans! I'm a total naming convention hypocrite! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
PR Overview
This PR rename the
heat_rate_mmbtu_mwh -> heat_rate_mmbtu_mwh_by_unit
so it's clear heat rate is a unit level attribute. We decided to make this change because assets downstream of_out_eia__{freq}_heat_rate_by_unit
broadcastheat_rate_mmbtu_mwh
across generators.@katie-lamb I replaced all instances of
heat_rate_mmbtu_mwh
withheat_rate_mmbtu_mwh_by_unit
. Are there parts of the code where it doesn't make sense to useheat_rate_mmbtu_mwh_by_unit
? I think it might be a little duplicative to have aheat_rate_mmbtu_mwh_by_unit
column in theheat_rate_mmbtu_mwh_by_unit
asset but I thought it would be nice for the column name to be consistent / traceable throughout all of the assets.PR Checklist
dev
).