Hello, I am new to Sen2agri and I tried installing it for the first time following video tutorial. When I open the file “services.properties” my file is different from the one of the video and I can’t provide the user name and password for both SciHub and USGS servers (in the part of Data Sources Configuration).
Here is my “services.properties” file:
Copyright © 2018 CS ROMANIA
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
################################################
General Spring services configuration
server.port = 8080
spring.datasource.url=jdbc:postgresql://localhost:5432/sen2agri?stringtype=unspecified
spring.datasource.username=admin
spring.datasource.password=sen2agri
################################################
Datatabase configuration polling (in minutes)
database.config.polling=0
################################################
Data sources configuration
AWSDataSource.Sentinel2.local.archive.path.format = yyyy/MM/dd
SciHubDataSource.Sentinel2.local.missing.action=download
################################################
DIAS paths configuration (not needed for CreoDIAS)
Common supported values:
product.format = folder|zip|tar_gz
path.suffix = none|. (for example, .SAFE if it is part of the folder name)
Uncomment the one that suits you
CREO DIAS
SciHubDataSource.Sentinel2.path.suffix - possible values
none - no suffix is appended to the product name
“.SAFE” or other value is appended to the product name (like Creodias stores product folders)
SciHubDataSource.Sentinel2.path.suffix = .SAFE
SciHubDataSource.Sentinel2.product.format = folder
MUNDI DIAS
Sentinel-2 L1C path is s2-l1c-YYYY-qq/UU/L/SS/YYYY/MM/dd/<product_folder>, where:
UU = the UTM code
L = the latitude band
SS = the UTM square code
YYYY = year
MM = month (0-padded)
dd = day (0-padded)
<product_folder> = the product folder, without .SAFE suffix
Landsat-8 L1 path is PPP/RRR/YYYY/MM/, where:
PPP = the path (0-padded)
RRR = the row (0-padded)
YYYY = year
MM = month (0-padded)
= the product, as a tar.gz archive
The respective repository roots should be set in the database, in the respective datasource table records
#SciHubDataSource.Sentinel2.path.builder.class = org.esa.sen2agri.dias.mundi.Sentinel2PathBuilder
#SciHubDataSource.Sentinel2.local.archive.path.format = s2-l1c-YYYY-qq/UU/L/SS/YYYY/MM/dd
#SciHubDataSource.Sentinel2.path.suffix = none
#SciHubDataSource.Sentinel2.product.format = folder
#USGSDataSource.Landsat8.path.builder.class = org.esa.sen2agri.dias.mundi.Landsat8PathBuilder
#USGSDataSource.Landsat8.local.archive.path.format = PPP/RRR/YYYY/MM
#USGSDataSource.Landsat8.path.suffix = none
#USGSDataSource.Landsat8.product.format = tar_gz
ONDA DIAS
Sentinel-2 L1C path is YYYY/MM/dd/<product_name>.zip/<product_name>.SAFE, where:
YYYY = year
MM = month (0-padded)
dd = day (0-padded)
<product_name> = the product name, without .SAFE suffix
Landsat-8 L1 path is YYYY/MM/dd/<product_name>.tar/<product_name>, where:
YYYY = year
MM = month (0-padded)
dd = day (0-padded)
<product_name> = the product name, without any suffix
The respective repository roots should be set in the database, in the respective datasource table records
#SciHubDataSource.Sentinel2.path.builder.class = org.esa.sen2agri.dias.onda.Sentinel2PathBuilder
#SciHubDataSource.Sentinel2.local.archive.path.format = YYYY/MM/dd
#SciHubDataSource.Sentinel2.path.suffix = .SAFE
#SciHubDataSource.Sentinel2.product.format = folder
#USGSDataSource.Landsat8.path.builder.class = org.esa.sen2agri.dias.onda.Landsat8PathBuilder
#USGSDataSource.Landsat8.local.archive.path.format = YYYY/MM/dd
#USGSDataSource.Landsat8.path.suffix = .tar
#USGSDataSource.Landsat8.product.format = folder
SOBLOO DIAS
Sentinel-2 L1C path is S1[AB]/UU/L/SS/<product_folder>, where:
S1[AB] = the satellite (S1A or S1B)
UU = the UTM code
L = the latitude band
SS = the UTM square code
<product_folder> = the product folder, with .SAFE suffix
Landsat-8 L1 path is PPP/RRR/YYYY/MM/, where:
PPP = the path (0-padded)
RRR = the row (0-padded)
YYYY = year
MM = month (0-padded)
= the product, as a tar.gz archive
The respective repository roots should be set in the database, in the respective datasource table records
#SciHubDataSource.Sentinel2.path.builder.class = org.esa.sen2agri.dias.sobloo.Sentinel2PathBuilder
#SciHubDataSource.Sentinel2.local.archive.path.format = UU/L/SS/
#SciHubDataSource.Sentinel2.path.suffix = .SAFE
#SciHubDataSource.Sentinel2.product.format = folder
#USGSDataSource.Landsat8.path.builder.class = org.esa.sen2agri.dias.sobloo.Landsat8PathBuilder
#USGSDataSource.Landsat8.local.archive.path.format = PPP/RRR/YYYY/MM
#USGSDataSource.Landsat8.path.suffix = none
#USGSDataSource.Landsat8.product.format = tar_gz
Moreover, when I try to access the sen2agri configurator I get this error:
I tried reinstalling it but it happened again. Also, when executing “./sen2agriPlatformInstallAndConfig.sh” it starts decompresing without asking me which LIC processor should be used even though I followed the same steps of the video so I tried installing it before the Installation of sen2agri as explained in the user manual.
Thank you in advance.