How to configure¶
Introduction¶
How to configure the downloader¶
Set Tiles to download¶
- Edit the Downloader configuration file
vim /usr/ichnosat/src/core/downloader/config/config.cfg
- Set the list of tiles using the comma ‘,’ as separator, in the ‘tiles’ key; e.g.:
tiles=32/T/ML,32/T/NL,32/T/MK,32/T/NK,32/S/MJ,32/S/NJ
Set files to download for each tile¶
- Edit the Downloader configuration file
vim /usr/ichnosat/src/core/downloader/config/config.cfg
- Set the list of tiles using the comma ‘,’ as separator, in the ‘files_to_download’ key; e.g.:
files_to_download=B04.jp2,B08.jp2
Set Sensing time interval¶
You can filter the products to download, setting the sensing time interval. The interval is composed of start date and end date.
- Edit the Downloader configuration file
vim /usr/ichnosat/src/core/downloader/config/config.cfg
- Set the sensing time start, in the ‘start_date’ key; e.g.:
start_date=2016/07/13
- Set the sensing time end, in the ‘end_date’ key; e.g.:
end_date=2017/07/13
It is possible to set NOW as sensing time end, this means that the Downloader for every download cycle consider as sensing time end the current date; e.g.:
end_date=NOW
Set how many parallels download threads¶
You can define how many parallels download run in the same time:
- Edit the Downloader configuration file
vim /usr/ichnosat/src/core/downloader/config/config.cfg
- Set how many threads the Downloader launches, in the ‘parallel_downloads’ key; e.g.:
parallel_downloads=2
How to configure the processor¶
Set how many parallels processing threads¶
You can define how many parallels processing run in the same time:
- Edit the Processor configuration file
vim /usr/ichnosat/src/core/processing_pipe/config/config.cfg
- Set how many threads the Processor launches, in the ‘parallel_processing’ key; e.g.:
parallel_processing=2
How to configure the global platform parameters¶
How to configure the cron¶
Ichnosat exploit linux cron to run periodically the process.
- Edit the System Manager configuration file
vim /usr/ichnosat/src/core/system_manager/config/config.cfg
- Set the cron string, in the ‘cron’ key; e.g.:
cron = 10 10 * * *
How to configure the graphical user interface port¶
Using Docker and Docker Compose, you can set the port of GUI client:
- Edit the docker-compose.yml configuration file
vim /usr/ichnosat/docker-compose.yml
- Set the port number, in the ‘ports’ property; e.g. (in this example is 5040):
nginx:
image: nginx
volumes:
- ./src/gui:/usr/share/nginx/html
ports:
- "5040:80"