Tile list must be robust to space in configuration file
Initial post from @JuniaS in issue #331 (closed)
Hi, I run iota2 on Sentinel 2 Level3A images over the Dordogne department. I get this error message:
2021-03-17 13:04:00 (INFO): Estimated memory for full processing: 2598.74MB (avail.: 3584 MB), optimal image partitioning: 1 blocks Writing 1 output images ...: 100% [**************************************************] (13s) Traceback (most recent call last): File "/home/iota2/miniconda3/envs/iota2-env/lib/python3.6/site-packages/iota2/Iota2.py", line 253, in <module> ARGS.tmp_directory) File "/home/iota2/miniconda3/envs/iota2-env/lib/python3.6/site-packages/iota2/Iota2.py", line 148, in run delayed_graph = graph.build_graph() File "/home/iota2/miniconda3/envs/iota2-env/lib/python3.6/site-packages/iota2/sequence_builders/i2_sequence_builder.py", line 72, in build_graph self.prelaunch_function() File "/home/iota2/miniconda3/envs/iota2-env/lib/python3.6/site-packages/iota2/sequence_builders/i2_classification.py", line 118, in models_distribution "Can't find data in 'formattingVectors' directory") ValueError: Can't find data in 'formattingVectors' directory
I don't see the .svg file in the log folder. I attach my configuration file and the log folder that I renamed log_CAUE. L3A_MOSO_2018.cfg
logs_CAUE.tar.xz thank you in advance for your help
The issue comes from a space in the list tile but only one tile is provided. The configuration parser should be robust to this kind of errors: one tile with a space before or after, two spaces between tiles, etc....