Skip to content

Commit cd80f72

Browse files
Merge branch 'develop' into master for release 4.5.0
2 parents 92e00bc + 88bf40e commit cd80f72

File tree

382 files changed

+859
-6770
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

382 files changed

+859
-6770
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ It is therefore possible, to cover large geographic extent with a __seamless ima
4040
It is worth noting that the overall accuracy of your final ARD product strongly depends on the accuracy of sen2like auxiliary data. Two categories of auxiliary data are important: the raster reference for geometric corrections and the meteorological data for atmospheric corrections. Regarding atmospheric corrections, one possibility is to use data from the Copernicus Atmosphere Monitoring Service [9]. The Sen2Like team prepared a dedicated CAMS monthly dataset for the Year 2020, available from [here](http://185.178.85.51/CAMS/). Please refer to this short [description](http://185.178.85.51/CAMS/Readme_CAMS2020.txt) for additional information.
4141

4242
For further details on the format specification of the harmonized products or the functionalities of the Sen2Like software, please
43-
refer to the [Product Format Specification](sen2like/docs/source/S2-PDGS-MPC-L2HF-PFS-v1.2.pdf), and the [User Manual v1.9](sen2like/docs/source/S2-SEN2LIKE-UM-V1.9.pdf).
43+
refer to the [Product Format Specification](sen2like/docs/source/OMPC.TPZ.S2L.PFS.001%20-%20i1r3%20Level%202HF%20Product%20Format%20Specification.pdf), and the [User Manual v1.10](sen2like/docs/source/S2-SEN2LIKE-UM-V1.10.pdf).
4444

4545
## Publications and Contacts
4646
**Yearning to know more ? Check out**
@@ -61,7 +61,7 @@ And the following references :
6161
+ [10] Saunier, S.; Pflug, B.; Lobos, I.M.; Franch, B.; Louis, J.; De Los Reyes, R.; Debaecker, V.; Cadau, E.G.; Boccia, V.; Gascon, F.; Kocaman, S. Sen2Like: Paving the Way towards Harmonization and Fusion of Optical Data. Remote Sens. 2022, 14, 3855. (https://doi.org/10.3390/rs14163855)
6262
+ [11] [Sen2Cor3 installation instructions](sen2cor3/README.md)
6363

64-
**Learn how to use Sen2Like**, have a look at the [User Manual](sen2like/docs/source/S2-SEN2LIKE-UM-V1.9.pdf).
64+
**Learn how to use Sen2Like**, have a look at the [User Manual](sen2like/docs/source/S2-SEN2LIKE-UM-V1.10.pdf).
6565

6666
**Get help**, contact us at sen2like@telespazio.com.
6767

sen2cor3/README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# Sen2Cor 3 version 3.02.00
1+
# Sen2Cor 3 version 3.03.00
22

3-
## Retrieve Sen2cor 3.02.00 documentation from sftp server
3+
## Retrieve Sen2cor 3.03.00 documentation from sftp server
44

55
```
66
hostname = 'sftp.telespazio.fr'
77
port = 22 # default SFTP port is 22
88
username = 'sen2cor3'
99
password = '4sen2like'
10-
remote_path = '/upload/Sen2Cor-3.02.00/Documentation/'
10+
remote_path = '/upload/Sen2Cor-3.03.00/Documentation/'
1111
```
1212

13-
**_Sen2cor 3.02.00 Software Release Note:_**
14-
sftp://sen2cor3@sftp.telespazio.fr/upload/Sen2Cor-3.02.00/Documentation/OMPC.TPZ.SRN.002%20-%20i1r0%20-%20Sen2Cor%203.02.00%20Software%20Release%20Note.pdf
13+
**_Sen2cor 3.03.00 Software Release Note:_**
14+
sftp://sen2cor3@sftp.telespazio.fr/upload/Sen2Cor-3.03.00/Documentation/OMPC.TPZ.SRN.003%20-%20i1r0%20-%20Sen2Cor%203.03.00%20Software%20Release%20Note.pdf
1515

16-
**_Sen2cor 3.02.00 Software Configuration and User Manual:_**
17-
sftp://sen2cor3@sftp.telespazio.fr/upload/Sen2Cor-3.02.00/Documentation/OMPC.TPZ.SUM.002%20-%20i1r0%20-%20Sen2Cor%203.02.00%20Configuration%20and%20User%20Manual.pdf
16+
**_Sen2cor 3.03.00 Software Configuration and User Manual:_**
17+
sftp://sen2cor3@sftp.telespazio.fr/upload/Sen2Cor-3.03.00/Documentation/OMPC.TPZ.SUM.003%20-%20i1r0%20-%20Sen2Cor%203.03.00%20Configuration%20and%20User%20Manual.pdf
1818

19-
## Retrieve Sen2cor 3.02.00 software from sftp server
19+
## Retrieve Sen2cor 3.03.00 software from sftp server
2020

2121
Either with a software like Filezilla:
2222

@@ -25,29 +25,29 @@ hostname = 'sftp.telespazio.fr'
2525
port = 22 # default SFTP port is 22
2626
username = 'sen2cor3'
2727
password = '4sen2like'
28-
remote_path = '/upload/Sen2Cor-3.02.00/Software/sen2cor_3.2.0_python_3.10_20241218.zip'
28+
remote_path = '/upload/Sen2Cor-3.03.00/Software/sen2cor_3.3.0_python_3.12_20250131.zip'
2929
```
3030

31-
e.g: sftp://sen2cor3@sftp.telespazio.fr/upload/Sen2Cor-3.02.00/Software/sen2cor_3.2.0_python_3.10_20241218.zip
31+
e.g: sftp://sen2cor3@sftp.telespazio.fr/upload/Sen2Cor-3.03.00/Software/sen2cor_3.3.0_python_3.12_20250131.zip
3232

3333
or with the example script "sen2cor3_download.py" based on "paramiko" module.
34-
It requires paramiko version 3.4.0 that could be installed with conda [see below](#create-the-sen2like-conda-environment):
34+
It requires paramiko module that could be installed with conda [see below](#create-the-sen2like-conda-environment):
3535

3636
```
3737
conda activate sen2like
38-
conda install paramiko=3.4.0 -c conda-forge
38+
conda install paramiko -c conda-forge
3939
```
4040

4141
```
4242
python sen2cor3_download.py sen2cor3_install_dir
4343
```
4444

45-
## Unzip sen2cor_3.2.0_python_3.10.zip into the Sen2Cor 3 directory of your choice
45+
## Unzip sen2cor_3.3.0_python_3.12.zip into the Sen2Cor 3 directory of your choice
4646

4747
```
4848
e.g. sen2cor3_install_dir=/opt/sen2cor3/code/
4949
cd $sen2cor3_install_dir
50-
unzip sen2cor_3.2.0_python_3.10.zip
50+
unzip sen2cor_3.3.0_python_3.12.zip
5151
```
5252

5353
## Auxiliary Data Symbolic linking
@@ -65,7 +65,7 @@ Examples of symbolic linking is given hereafter:
6565

6666

6767
```
68-
cd $sen2cor3_install_dir/sen2cor_3.2.0_python_3.10/SEN2COR_3/aux_data
68+
cd $sen2cor3_install_dir/sen2cor_3.3.0_python_3.12/SEN2COR_3/aux_data
6969
ln -s /data/CAMS/daily ./ECMWF/daily
7070
ln -s /data/AUX_DATA/ESACCI-LC-L4-Snow-Cond-500m-MONTHLY-2000-2012-v2.4 ./ESACCI-LC-L4-Snow-Cond-500m-MONTHLY-2000-2012-v2.4
7171
ln -s /data/AUX_DATA/ESACCI-LC-L4-WB-Map-150m-P13Y-2000-v4.0.tif ./ESACCI-LC-L4-WB-Map-150m-P13Y-2000-v4.0.tif
@@ -74,29 +74,29 @@ ln -s /data/AUX_DATA/ESACCI-LC-L4-LCCS-Map-300m-P1Y-2015-v2.0.7.tif ./ESACCI-LC-
7474

7575
## Install miniconda if conda is not already installed on your system
7676

77-
https://repo.anaconda.com/miniconda/Miniconda3-py37_22.11.1-1-Linux-x86_64.sh
77+
https://repo.anaconda.com/miniconda/Miniconda3-py312_25.1.1-2-Linux-x86_64.sh
7878

7979
## Create the sen2like conda environment
8080

8181
Once you retrieved the code, go into Sen2Cor3 root source folder and run the following command to create a conda env named sen2like:
8282

8383
```
84-
cd $sen2cor3_install_dir/sen2cor_3.2.0_python_3.10
85-
conda create -n sen2like --file requirements.txt -c conda-forge
84+
cd $sen2cor3_install_dir/sen2cor_3.3.0_python_3.12
85+
conda env create --file requirements.yml
8686
```
8787

8888
## Activate sen2like conda environment
8989

90-
Sen2Cor 3.2 uses the same conda environment as Sen2like:
90+
Sen2Cor 3.3 uses the same conda environment as Sen2like 4.5 with Python 3.12:
9191

9292
```
93-
conda activate sen2like
93+
conda activate sen2like_py312
9494
```
9595

9696
### Test the Command line execution
9797

9898
```
99-
python $sen2cor3_install_dir/sen2cor_3.2.0_python_3.10/SEN2COR_3/L2A_Process.py --help
99+
python $sen2cor3_install_dir/sen2cor_3.3.0_python_3.12/SEN2COR_3/L2A_Process.py --help
100100
101101
output:
102102
usage: L2A_Process.py [-h] [--mode MODE] [--resolution {10,20,30,60}] [--datastrip DATASTRIP] [--tile TILE] [--output_dir OUTPUT_DIR] [--work_dir WORK_DIR]
@@ -105,7 +105,7 @@ usage: L2A_Process.py [-h] [--mode MODE] [--resolution {10,20,30,60}] [--datastr
105105
[--GIP_L2A_SC GIP_L2A_SC] [--GIP_L2A_AC GIP_L2A_AC] [--GIP_L2A_PB GIP_L2A_PB] [--Hyper_MS]
106106
input_dir
107107
108-
Sen2Cor. Version: 03.02.00, created: 2024.12.18, supporting Level-1C product version 15.0, supporting Level-1TP Collection_1-2 Landsat_8-9, supporting Hyper MS Level-1C.
108+
Sen2Cor. Version: 03.03.00, created: 2025.01.31, supporting Level-1C product version 15.0, supporting Level-1TP Collection_1-2 Landsat_8-9, supporting Hyper MS Level-1C.
109109
110110
positional arguments:
111111
input_dir Directory of Level-1C input

sen2cor3/sen2cor3_download.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ def download_from_sftp(hostname, port, username, password, remote_path, local_pa
3030
sys.exit(1)
3131

3232
local_path = sys.argv[1]
33-
local_path = os.path.join(local_path, 'sen2cor_3.2.0_python_3.10_20241218.zip')
33+
local_path = os.path.join(local_path, 'sen2cor_3.3.0_python_3.12_20250131.zip')
3434

3535
hostname = "sftp.telespazio.fr"
3636
port = 22 # default SFTP port is 22
3737
username = 'sen2cor3'
3838
password = '4sen2like'
39-
remote_path = '/upload/Sen2Cor-3.02.00/Software/sen2cor_3.2.0_python_3.10_20241218.zip'
39+
remote_path = '/upload/Sen2Cor-3.03.00/Software/sen2cor_3.3.0_python_3.12_20250131.zip'
4040

4141
download_from_sftp(hostname, port, username, password, remote_path, local_path)

sen2like/.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# exclude all
22
*
33
# but not what we want to send in the build context
4-
!requirements.txt
4+
!environment.yml
55
!requirements_dev.txt
66
!sen2like
77
!aux_data

sen2like/Dockerfile-base

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM continuumio/miniconda3:23.10.0-1
77
WORKDIR /usr/local/sen2like
88

99
# Create the environment:
10-
# copy requirements.txt from sources to docker image
11-
COPY ./requirements.txt .
10+
# copy environment.yml from sources to docker image
11+
COPY ./environment.yml .
1212
# create sen2like env from requirement
13-
RUN conda create -n sen2like --file requirements.txt -c conda-forge
13+
RUN conda env create --file environment.yml

0 commit comments

Comments
 (0)