Oct 17 14:08:42 s84036 start.sh: 2019-Oct-17 14:08:42.107 INFO [Scientific Data Hub-S2-1] r.c.t.d.r.s.SciHubDataQuery - Query returned 0 products
Oct 17 14:08:42 s84036 start.sh: 2019-Oct-17 14:08:42.107 DEBUG [Scientific Data Hub-S2-1] o.e.s.s.i.DownloadServiceImpl - Query page #1 for site id 1
Oct 17 14:08:42 s84036 start.sh: 2019-Oct-17 14:08:42.107 DEBUG [Scientific Data Hub-S2-1] r.c.t.d.r.s.SciHubDataQuery - Executing query: https://scihub.copernicus.eu/apihub/search?rows=50&start=1&q=footprint%3A%22Intersects%28POLYGON%28%2822.862%2054.334%2C22.782%2054.583%2C22.758%2054.857%2C22.614%2055.075%2C22.074%2055.067%2C21.268%2055.19%2C21.064%2056.053%2C21.439%2056.311%2C22.173%2056.474%2C24.338%2056.341%2C24.943%2056.483%2C25.17%2056.245%2C25.739%2056.147%2C26.773%2055.67%2C26.649%2055.47%2C26.777%2055.303%2C26.736%2055.118%2C26.375%2055.068%2C26.008%2054.878%2C25.733%2054.398%2C25.726%2054.228%2C25.556%2054.175%2C25.27%2054.229%2C25.068%2054.098%2C24.8%2054.006%2C24.396%2053.926%2C23.664%2053.952%2C23.365%2054.178%2C22.862%2054.334%29%29%29%22%20AND%20endPosition%3A%5B2019-10-15T00%3A00%3A00.000Z%20TO%202019-10-17T14%3A07%3A51.000Z%5D%20AND%20filename%3A*34UFG*%20AND%20platformName%3ASentinel-2%20AND%20beginPosition%3A%5B2019-10-15T00%3A00%3A00.000Z%20TO%202019-10-17T14%3A07%3A51.000Z%5D%20AND%20productType%3AS2MSI1C&orderby=beginposition%20asc
The issue I see is the part
&start=1
First page should be 0. Now results on 1 page are empty.
Am i the only one with this problem?
Indeed, this is an issue (the SciHub API changed at some point) and was already corrected. We’ll release a new version of the services soon, including this correction.
P.S. Please note that this version of the services is not the official one and was not fully tested. If any issues, please let me know.
EDIT : After you copy the lib directory to the /usr/share/sen2agri/sen2agri-services, it is highly recommended to remove the tao-datasources-aws-1.0.jar and the tao-datasources-mundi-1.0.jar from this folder. If the services were already started, after the removal of these jar files you could do:
sudo -u postgres psql sen2agri -c “delete from datasource where name like ‘%Mundi DIAS%’;’”
sudo -u postgres psql sen2agri -c “delete from datasource where name like ‘%Amazon Web Services%’;’”
Do you have an update on this Cosmin? The download link for the newer sen2agri-services is no longer valid. Is there a time frame for when these changes will be added to an official version of sen2agri?
Are you sure you moved the lib and modules directories before copying the new services files?
This error is given normally if some jar files were kept from the previous version of the services.
since I patched the files you provided, an issue with sen2agri-config occured. The GUI opens, but always reads: “An error occured while loading the configuration: Missing global value for parameter s1.preprocessing.enabled”.
How can we fix this issue?
Is there any possibility to raise the number of parallel processes for maja using sen2agri-config or directly in the program files?