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

Try to run extraction of new year of FERC 1 data and document results #3575

Closed
7 of 8 tasks
Tracked by #3544
e-belfer opened this issue Apr 16, 2024 · 1 comment
Closed
7 of 8 tasks
Tracked by #3544
Assignees
Labels
ferc1 Anything having to do with FERC Form 1 new-data Requests for integration of new data. rmi xbrl Related to the FERC XBRL transition

Comments

@e-belfer
Copy link
Member

e-belfer commented Apr 16, 2024

Goal: extract 2023 FERC data into a SQLite database. Document errors and debug in preparation for the release of all 2023 FERC data.

Tasks

Errors Found

messageCode not found

Message: Try #0: taxonomy_source=<arelle.FileSource.FileSource object at 0x72145bf66a20>  
Message log error: Formatting field not found in record: 'messageCode'

Publication Time KeyError during XBRL extraction

One company that has not yet filed 2023 data appears to be causing a key error issue. Another company that has filed 2023 Q4 data seems to cause the same key error when just running 2023 data.

KeyError: 'Rochester_Gas_and_Electric_Corporation_form1_Q4_1682080397.xbrl' - not filed
KeyError: 'Lockhart_Power_Company_form1_Q4_1711466566.xbrl' - filed

dagster._core.errors.DagsterExecutionStepExecutionError: Error occurred while executing op "ferc1_xbrl"::
KeyError: 'Rochester_Gas_and_Electric_Corporation_form1_Q4_1682080397.xbrl'

  File "/home/.../miniforge3/envs/pudl-dev/lib/python3.12/site-packages/ferc_xbrl_extractor/instance.py", line 471, in get_instances
    return instances_from_zip(instance_path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/.../miniforge3/envs/pudl-dev/lib/python3.12/site-packages/ferc_xbrl_extractor/instance.py", line 433, in instances_from_zip
    publication_time=publication_times[filename],
@e-belfer e-belfer self-assigned this Apr 16, 2024
@e-belfer e-belfer added ferc1 Anything having to do with FERC Form 1 new-data Requests for integration of new data. xbrl Related to the FERC XBRL transition rmi labels Apr 16, 2024
@jdangerx jdangerx self-assigned this Apr 17, 2024
@jdangerx
Copy link
Member

We tried, we found issues, ensuing work will be tracked as sub-tasks of #3544.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ferc1 Anything having to do with FERC Form 1 new-data Requests for integration of new data. rmi xbrl Related to the FERC XBRL transition
Projects
Status: Done
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants