Hi,
The error that I get when I perform directly step5, step4, step3, step2 respectively without performing the prev steps(eg for step5, directly perform step5 ie without performing steps 1,2,3,4) in the current execution are as follows:
2020-11-04T22:12:04.586 +0530 INFO [init_doc.py: 82] ****************************************************************************************************
2020-11-04T22:12:04.586 +0530 INFO [init_doc.py: 83] logger initiated
2020-11-04T22:12:04.586 +0530 INFO [init_doc.py:436] Options: {'projectName': 'attur', 'geoProjection': 'EPSG::32643', 'exportRaster': 'true',[b] 'lastStep': '5'[/b]}
2020-11-04T22:12:04.586 +0530 INFO [init_doc.py:437] Processing started
2020-11-04T22:12:04.587 +0530 INFO [init_doc.py:462] Opening existing file: /home/mapboxuser/projects/attur/attur/main_file.psx
2020-11-04T22:12:04.787 +0530 INFO [init_doc.py: 89] Retrieve/Add Chunk
2020-11-04T22:12:04.843 +0530 INFO [init_doc.py:100] Adding Chunk Completed
2020-11-04T22:12:04.844 +0530 INFO [init_doc.py:396] Raster Extraction Started
2020-11-04T22:12:05.045 +0530 ERROR [init_doc.py:413] Error while exporting Orthomosaic. Error: Null orthomosaic
2020-11-04T22:12:19.580 +0530 INFO [init_doc.py: 82] ****************************************************************************************************
2020-11-04T22:12:19.580 +0530 INFO [init_doc.py: 83] logger initiated
2020-11-04T22:12:19.580 +0530 INFO [init_doc.py:436] Options: {'projectName': 'attur', 'geoProjection': 'EPSG::32643', [b]'lastStep': '4'[/b], 'exportRaster': 'true'}
2020-11-04T22:12:19.580 +0530 INFO [init_doc.py:437] Processing started
2020-11-04T22:12:19.581 +0530 INFO [init_doc.py:462] Opening existing file: /home/mapboxuser/projects/attur/attur/main_file.psx
2020-11-04T22:12:19.781 +0530 INFO [init_doc.py: 89] Retrieve/Add Chunk
2020-11-04T22:12:19.835 +0530 INFO [init_doc.py:100] Adding Chunk Completed
2020-11-04T22:12:19.836 +0530 INFO [init_doc.py:358] step5 started
2020-11-04T22:12:19.836 +0530 INFO [init_doc.py:360] building orthomosaic started
2020-11-04T22:12:20.037 +0530 ERROR [init_doc.py:368] Error in Build Depth Maps Step Null elevation
Traceback (most recent call last):
File "init_doc.py", line 364, in begin_image_processing
projection=projection
Exception: Null elevation
2020-11-04T22:12:24.085 +0530 INFO [init_doc.py: 82] ****************************************************************************************************
2020-11-04T22:12:24.085 +0530 INFO [init_doc.py: 83] logger initiated
2020-11-04T22:12:24.086 +0530 INFO [init_doc.py:436] Options: {'exportRaster': 'true', 'geoProjection': 'EPSG::32643', 'projectName': 'attur', [b]'lastStep': '3'[/b]}
2020-11-04T22:12:24.086 +0530 INFO [init_doc.py:437] Processing started
2020-11-04T22:12:24.086 +0530 INFO [init_doc.py:462] Opening existing file: /home/mapboxuser/projects/attur/attur/main_file.psx
2020-11-04T22:12:24.286 +0530 INFO [init_doc.py: 89] Retrieve/Add Chunk
2020-11-04T22:12:24.340 +0530 INFO [init_doc.py:100] Adding Chunk Completed
2020-11-04T22:12:24.341 +0530 INFO [init_doc.py:339] step4 started
2020-11-04T22:12:24.341 +0530 INFO [init_doc.py:341] building DEM started
2020-11-04T22:12:24.542 +0530 ERROR [init_doc.py:348] Error in Build DEM Step Null dense cloud
Traceback (most recent call last):
File "init_doc.py", line 344, in begin_image_processing
projection=projection
Exception: Null dense cloud
2020-11-04T22:12:28.030 +0530 INFO [init_doc.py: 82] ****************************************************************************************************
2020-11-04T22:12:28.030 +0530 INFO [init_doc.py: 83] logger initiated
2020-11-04T22:12:28.030 +0530 INFO [init_doc.py:436] Options: {[b]'lastStep': '2'[/b], 'geoProjection': 'EPSG::32643', 'projectName': 'attur', 'exportRaster': 'true'}
2020-11-04T22:12:28.030 +0530 INFO [init_doc.py:437] Processing started
2020-11-04T22:12:28.030 +0530 INFO [init_doc.py:462] Opening existing file: /home/mapboxuser/projects/attur/attur/main_file.psx
2020-11-04T22:12:28.231 +0530 INFO [init_doc.py: 89] Retrieve/Add Chunk
2020-11-04T22:12:28.285 +0530 INFO [init_doc.py:100] Adding Chunk Completed
2020-11-04T22:12:28.286 +0530 INFO [init_doc.py:308] step3 started
2020-11-04T22:12:28.286 +0530 INFO [init_doc.py:310] building depthmaps started
2020-11-04T22:12:28.487 +0530 ERROR [init_doc.py:318] Error in Build Depth Maps Step Empty region
Traceback (most recent call last):
File "init_doc.py", line 314, in begin_image_processing
reuse_depth=reuse_depth
Exception: Empty region
In the above logs, that are logged in a file by python logger, I have provided script parameters like this
/home/mapboxuser/Downloads/metashape-pro/metashape.sh -r init_doc.py --projectName attur --geoProjection EPSG::32643 --exportRaster true [b]--lastStep 2[/b]
The --lastStep parameter decides from which step should this process run. the previous steps are skipped. They are skipped because they have already been run and I want to run from next step, from last run step in previous process.
Why am I getting each of these errors? Is there a way to avoid these errors?
Thanks in advance