Skip to content

[WinError 10054] An existing connection was forcibly closed by the remote host #76

@frederikvand

Description

@frederikvand

In my production script I always get [WinError 10054] An existing connection was forcibly closed by the remote host. This issue does not reproduce in a different clean script. Same environment, same terminal, same package. Why is richdem calling a remote host? Its a small raster and I have 64 gb of ram. I didn't have this problem a couple days ago and no idea what what changed. The error occurs when TerrainAttribute is called.

Tot_height_rd = rd.rdarray(Tot_height, no_data=np.nan)

get slope = rd.TerrainAttribute(
height_array, attrib="slope_degrees"
) # slope_riserun

If I load exactly the same packages in the clean script and use TerrainAttribute it still works. Can't find the cause at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions