SkillAgentSearch skills...

EGMStoolkit

EGMS toolkit is a set of python scripts to download and manage the InSAR data from European Ground Motion Service.

Install / Use

/learn @alexisInSAR/EGMStoolkit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

EGMS toolkit ############

EGMS toolkit is a set of python scripts to download and manage the InSAR data from European Ground Motion Service <https://egms.land.copernicus.eu>_. The toolkit allows:

  • to download the data automatically;
  • to merge the files;
  • to clip/crop the datasets.

UNDER DEVELOPMENT

Release info: Version 0.3.0 Beta, Oct., 2025

The online documentation can be found here <https://alexisinsar.github.io/EGMStoolkit/>_.

Dependencies and installation

The requirements are:

  • Python 3
  • GDAL (best with >= 3.8.0)
  • GMT (with GSHHG)

.. note::

GDAL 3.8.0 (or higher) is required for data gridding. 

To install the EGMS toolkit,

On Linux and MacOS:

.. code-block:: bash

git clone https://github.com/alexisInSAR/EGMStoolkit.git
pip3 install -e EGMStoolkit

On Windows:

.. code-block:: bash

git clone https://github.com/alexisInSAR/EGMStoolkit.git
py -m pip3 install -e EGMStoolkit

.. note::

For an installation in protected directories, the path of the Sentinel-Burst-ID map could be modified.

Run the toolkit

There are two ways to use the toolkit (in shell or in Python).

The user needs to use the temporary token from the EGMS website. It can be found at the end of download links (see image below). Any download links can be used, the user can use a random download link.

.. image:: private/example_token.png :width: 750px :alt: EGMS Token

Please find an example of the script use in your shell terminal.

.. code-block:: bash

EGMStoolkit -l L2a,L2b -r 2018_2022 -t XXXXXXXXXXXXXXXXXXXX -b -6.427059639290446,53.2606655698541,-6.0952332730202095,53.41811986118854 -o ./Output_directory --track 1 --pass Ascending --nomerging -noclipping --quiet --clean

.. note::

The -h option is useful to get a help, i.e., 

.. code-block:: bash
    
    EGMStoolkit -h 

The --docs option is useful to get the documentation of EGMS-toolkit: i.e., 

.. code-block:: bash
    
    EGMStoolkit --docs     

In addition, EGMStoolkit can be used in a Python environment: see the example in the EGMStoolkit documentation.

Merging the L2 datasets

Due to the Sentinel-1 acquisition mode, EGMStoolkit offers two different methods of merging:

  • Without reducing duplicate of measurement points in burst/swath overlaps;
  • With reducing duplicate of measurement points in burst/swath overlaps based on the convace-hull algorithm.

The method can be selected by modifing (True or False) the option removeduplicate. The length_threshold can be used for the same function (1000 by default).

The VRT format can be used for the merging and interpolation steps.

Authors

Alexis Hrysiewicz University College Dublin / iCRAG

Change log

See the Change log section of the documentation.

License

EGMS-toolkit Copyright (C) 2025 Alexis Hrysiewicz

This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions (see License).

Reference

Hrysiewicz, A., Khoshlahjeh Azar, M., & Holohan, E. P. (2024). EGMS-toolkit: a set of Python scripts for improved access to datasets from the European Ground Motion Service. Earth Science Informatics. https://doi.org/10.1007/s12145-024-01356-w

Funding

The author acknowledges funding from an ESA Living Planet Fellowship (Project name: Raised Peatland Ecohydrology Evaluation through Sentinel-1 InSAR data and Machine Learning) and iCRAG, the Science Foundation Ireland Research Centre in Applied Geosciences.

.. list-table:: :widths: 75 75 75 :header-rows: 0

    • .. image:: https://brand.esa.int/files/2020/05/ESA_logo_2020_Deep-1024x643.jpg :height: 100px :alt: ESA Logo :target: https://eo4society.esa.int/lpf/alexis-hrysiewicz/
    • .. image:: https://www.icrag-centre.org/t4media/iCRAG_RI_stacked-new_digital-01%20(2)(1).png :height: 100px :alt: iCRAG logo :target: https://www.icrag-centre.org
    • .. image:: https://www.ucd.ie/t4media/crest-ucd.svg :height: 75px :alt: UCD Logo :target: https://www.ucd.ie/

The Python package reflects only the Author's view and not the one of the ESA. The Agency is not responsible for any use that may be made of the information it contains.

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated4d ago
Forks5

Languages

Python

Security Score

90/100

Audited on Mar 24, 2026

No findings