USEPA / standardizedinventories

Standardized Release and Waste Inventories
MIT License
25 stars 16 forks source link

2017 GHGRP inventory incompatibility with STEWI code #131

Closed tjlca closed 1 year ago

tjlca commented 1 year ago
  File "/Users/tghosh/Library/CloudStorage/OneDrive-NREL/work_NREL/FECM/Industrial-Emissions-Inventory/stewi/globals.py", line 320, in read_inventory
    generate_inventory(inventory_acronym, year)
  File "/Users/tghosh/Library/CloudStorage/OneDrive-NREL/work_NREL/FECM/Industrial-Emissions-Inventory/stewi/globals.py", line 354, in generate_inventory
    GHGRP.main(Option = 'A', Year = [year])
  File "/Users/tghosh/Library/CloudStorage/OneDrive-NREL/work_NREL/FECM/Industrial-Emissions-Inventory/stewi/GHGRP.py", line 698, in main
    ghgrp1 = download_and_parse_subpart_tables(year, m)
  File "/Users/tghosh/Library/CloudStorage/OneDrive-NREL/work_NREL/FECM/Industrial-Emissions-Inventory/stewi/GHGRP.py", line 288, in download_and_parse_subpart_tables
    table_df = import_or_download_table(filepath, subpart_emissions_table,
  File "/Users/tghosh/Library/CloudStorage/OneDrive-NREL/work_NREL/FECM/Industrial-Emissions-Inventory/stewi/GHGRP.py", line 242, in import_or_download_table
    table_df = download_chunks(table=table, table_count=row_count, m=m,
  File "/Users/tghosh/Library/CloudStorage/OneDrive-NREL/work_NREL/FECM/Industrial-Emissions-Inventory/stewi/GHGRP.py", line 141, in download_chunks
    while row_start <= table_count:
TypeError: '<=' not supported between instances of 'int' and 'NodeList'
bl-young commented 1 year ago

thanks for alerting of this issue