You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementing secondary check against requests' headers:
r=requests.get(url_a)
r_head=r.headers.get("Content-Type", "")
ifnotr.okorr_head.startswith("text"):
logging.info(f"Trying alternative site {STATE_ABBREV[key]}")
r=requests.get(url_b)
dt-woods
added a commit
to KeyLogicLCA/ElectricityLCI
that referenced
this issue
Mar 11, 2024
The state-based archive data used for T&D calculation comes from EIA (see here) and, as of writing, historical data are available up to 2021.
ElectricityLCI/electricitylci/eia_trans_dist_grid_loss.py
Line 100 in 2232c41
The
eia_gen_year
modelconfig is used to pull the T&D loss data and is currently failing for 2022 baseline.The text was updated successfully, but these errors were encountered: