Metadata-Version: 2.1
Name: perseo-perturbations
Version: 1.0.0
Summary: Python Ecosystem for Remote Sensing & Earth Observation: computing geodynamics displacements and atmospheric delays for SAR products.
Author-Email: "Aresys S.R.L." <info@aresys.it>
License: MIT License
         
         Copyright (C) Aresys S.r.l. <info@aresys.it>
         
         Permission is hereby granted, free of charge, to any person obtaining a copy
         of this software and associated documentation files (the "Software"), to deal
         in the Software without restriction, including without limitation the rights
         to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         copies of the Software, and to permit persons to whom the Software is
         furnished to do so, subject to the following conditions:
         
         The above copyright notice and this permission notice shall be included in all
         copies or substantial portions of the Software.
         
         THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         SOFTWARE.
         
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: Topic :: Scientific/Engineering
Classifier: Typing :: Typed
Project-URL: Homepage, https://github.com/aresys-srl/perseo
Project-URL: Repository, https://github.com/aresys-srl/perseo
Project-URL: Documentation, https://aresys-srl.github.io/perseo
Requires-Python: >=3.11
Requires-Dist: numpy>2
Requires-Dist: scipy>1.13
Requires-Dist: pandas>=1.4.0
Requires-Dist: xarray>=2026.4.0
Requires-Dist: more-itertools
Requires-Dist: netCDF4
Requires-Dist: pymap3d>=3.2
Requires-Dist: perseo-core>=1.0.0
Provides-Extra: build
Requires-Dist: meson-python; extra == "build"
Requires-Dist: meson; extra == "build"
Requires-Dist: ninja; extra == "build"
Provides-Extra: dev
Requires-Dist: ruff; extra == "dev"
Requires-Dist: pylint; extra == "dev"
Requires-Dist: nox; extra == "dev"
Provides-Extra: test
Requires-Dist: pytest>8.0.0; extra == "test"
Requires-Dist: pytest-cov>7.0.0; extra == "test"
Provides-Extra: docs
Requires-Dist: zensical; extra == "docs"
Requires-Dist: mkdocstrings-python; extra == "docs"
Description-Content-Type: text/markdown

# perseo-perturbations

[![PyPI version](https://img.shields.io/pypi/v/perseo-perturbations)](https://pypi.org/project/perseo-perturbations/)
[![Python 3.11+](https://img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue)](https://python.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE.txt)

**P**ython **E**cosystem for **R**emote **S**ensing & **E**arth **O**bservation (PERSEO) PERTURBATIONS package for computing
**geodynamics displacements** (Plate Tectonics, Solid Earth Tides) and **atmospheric delays** (Ionospheric,
Tropospheric) needed for SAR products analysis, together with a **Geomagnetic Field** model (IGRF-14).

## Features

### Atmospheric Delays

Correction of SAR signal propagation delays through the Earth's atmosphere.

- **Tropospheric Delay**: Vienna Mapping Function 3 (VMF3) model with precomputed Legendre coefficients
  - Hydrostatic (dry) and wet components
  - Station grid point coordinates (1&deg;&times;1&deg; and 5&deg;&times;5&deg; grids)
- **Ionospheric Delay**: Total Electron Content (TEC) based dispersive medium model
  - Frequency-dependent phase advance

### Geodynamics Displacements

Accounting for solid Earth deformations affecting SAR geolocation and phase interpretation.

- **Earth Solid Tides**: periodic crustal deformations from Moon and Sun gravitational attraction
  - Python wrapper of the IERS Conventions (2003) [`solid.for` code by Dennis Milbert](https://geodesyworld.github.io/SOFTS/solid.htm)
  - Vertical displacements up to ~40 cm, horizontal up to ~10 cm
- **Plate Tectonics (Secular Motion)**: ITRF2014 plate motion model
  - Linear displacement over time, mm/year to cm/year velocities

### Geomagnetic Field

- **IGRF-14**: 14th iteration of the International Geomagnetic Reference Field (released October 2024)
  - Spherical harmonic model up to degree 13
  - Valid from 1900 to 2030
  - Geocentric and geodetic (WGS84) coordinate support
  - Output components: radial, southward, eastward (geocentric) / east, north, up (geodetic)
  - Derived magnetic inclination and declination

## Installation

```bash
pip install perseo-perturbations
```

> **Note**: This package uses a Fortran wrapper for solid tide computations and requires a working Fortran compiler for building from source. Pre-built wheels are available on PyPI.

## License

This project is licensed under the MIT License. See the [LICENSE.txt](LICENSE.txt) file for details.

Copyright &copy; 2026-present Aresys S.r.L. <info@aresys.it>
