Error on S2MowingDetection Step

Hello,

It seems that some updates were made in the gdal version from the conda (I assume there is a newly installed or updated machine) and in this new version were introduced some constraints.
I am attaching 2 patches (S2_gmd.patch and S1_gmd.patch in the archive Sen4CAP_v_1_2_L4B_S1_gmd_patches.zip (790 Bytes) ) for this issue that can be installed with the following commands:

unzip Sen4CAP_v_1_2_L4B_S1_gmd_patches.zip
sudo patch -u /usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s2/S2_gmd.py -i S2_gmd.patch
sudo patch -u /usr/share/sen2agri/S4C_L4B_GrasslandMowing/Bin/src_s1/S1_gmd.py -i S1_gmd.patch

Hope this helps.

Best regards,
Cosmin

2 Likes