Skip to content

Sen2mosaic

Sen2mosaic is a tool to download, preprocess and mosaic Sentinel-2 data.

Availability

Sen2mosaic is available in Puhti with following versions:

  • 0.2

Dependencies

The sen2mosaic module depends on geoconda/3.8.8 and sen2cor/2.9 modules which are loaded automatically.

Usage

Sen2mosaic is included in the sen2mosaic module and can be loaded with

module load sen2mosaic

On Puhti, you run the tools with

s2m_download <arguments>
s2m_preprocess <arguments>
s2m_mosaic <arguments>

More information on the available arguments for each tool can be displayed with

s2m_mosaic --help

or from the sen2mosaic user manual. (Note the _ in tool names on Puhti!)

For s2m_preprocess and s2m_mosaic you can use the argument --n_processes to set the number of available CPU cores to the number of computing cores of your job.

Advanced usage

Further configuration of s2m_preprocess can be done via the L2A_GIPP.xml file (part of Sen2cor). You can find the default GIPP file in /appl/soft/geo/sen2cor/2.9/Sen2Cor-02.09.00-Linux64/lib/python2.7/site-packages/sen2cor/cfg/L2A_GIPP.xml. Copy it to your $HOME directory, adjust it to your needs and add it to the call: s2m_preprocess --gipp $HOME/L2A_GIPP.xml <other arguments>

License and acknowledgement

Sen2mosaic is published under the GNU,GPL v3 license.

Please acknowledge CSC and Geoportti in your publications, it is important for project continuation and funding reports. As an example, you can write "The authors wish to thank CSC - IT Center for Science, Finland (urn:nbn:fi:research-infras-2016072531) and the Open Geospatial Information Infrastructure for Research (Geoportti, urn:nbn:fi:research-infras-2016072513) for computational resources and support".

References

Last edited Thu Feb 3 2022