-
Notifications
You must be signed in to change notification settings - Fork 5
Mesh() error when threshold_area is too small #19
Copy link
Copy link
Open
Description
I got this error when the threshold_area I provided was too small:
RuntimeError: GDAL Error: Attempt to write non-linestring (POINT) geometry to ARC type shapefile.. Failed to write record: fiona.Feature(geometry=fiona.Geometry(coordinates=(462403.9949140873, 3806450.5908913515), type='Point'), id='95', properties=fiona.Properties(FID=96, STRM_VAL=1.0), type='Feature')
I first used a threshold of 15,000, which resulted in this error. I then used 150,000, which is more applicable for catchment size and cell resolution and Mesh() worked.
Perhaps we can send an error message like "threshold_area too small"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels