USEPA / flowsa

Library that attributes resource use, waste, emissions, and loss to economic sectors
MIT License
24 stars 19 forks source link

URL access error for EPA FBAs #373

Closed catherinebirney closed 1 year ago

catherinebirney commented 1 year ago

As of yesterday, we cannot generate FBAs pulling from certain EPA sources. We see the error requests.exceptions.HTTPError: 403 Client Error: Forbidden for url for EPA_FactsAndFigures, EPA_WFR and TRACI (LCIAformatter)

Get a different error for EPA_NEI data: requests.exceptions.SSLError: HTTPSConnectionPool(host='gaftp.epa.gov', port=443): Max retries exceeded with url: /air/nei/2017/data_summaries/2017v1/2017neiApr_nonpoint.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))

@bl-young @WesIngwersen

bl-young commented 1 year ago

this commit in esupy (develop) should resolve this issue: https://github.com/USEPA/esupy/commit/b481e35262c9387c2e14ddcc8fa114dafe1c641d