This version also includes the new GIPP file, delivered in the previous version 1.8.2.
The procedure to install this new version may vary depending on how you are currently using the Sen2-Agri system (ongoing processing, number of sites, etc.). We have identified a list of cases that can represent your current use of Sen2-Agri and for each of them, we have detailed you how to easily install/update your system. We strongly recommend you reading carefully this section and following the instructions.
You can download the
new installation package and follow the installation instructions from the
Software User Manual.
You can download the
new installation package and simply upgrade your system by running these two update scripts that will make the general update of your Sen2-Agri system and replace the GIPP files:
cd ~/Downloads/Sen2AgriDistribution/install_script
sudo ./update.sh
sudo ./update_gipp.sh
All the processing over the sites you previously created are completed and you intend to launch new sites in the future ?
You can download the new installation package and simply upgrade your system by running these two update scripts that will make the general update of your Sen2-Agri system and replace the GIPP files:
cd ~/Downloads/Sen2AgriDistribution/install_script
sudo ./update.sh
sudo ./update_gipp.sh
The processing over the sites you previously created is not completed? Still, you can already make the general update of your Sen2-Agri system. You will update the GIPP file later on, when the processing will be completed.
You can download the new installation package and follow the here-below instructions:
* Upgrade your system by running the generic script that will make the general update:
cd ~/Downloads/Sen2AgriDistribution/install_script
sudo ./update.sh
* Update the GIPP files the download and L2A processing’s are completed
To ensure the compatibility of the L2A time series, you should not update the gipp before all the downloads and L2A processing’s over these sites are completed.
Once this is the case and before launching a new site, you can run the update_gipp script:
cd ~/Downloads/Sen2AgriDistribution/install_script
sudo ./update_gipp.sh
* Recover missing downloads
If you make the update starting from the version 1.8 or 1.8.1, you will also have to run a specific procedure to recover missing downloads. Indeed, the versions 1.8 and 1.8.1 had issues to deal with (i) multi-polygons site extent, (ii) long decimal precision in the geometry coordinates of the site extent and (iii) the time lag between the S2 images availability on the ESA-Scientific Data Hub and on the AWS store. As a consequence, these versions 1.8 and 1.8.1 are suffering from missing downloads of S2 and L8 images. The versions 1.8.2 and 1.8.3 include an important evolution of the sen2agri-services application to solve these issues.
In order to benefit from this sen2agri-services evolution during your ongoing season and recover the missing S2 / L8 downloads, you will have to run a specific procedure to update a system database called downloader_history, which is linking each product to a series of properties. As explained here, each S2/L8 product is related to a status_id informing about the status of its processing (from the download to the L2A generation). The missing products are flagged with a status_id = ‘4’, i.e. ‘download aborted’.
To force the sen2agri-services application to retry the download of these products, you have to change the status of these products to 3 (i.e. ‘failed but will retry’) and the number of retries to ‘0’. You can do so by running to two here-below commands.
sudo -u postgres psql sen2agri -c "update downloader_history set no_of_retries = '0' where status_id = '4' "
sudo -u postgres psql sen2agri -c "update downloader_history set status_id = '3' where status_id =
'4' "
If you would like to be kept inform of our activities such as upcoming events, new system releases and project activities please register.
The Sen2-Agri team