Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Sen2Chain
==========
Installation
--------------
Download Sen2Chain and install the python dependencies
.. code-block:: bash
git clone https://framagit.org/espace-dev/sen2chain.git
cd sen2chain
pip3 install --user -e .
Or install directly from Git :
.. code-block:: bash
python3 -m pip install git+https://framagit.org/espace-dev/sen2chain.git
Once installed, import Sen2Chain in a python console to initialize the package :
.. code-block:: python
from sen2chain import Tile
exit()
Update Sen2Chain
-----------------
| Updates are regularly made on the processing chain, and can be easily retrieved with Git.
| Go to the install directory, pull the last updates from Framagit, and if necessary reinstall Sen2Chain (to get new requirement libraries).
.. code-block:: bash
cd sen2chain
git pull
pip3 install --user -e .
Sen2Chain Configuration
-----------------------
After the first launch of Sen2Chain, default folders are created in ``~/sen2chain_data/data``
You can change the settings by editing the configuration file: ``nano ~/sen2chain_data/config/config.cfg``
.. code-block:: bash
# Directory paths that will receive the different products from the processing steps of Sen2Chain.
[DATA PATHS]
temp_path = /default/path/sen2chain_data/data/TEMP
l1c_path = /default/path/sen2chain_data/data/L1C
l1c_archive_path = /default/path/sen2chain_data/data/L1C_ARCHIVE
l2a_path = /default/path/sen2chain_data/data/L2A
l2a_archive_path = /default/path/sen2chain_data/data/L2A_ARCHIVE
indices_path = /default/path/sen2chain_data/data/INDICES
time_series_path = /default/path/sen2chain_data/data/TIME_SERIES
temporal_summaries_path = /default/path/sen2chain_data/data/TEMPORAL_SUMMARIES
cloudmasks_path = /default/path/sen2chain_data/data/CLOUDMASKS
extraction_path = /default/path/sen2chain_data/data/EXTRACTION
# Path to L2A_Bashrc file of your Sen2Cor installation
[SEN2COR PATH]
sen2cor_bashrc_path = /default/path/Sen2Cor-02.10.01-Linux64/L2A_Bashrc
sen2cor_alternative_bashrc_path = /default/path/older_sen2cor/L2A_Bashrc
# Path for Jobs routine logs
[LOG PATH]
log_path = /default/path/sen2chain_data/logs
**Sen2Chain is now ready to run!**