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
In the latest hand_4_6_0_0, over 350 errors saying ValueError: Object is not a recognized source of Features can be found in the all_errors_from_logs.log file.
The text was updated successfully, but these errors were encountered:
Burn in bridges 17100305 0
Traceback (most recent call last):
File "/foss_fim/src/heal_bridges_osm.py", line 263, in <module>
process_bridges_in_huc(**args)
File "/foss_fim/src/heal_bridges_osm.py", line 132, in process_bridges_in_huc
lidar_osm_gdf, updated_hand_grid_array = process_lidar_osm(
File "/foss_fim/src/heal_bridges_osm.py", line 89, in process_lidar_osm
stats = zonal_stats(
File "/usr/local/lib/python3.10/dist-packages/rasterstats/main.py", line 52, in zonal_stats
return list(gen_zonal_stats(*args, **kwargs))
File "/usr/local/lib/python3.10/dist-packages/rasterstats/main.py", line 178, in gen_zonal_stats
features_iter = read_features(vectors, layer)
File "/usr/local/lib/python3.10/dist-packages/rasterstats/io.py", line 136, in read_features
raise ValueError("Object is not a recognized source of Features")
ValueError: Object is not a recognized source of Features
If this is considered to be an acceptable error, which we have a good handful of, we have some options.
if possible, maybe we can add it to our fim exit status code system so we can easily identify those if we even want to.
We don't' even need to record it in logs anywhere if you like.
We can change the output message to not have the word "error" in it but change it to the word "warning". Our post processing system looks through all logs looking for the word "error" and "warning"
RobHanna-NOAA
changed the title
[5pt] ValueError: Object not recognized source of Features
[5pt] ValueError: Object not recognized source of Features (Head bridges)
Mar 11, 2025
In the latest hand_4_6_0_0, over 350 errors saying
ValueError: Object is not a recognized source of Features
can be found in the all_errors_from_logs.log file.The text was updated successfully, but these errors were encountered: