pypsa-usa icon indicating copy to clipboard operation
pypsa-usa copied to clipboard

Retrieving EULP for DC

Open trevorb1 opened this issue 1 year ago • 0 comments

Checklist

  • [X] I am running on an up-to-date pypsa-usa environment. Update via conda env update -f envs/environment.yaml

Issue exisits on what branch

Develop

The Issue

Residential load profiles are not downloaded for DC. Since commercial profiles come through fine, residential should as well; so im not sure whats up with that.

Steps To Reproduce

Sub this into retrieve_eulp.py:

if "snakemake" not in globals():
    from _helpers import mock_snakemake
     snakemake = mock_snakemake("retrieve_res_eulp", state="VI")
configure_logging(snakemake)

Expected Behavior

No response

Error Message

Traceback (most recent call last):
  File "/home/trevor/repos/pypsa-usa/workflow/scripts/retrieve_eulp.py", line 159, in <module>
    oedi.download_data(state, buildings, save_dir)
  File "/home/trevor/repos/pypsa-usa/workflow/scripts/retrieve_eulp.py", line 140, in download_data
    self._request_data(html, save_path)
  File "/home/trevor/repos/pypsa-usa/workflow/scripts/retrieve_eulp.py", line 102, in _request_data
    raise requests.ConnectionError(f"Status code {response.status_code}")
requests.exceptions.ConnectionError: Status code 404

Anything else?

No response

trevorb1 avatar May 13 '24 05:05 trevorb1