Error with mowing detection

Hi,

During the mowing detection system gives error message for both S1 and S2 -Traceback (most recent call last):
File “/usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s1/S1_main.py”, line 848, in
main()
File “/usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s1/S1_main.py”, line 845, in main
do_cmpl=s4cConfig.do_cmpl, test=s4cConfig.test)
File “/usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s1/S1_main.py”, line 499, in main_run
re_compile = config[‘S1_input_data’][‘re_compile’]
File “/home/sen2agri-service/miniconda3/envs/sen4cap/lib/python3.6/configparser.py”, line 959, in getitem
raise KeyError(key)
KeyError: ‘S1_input_data’

And
Traceback (most recent call last):
File “/usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s2/S2_main.py”, line 962, in
main()
File “/usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s2/S2_main.py”, line 959, in main
do_cmpl=s4cConfig.do_cmpl, test=s4cConfig.test)
File “/usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s2/S2_main.py”, line 589, in main_run
re_compile = config[‘S2_input_data’][‘re_compile’]
File “/home/sen2agri-service/miniconda3/envs/sen4cap/lib/python3.6/configparser.py”, line 959, in getitem
raise KeyError(key)
KeyError: ‘S2_input_data’

Jaano

Hello,

Could you please provide the L4B configuration file that you used for the site?

Best regards,
Cosmin

1 Like

The problem was solved- I checked the config file and made corrections.

Jaano

1 Like

Hello Jaano,

I got the similar error and that would be great if you can share what adjustment you made for correction.

Thanks and Regards,
Henry

1 Like