How To Install python3-xarray-sentinel on Debian 12
Introduction
In this tutorial we learn how to install python3-xarray-sentinel
on Debian 12.
What is python3-xarray-sentinel
python3-xarray-sentinel is:
Easily access and explore the SAR data products of the Copernicus Sentinel-1 satellite mission in Python. xarray-sentinel is a Python library and Xarray backend with the following functionalities:
- supports the following data products as distributed by ESA:
- Sentinel-1 Ground Range Detected (GRD):
- Stripmap (SM)
- Interferometric Wide Swath (IW)
- Extra Wide Swath (EW)
- Sentinel-1 Single Look Complex (SLC) SM/IW/EW
- Sentinel-1 Ground Range Detected (GRD):
- creates ready-to-use Xarray
Dataset
s that map the data lazily and efficiently in terms of both memory usage and disk/network access - reads all SAR imagery data: GRD images, SLC swaths and SLC bursts
- reads several metadata elements: satellite orbit and attitude, ground control points, radiometric calibration look up tables, Doppler centroid estimation and more
- reads uncompressed and compressed SAFE data products on the local computer or on a network via fsspec
- supports larger-than-memory and distributed data access via Dask and rioxarray / rasterio / GDAL
- provides a few helpers for simple operations involving metadata like cropping individual bursts out of IW SLC swaths, applying radiometric calibration polynomials, converting slant to ground range for GRD products and computing geospatial metadata.
There are three methods to install python3-xarray-sentinel
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-xarray-sentinel 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-xarray-sentinel
using apt-get
by running the following command:
sudo apt-get -y install python3-xarray-sentinel
Install python3-xarray-sentinel Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-xarray-sentinel
using apt
by running the following command:
sudo apt -y install python3-xarray-sentinel
Install python3-xarray-sentinel 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-xarray-sentinel
using aptitude
by running the following command:
sudo aptitude -y install python3-xarray-sentinel
How To Uninstall python3-xarray-sentinel on Debian 12
To uninstall only the python3-xarray-sentinel
package we can use the following command:
sudo apt-get remove python3-xarray-sentinel
Uninstall python3-xarray-sentinel And Its Dependencies
To uninstall python3-xarray-sentinel
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove python3-xarray-sentinel
Remove python3-xarray-sentinel Configurations and Data
To remove python3-xarray-sentinel
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge python3-xarray-sentinel
Remove python3-xarray-sentinel configuration, data, and all of its dependencies
We can use the following command to remove python3-xarray-sentinel
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-xarray-sentinel
Dependencies
python3-xarray-sentinel have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-xarray-sentinel
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.