Skip to main content

Pure Python port of ESA's Sentinel-2 radiometric uncertainty tool

Project description

s2_rut_python

Pure Python port of ESA's Sentinel-2 radiometric uncertainty tool.

s2_rut_python computes per-pixel radiometric uncertainties for Sentinel-2 Level 1C reflectance data, following the methodology of Gorrono et al. (2017). Outputs are stored in the obsarray uncertainty accessor format.

Warning: This software is in beta. Results should be used with caution. Please share any feedback via the issue tracker.

Usage

Virtual environment

It is always recommended to use a virtual environment for each Python project. Use your preferred environment manager, or create one with:

python -m venv venv

Activate it on Windows with venv\Scripts\activate, or on macOS/Linux with source venv/bin/activate.

Installation

Install the package and its core dependencies:

pip install -e .

Optional extras are available depending on your use case:

pip install -e ".[dev]"      # Development tools (ruff, mypy, pytest, …)
pip install -e ".[docs]"     # Documentation build (sphinx, …)

Development

Install the pre-commit hooks after cloning:

pre-commit install

When you commit, ruff will lint and format your code. If it makes corrections the commit will be aborted so you can review the changes — just commit again once you are happy.

Run the test suite with:

pytest

Compatibility

s2_rut_python requires Python 3.11 or later and is tested on Python 3.11, 3.12, and 3.13.

Licence

s2_rut_python is released under the GNU Lesser General Public License v3 (LGPLv3). See the LICENSE file for the full licence text.

Authors

s2_rut_python is developed and maintained by the MetEOR Toolkit Team.

Citations

Gorrono, J.; Fomferra, N.; Peters, M.; Gascon, F.; Underwood, C.I.; Fox, N.P.; Kirches, G.; Brockmann, C. A Radiometric Uncertainty Tool for the Sentinel 2 Mission. Remote Sens. 2017, 9, 178. https://doi.org/10.3390/rs9020178

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s2_rut_python-0.0.2.tar.gz (9.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

s2_rut_python-0.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file s2_rut_python-0.0.2.tar.gz.

File metadata

  • Download URL: s2_rut_python-0.0.2.tar.gz
  • Upload date:
  • Size: 9.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for s2_rut_python-0.0.2.tar.gz
Algorithm Hash digest
SHA256 94ccc8b37f86196f1a2c774a1b2f9bce6b626e14d47ca65bc57008e3780f86fb
MD5 21de22e46da40d13776dfbbfa00cc4aa
BLAKE2b-256 6c3a2978dc2f31260c996881125abfd5e836d97c84f58d3501e8f935fdfe65c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for s2_rut_python-0.0.2.tar.gz:

Publisher: publish.yml on meteor-toolkit/s2_rut_python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file s2_rut_python-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: s2_rut_python-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for s2_rut_python-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ac5e6f6214778bc8b061b61046d1dab0d11b37b470a43412a78944ec8652784f
MD5 5bde013f215420d73a05bb7d88c89ae5
BLAKE2b-256 78b97aeedc1ba88310ad1e92ed5929a0bbd7939df19f81b466227cd7e8a99866

See more details on using hashes here.

Provenance

The following attestation bundles were made for s2_rut_python-0.0.2-py3-none-any.whl:

Publisher: publish.yml on meteor-toolkit/s2_rut_python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page