-
-
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
Integrate Eia923 Q2 2024 Data #3768
Merged
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b4d92b7
Add DOI for new 923
aesharpe fd6c53f
Update release notes
aesharpe d900ac5
Update 923 package data
aesharpe a0d739c
Map unmapped plants and utilities
aesharpe c8e4fde
update minmax row validation test
aesharpe 522a94b
Add description of duplicate rows to docs and docstrings
aesharpe 5cbae58
Merge branch 'main' into eia923-q2-24
zaneselvans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,17 +46,17 @@ def test_no_null_cols_eia(pudl_out_eia, live_dbs, cols, df_name): | |
@pytest.mark.parametrize( | ||
"df_name,raw_rows,monthly_rows,annual_rows", | ||
[ | ||
("bf_eia923", 1_642_829, 1_642_829, 135_980), | ||
("bf_eia923", 1_642_806, 1_642_806, 135_980), | ||
("bga_eia860", 153_487, 153_487, 153_487), | ||
("boil_eia860", 89_051, 89_051, 89_051), | ||
("boil_eia860", 89_050, 89_050, 89_050), | ||
("frc_eia923", 673_343, 274_479, 26_709), | ||
("gen_eia923", None, 5_494_932, 459_711), | ||
("gens_eia860", 590_881, 590_881, 590_881), | ||
("gf_eia923", 3_064_042, 3_064_042, 260_842), | ||
("gens_eia860", 591_256, 591_256, 591_256), | ||
("gf_eia923", 3_064_045, 3_064_045, 260_842), | ||
Comment on lines
-54
to
+55
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i would also assume that this gf rows would go up by a few months of data |
||
("own_eia860", 95_104, 95_104, 95_104), | ||
("plants_eia860", 215_884, 215_884, 215_884), | ||
("pu_eia860", 214_965, 214_965, 214_965), | ||
("utils_eia860", 147_877, 147_877, 147_877), | ||
("plants_eia860", 216_206, 216_206, 216_206), | ||
("pu_eia860", 215_288, 215_288, 215_288), | ||
("utils_eia860", 147_922, 147_922, 147_922), | ||
("emissions_control_equipment_eia860", 62_102, 62_102, 62_102), | ||
("denorm_emissions_control_equipment_eia860", 62_102, 62_102, 62_102), | ||
("boiler_emissions_control_equipment_assn_eia860", 83_977, 83_977, 83_977), | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
do you have a sense of why these went down? the bf in particular here seems wrong because there should be a few more months of data in there for the raw and monthly tables
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.
The new months of 923 data show up as data inputs into existing columns. Once we hit January there will be rows (transformed from the raw table columns) for every month, regardless of whether there is data in them. Row fluctuations are more likely due to retroactive data changes which can lead to positive and negative changes.
I dug a little deeper in to the bf table and uncovered some unexpected cruft that explains some of the row count changes. See my comment below!