How To Install python3-sarsen on Debian 12

Learn how to install python3-sarsen on Debian 12 with this tutorial. python3-sarsen is Algorithms and utilities for Synthetic Aperture Radar (SAR) sensors

Introduction

In this tutorial we learn how to install python3-sarsen on Debian 12.

What is python3-sarsen

python3-sarsen is:

Enables cloud-native SAR processing via Xarray and Dask.

Sarsen is a Python library and command line tool with the following functionalities:

  • provides algorithms to terrain-correct satellite SAR data
    • geometric terrain correction (geocoding)
      • fast mode: to terrain-correct images
      • accurate mode: for interferometric processing
    • radiometric terrain correction (gamma flattening)
  • accesses SAR data via xarray-sentinel:
    • supports most Sentinel-1 data products as distributed by ESA:
      • Sentinel-1 Single Look Complex (SLC) SM/IW/EW
      • Sentinel-1 Ground Range Detected (GRD) SM/IW/EW
    • reads uncompressed and compressed SAFE data products on the local computer or on a network via fsspec
  • accesses DEM data via rioxarray:
    • reads local and remote data in virtually any raster format via rasterio / GDAL
  • supports larger-than-memory and distributed data access and processing via Dask
    • efficient geometric terrain-correction for a full GRD
    • efficient radiometric terrain-correction for a full GRD.

There are three methods to install python3-sarsen on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-sarsen Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python3-sarsen using apt-get by running the following command:

sudo apt-get -y install python3-sarsen

Install python3-sarsen Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-sarsen using apt by running the following command:

sudo apt -y install python3-sarsen

Install python3-sarsen Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-sarsen using aptitude by running the following command:

sudo aptitude -y install python3-sarsen

How To Uninstall python3-sarsen on Debian 12

To uninstall only the python3-sarsen package we can use the following command:

sudo apt-get remove python3-sarsen

Uninstall python3-sarsen And Its Dependencies

To uninstall python3-sarsen and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove python3-sarsen

Remove python3-sarsen Configurations and Data

To remove python3-sarsen configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge python3-sarsen

Remove python3-sarsen configuration, data, and all of its dependencies

We can use the following command to remove python3-sarsen configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-sarsen

Dependencies

python3-sarsen have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-sarsen package on Debian 12 using different package management tools: apt, apt-get and aptitude.