Unable to Process Dataset - TypeError: rasterio.open() got multiple values

After 5 Hours of Processing, I received this error.

Traceback (most recent call last):
File “/code/run.py”, line 59, in
retcode = app.execute()
File “/code/stages/odm_app.py”, line 130, in execute
raise e
File “/code/stages/odm_app.py”, line 94, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 347, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 347, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 328, in run
self.process(self.args, outputs)
File “/code/stages/splitmerge.py”, line 294, in process
merge_dems(“dsm.tif”, “DSM”)
File “/code/stages/splitmerge.py”, line 274, in merge_dems
euclidean_merge_dems(all_dems, dem_file, dem_vars, euclidean_map_source=eu_map_source)
File “/code/opendm/dem/merge.py”, line 95, in euclidean_merge_dems
with rasterio.open(output_dem, “w”, BIGTIFF=“IF_SAFER”, **profile) as dstrast:
TypeError: rasterio.open() got multiple values for keyword argument ‘BIGTIFF’

General Info:
8 Thread Max
60 Image Split
15m Split Overlap
408 Photos

1 Like

Thanks for the report! :pray:

This is a regression bug that was introduced by mistake with Moarasterio -- bigtiff fixes by smathermather · Pull Request #1489 · OpenDroneMap/ODM · GitHub

Should be fixed with Fix: multiple values for keyword argument BIGTIFF · OpenDroneMap/[email protected] · GitHub

Sometimes tomorrow update and try to reprocess?

1 Like

Ah, was bigtiff already in the existing args?

2 Likes