Hi all!
I just made a fresh installation of Sen2Agri v 1.8.2. Since I have S2 L1C data on premise, I would like to make use of the Local L1C Store.
My local data is stored at /mnt/archive/LOCAL_DATA/S2
. It is structured as given in the User Manual: YEAR/MONTH/DAY/FILE.SAFE
I changed the sen2agri-services.properties file as described in the Sen2-Agri-Software-User-Manual-2.7 as followed:
server.port = 8081 spring.datasource.url=jdbc:postgresql://localhost:5432/sen2agri?stringtype=unspecified spring.datasource.username=admin spring.datasource.password=sen2agri log.level=FINER ########################### ## Data sources credentials SciHubDataSource.username= SciHubDataSource.password= USGSDataSource.username= USGSDataSource.password= ################################################ ## Data sources default purposes ## 1 = query, 2 = download, 3 = query & download SciHubDataSource.Sentinel1.scope=3 SciHubDataSource.Sentinel2.scope=1 AWSDataSource.Sentinel2.scope=2 ## If the local_archive_path is set, the specified local repository will be used for downloading products AWSDataSource.Sentinel2.local_archive_path=/mnt/archive/LOCAL_DATA/S2 ## Possible values for fetch_mode ## 1 = OVERWRITE, 2 = RESUME, 3 = COPY, 4 = SYMLINK ## 3 or 4 to be set if local_archive_path is set to a repository like /eodata/... AWSDataSource.Sentinel2.fetch_mode=4 USGSDataSource.Landsat8.scope=3 AWSDataSource.Landsat8.scope=2 SciHubDataSource.Sentinel1.enabled=true SciHubDataSource.Sentinel2.enabled=true AWSDataSource.Sentinel2.enabled=true USGSDataSource.Landsat8.enabled=true AWSDataSource.Landsat8.enabled=false AWSDataSource.Sentinel2.usePadding=true AWSDataSource.Landsat8.usePadding=true [details="Summary"] This text will be hidden [/details]
Afterwards, I restarted the system with the following command:
sudo systemctl restart sen2agri-services
But then, nothing happens. The download_history table is empty, the L2A processing is not performed, also, the /mnt/archive/dwn_def/
folder is not being created.
The datasource table looks like this:
id | satellite_id | name | scope | username | passwrd | fetch_mode | max_retries | retry_interval_minutes | download_path | specific_p arams | max_connections | local_root | enabled ----+--------------+---------------------+-------+----------+---------+------------+-------------+------------------------+---------------------------------+------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------+-----------------+----------------------------+--------- 4 | 1 | Scientific Data Hub | 1 | | | 1 | 72 | 60 | /mnt/archive/dwn_def/s2/default | {"parameters":{"dsParameter":[{"name":"cloudcoverpercentage","type":"java.lang.Double","value":"100.0"},{"name":"platformName" ,"type":"java.lang.String","value":"Sentinel-2"},{"name":"productType","type":"java.lang.String","value":"S2MSI1C"}]}} | 1 | | t 5 | 1 | Amazon Web Services | 2 | | | 4 | 72 | 60 | /mnt/archive/dwn_def/s2/default | {"parameters":{"dsParameter":[{"name":"cloudcoverpercentage","type":"java.lang.Double","value":"100.0"},{"name":"platformName" ,"type":"java.lang.String","value":"Sentinel-2"}]}} | 1 | /mnt/archive/LOCAL_DATA/S2 | t 2 | 2 | Amazon Web Services | 2 | | | 1 | 72 | 60 | /mnt/archive/dwn_def/l8/default | {"parameters":{"dsParameter":[{"name":"cloudcoverpercentage","type":"java.lang.Double","value":"100.0"},{"name":"collection"," type":"java.lang.String","value":"COLLECTION_1"},{"name":"platformName","type":"java.lang.String","value":"Landsat-8"}]}} | 1 | | f 1 | 2 | USGS | 3 | | | 1 | 72 | 60 | /mnt/archive/dwn_def/l8/default | {"parameters":{"dsParameter":[{"name":"cloud_from","type":"java.lang.Double","value":"0.0"},{"name":"cloud_to","type":"java.la ng.Double","value":"100.0"},{"name":"satellite_name","type":"java.lang.String","value":"landsat-8"}]}} | 1 | | t 3 | 3 | Scientific Data Hub | 3 | | | 1 | 72 | 60 | /mnt/archive | {"parameters":{"dsParameter":[{"name":"platformName","type":"java.lang.String","value":"Sentinel-1"},{"name":"productType","ty pe":"java.lang.String","value":"SLC"}]}}
…which looks correct to me.
Is there anything I forgot to do?
Thanks for your help!