Hello all, I have installed and successfully created L2A and L3B products using sen2agri system. However, when i tried for a different date range, I noticed that from late January and further I only got MACCS/MAJA error for L2A processing like vns::Data::ERROR: Sentinel2TMXMLTileFileHandler. I can send the complete log if needed.
Did something change in Sentinel2 products or MACCS/MAJA version needed? I am using 3.2.2. Thank you very much for your time.
Hello,
Since January ESA changed the format of the Sentinel2 products and the MAJA 3.2.2 is not able anymore to process this kind of products. We are preparing (in the context of the Sen4CAP project) an upgrade package for MAJA that normally should work also on Sen2Agri system. The package currently in the validation process and will be probably published in 1-2 weeks.
Hello,
Until a new release of Sen2Agri is performed or an update package for MAJA is provided on the Sen2Agri website, in order to upgrade the system for MAJA 4.5.4 the following steps are needed:
Go to Download package description | Sen4Cap and download the MAJA GIPP archive (gipp_maja_4.5.4.zip). Unfortunately, you will have to download also the full Sen4CAP archive although only a small package from it is needed from it (explained later).
Update docker for the user sen2agri-service by running the script from this archive (update_sen2agri_docker.zip (467 Bytes)):
In order to cleanup any previously failed products due to incompatibility of MAJA 3.2.2 with N400 version of L1C products, the following commands can be executed:
psql -U admin sen2agri -c âdelete from l1_tile_history where downloader_history_id in (select id from downloader_history where satellite_id = 1 and product_name like â%N0400%â) and status_id in (6,7);â
psql -U admin sen2agri-c âupdate downloader_history set status_id = 2 where satellite_id = 1 and product_name like â%N0400%â and status_id in (6,7)â
Start the sen2agri-demmaccs:
sudo systemctl start sen2agri-demmaccs.timer
Further, the logs can be checked hierarchically, starting with:
sudo tail -f /var/log/sen2agri/l2a_launcher.log
If you need to increase/decrease the number of L2A processed in parallel (default = 2), you can change the key âprocessor.l2a.optical.num-workersâ in the config table from the database with:
psql -U admin sen2agri -c "update config set value = YOUR_NEW_VALUE where key = âprocessor.l2a.optical.num-workersâ "