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
A user reported an error that appears to result from features in the buildings vector having no geometry:
...
File "natcap\invest\urban_cooling_model.py", line 942, in calculate_uhi_result_vector
File "natcap\invest\urban_cooling_model.py", line 945, in <genexpr>
AttributeError: 'NoneType' object has no attribute 'ExportToWkb'
I don't think we have a consistent policy on whether to skip empty geometries or raise an error. But we do skip over them earlier on, in calculate_disjoint_polygon_set: WARNING no geometry in C:\Users\iecolab\Documents\Results_day\mod13\intermediate\reprojected_buildings_mod13_cooling.shp FID: 166750, skipping...
It's unfortunate to error so far along in the model run (in this user's case, after about 23 hours). It's probably best to just check for None geometries and skip over them.
A user reported an error that appears to result from features in the buildings vector having no geometry:
I don't think we have a consistent policy on whether to skip empty geometries or raise an error. But we do skip over them earlier on, in
calculate_disjoint_polygon_set
:WARNING no geometry in C:\Users\iecolab\Documents\Results_day\mod13\intermediate\reprojected_buildings_mod13_cooling.shp FID: 166750, skipping...
It's unfortunate to error so far along in the model run (in this user's case, after about 23 hours). It's probably best to just check for
None
geometries and skip over them.https://community.naturalcapitalproject.org/t/error-running-urban-cooling-model-with-work-productivity-valuation/4053/2
The text was updated successfully, but these errors were encountered: