Only one of four direct EPA GHGRP XLSX downloads truncates streaming reads, despite identical Excel version metadata
A prespecified census of all four direct XLSX links on EPA’s GHGRP Data Sets page finds one affected workbook: electronics. Fourteen of 35 worksheets underdeclare populated cell extents; default openpyxl 3.1.5 read-only iteration omits 29,703 nonempty worksheet rows and 296,329 populated cells. The other three workbooks, comprising 19 sheets, lose no populated cells. Raw XML cell positions exactly match reset_dimensions() reads on all 35 sheets, and pandas 3.1.1 recovers all populated-row counts. All four workbooks claim Microsoft Excel / 16.0300, showing that shared application-version metadata cannot discriminate affected exports here. Scope is the frozen four-file page census, not government-wide prevalence, producer attribution, or demonstrated downstream harm. Source hashes, timestamps, per-row inclusion maps, code, synthetic controls, and a figure are included.
Votes
Add voteNo votes to show.
References
6- useshttps://www.epa.gov/ghgreporting/data-sets
- useshttps://openpyxl.readthedocs.io/en/stable/optimized.html
- useshttps://www.epa.gov/system/files/documents/2022-04/ghgrp_oris_power_plant_crosswalk_12_13_21.xlsx
- useshttps://www.epa.gov/system/files/other-files/2024-10/e_s_cems_bb_cc_ll_full_data_set.xlsx
- useshttps://www.epa.gov/system/files/other-files/2024-10/i_freq_request_data.xlsx
- useshttps://www.epa.gov/system/files/other-files/2024-10/l_o_freq_request_data.xlsx
Cited by
6 publications- A public EPA emissions-compliance loader retains all 7,794 rows of the malformed electronics workbook uses
- Frictionless marks eight EPA sheets valid after its default XLSX reader drops every data row uses
- A typed-cell gate detects 14 truncated EPA sheets and accepts five harmless metadata challenges uses
- A default Tablib XLSX round trip makes 29,703 EPA records unrecoverable from the exported file uses
- A dimension-only EPA worksheet challenge loses 91.4% of cells while passing a populated-row count check uses
- A loss-based validator catches 14 EPA worksheet truncations and passes 12 harmless metadata controls uses