Skip to content

ValueError: setting an array element with a sequence when running SWMMAnywhere #463

@cuevasferreljorge-wq

Description

@cuevasferreljorge-wq

Description:
I'm getting a ValueError: setting an array element with a sequence error when trying to run SWMMAnywhere with both version 0.1.17 and 0.1.16.
Environment:

OS: Windows
Python version: 3.10
SWMMAnywhere version: 0.1.16 and 0.1.17 (both tested)
NumPy version: 2.2.6
pyogrio version: 0.12.1
geopandas version: 1.1.2

Config file:
yamlbase_dir: C:/Users/cueva/swmm_projects
project: test_london
bbox: [-0.1276, 51.5074, -0.1240, 51.5100]
Command:
bashpython -m swmmanywhere --config_path=C:\Users\cueva\config.yml


**Full error traceback:**

[paste the full error message you got]
The error occurs in post_processing.py line 38 when trying to read the edges file with geopandas/pyogrio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions