I am processing 307 images using Split Merge Pipeline. But got stuck in an error in the merge stage.
[INFO] Found 2 submodels with valid orthophotos and cutlines
[INFO] 2 valid orthophoto rasters to merge
Traceback (most recent call last):
File “/code/run.py”, line 54, in
retcode = app.execute()
File “/code/stages/odm_app.py”, line 125, in execute
raise e
File “/code/stages/odm_app.py”, line 89, in execute
self.first_stage.run()
File “/code/opendm/types.py”, line 340, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 340, in run
self.next_stage.run(outputs)
File “/code/opendm/types.py”, line 321, in run
self.process(self.args, outputs)
File “/code/stages/splitmerge.py”, line 299, in process
orthophoto.merge(all_orthos_and_ortho_cuts, tree.odm_orthophoto_tif, orthophoto_vars)
File “/code/opendm/orthophoto.py”, line 204, in merge
raise ValueError(“Inputs must be at least 4-band rasters”)
ValueError: Inputs must be at least 4-band rasters
Got the output without splitting the dataset. Any help or suggestions of what I could do to avoid this error.
→ Also can someone suggest me on how to decide the --split-overlap parameter in my case. The document mentioned it as in meters. I am not sure what should be the appropriate value and how should I test it