Create core_eia176__yearly_gas_supply#5227
Merged
Merged
Conversation
e-belfer
requested changes
May 13, 2026
Member
There was a problem hiding this comment.
I think we can make this into a nice skinny table by stacking all the columns into a volume_mcf and a categorical supply_type column. That'll require redoing the migration and dropping these new field definitions for the most part. total_supply_mcf can be streamlined to just total.
It looks like total citygate gets split into two components after 2010. No action item here, but we should note it in the table description.
Looking at the log scale, everything else seems pretty reasonable, with above ground withdrawals being understandably somewhat spiky over time.
5 tasks
…pdate DBT schemas to use human/auto-generated format
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
Closes #4711 .
What problem does this address?
EIA Form 176 Part 4 (Lines 1.0-7.0) contains operator-level natural and
supplemental gas supply data, including production, storage withdrawals, receipts,
supplemental gaseous fuels, and reported total supply for the report state. This
data was available in the extracted EIA-176 inputs but was not yet exposed as a
PUDL core table.
This table exposes the source-reported Part 4 summary fields. It does not include
the granular continuation-line details for Line 3.0 receipts or Line 6.0
supplemental gaseous fuels.
What did you change?
core_eia176__yearly_gas_supplywith one row per(operator_id_eia, report_year).production, storage withdrawals, state or U.S. border receipts, citygate
receipts, other receipts, supplemental gaseous fuels, and reported total
supply.
the sum of reported component fields, with a bounded allowance for known
historical source-data inconsistencies.
supplemental gaseous fuels.
continuation-line detail and historical total-supply inconsistencies.
Documentation
Make sure to update relevant aspects of the documentation:
docs/data_sources/templates).src/metadata).Testing
How did you make sure this worked? How can a reviewer verify this?
To-do list
dbttests.pixi run prek-runto run linters and static code analysis checks.pixi run pytest-cilocally to ensure that the merge queue will accept your PR.build-deploy-pudlGitHub Action manually and ensure that it succeeds.