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
get_raster_bounds throws error if there are multiple non-completed files in the raster directory. But this situation can arise if an ingest job fails, leaving a temporary file (due to the atomic write code), and then a later ingest job succeeds. We should ignore .tmp files in get_raster_bounds and read_raster. Maybe we can write a test that passes a custom UPath to write_raster_file which fails halfway, which should yield a .tmp file, and then write a normal raster file, and then try to read it?
The text was updated successfully, but these errors were encountered:
get_raster_bounds
throws error if there are multiple non-completed files in the raster directory. But this situation can arise if an ingest job fails, leaving a temporary file (due to the atomic write code), and then a later ingest job succeeds. We should ignore .tmp files inget_raster_bounds
andread_raster
. Maybe we can write a test that passes a custom UPath towrite_raster_file
which fails halfway, which should yield a .tmp file, and then write a normal raster file, and then try to read it?The text was updated successfully, but these errors were encountered: