Installation
Requirements
To be able to install and use the s3lst-ds package in your project, you would need:
Installation Steps
Install package from PyPI
Set CDSE credentials
-
Safely set your CDSE credentials as environment variables of the system:
Install esa-snappy (optional)
-
Install
esa-snappyPython package usinguv: -
Install the backend
SNAPJava package (if not already installed) and subsequently configure it usinguv:
Note
CDSE credentials
CDSE credentials are required to download Sentinel-3 data. Script s3lst-ds-set-cdse
will prompt you to provide their CDSE mail and password. The script will subsequently
write them to file ~/.config/cdse_credentials.sh with user-only read and write
permissions and source it in ~/.bashrc file. You may check the created credentials
file using the command:
Note that if you would like to remove the credentials from the file at a later time, you may run:
Better downscaling results may be obtained with esa-snappy
The default installation considers
rioxarray for georeferencing the
downloaded Sentinel-3 products. However,
esa-snappy has been found to produce
better results, and, because of that, it is herein availed as an optional tool. With
its installation, both tools can be used for georeferencing.
Uninstall SNAP
If the you would to like to uninstall SNAP at a later time, you may run:
SNAP's memory limit
It is important to note that SNAP is configured with a limited amount of memory. To
increase SNAP's maximum heap memory to for instance 64 GB, you would need to open
file esa_snappy.ini nested in the installation directory of the virtual environment
(herein assumed to be VENV) by doing
and writing in it: