Skip to main content

pyrsr

A package providing relative spectral response functions for remote sensing instruments.

Status

https://git.gfz.de/geomultisens/pyrsr/badges/main/pipeline.svg https://git.gfz.de/geomultisens/pyrsr/badges/main/coverage.svg https://img.shields.io/pypi/v/pyrsr.svg https://img.shields.io/pypi/l/pyrsr.svg https://img.shields.io/pypi/pyversions/pyrsr.svg https://img.shields.io/pypi/dm/pyrsr.svg

See also the latest coverage report and the pytest HTML report.

Features

Quick usage example for getting the spectral response functions of Sentinel-2A:

>>> from pyrsr import RelativeSpectralResponse
>>> RSR = RelativeSpectralResponse(satellite='Sentinel-2A', sensor='MSI')
>>> RSR.plot_rsrs()
https://git.gfz.de/geomultisens/pyrsr/raw/main/docs/images/S2A_RSRs.png
>>> RSR.rsrs

{'1': array([ 0.0001003 ,  0.00023005,  0.00020481, ...,  0.        ,
              0.        ,  0.        ]),
 '2': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '3': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '4': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '5': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '6': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '7': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '8': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '8A': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '9': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '10': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '11': array([ 0.,  0.,  0., ...,  0.,  0.,  0.]),
 '12': array([ 0.00000000e+00,   0.00000000e+00,   0.00000000e+00, ...,
               4.06617574e-05,   2.94133865e-05,   1.28975620e-05])}

List of supported sensors:

  • Terra ASTER

  • Landsat-4 TM

  • Landsat-5 TM

  • Landsat-7 ETM+

  • Landsat-8 OLI_TIRS

  • Aqua MODIS

  • Terra MODIS

  • RapidEye-5 MSI

  • Sentinel-2A MSI

  • Sentinel-2B MSI

  • SPOT-1 HRV1

  • SPOT-1 HRV2

  • SPOT-2 HRV1

  • SPOT-2 HRV2

  • SPOT-3 HRV1

  • SPOT-3 HRV2

  • SPOT-4 HRVIR1

  • SPOT-4 HRVIR2

  • SPOT-5 HRG1

  • SPOT-5 HRG2

Credits

The pyrsr package was developed within the context of the GeoMultiSens project funded by the German Federal Ministry of Education and Research (project grant code: 01 IS 14 010 A-C).

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for pyrsr 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrsr 0.8.0
File Size Uploaded Provenance Actions
pyrsr-0.8.0.tar.gz 463.5 kB Without provenance Details for pyrsr-0.8.0.tar.gz

Release files / pyrsr-0.8.0.tar.gz

Download URL pyrsr-0.8.0.tar.gz
Size 463.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bdb023a4aca50476db66561c65fc94f7e572df1b091736e784ce06d6a97a55ad
BLAKE2b-256 checksum
How to use checksums
81521856438f0ec87817efc935f95e6ac03eb320d5eeb3bc9c1620e50fc0048c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for pyrsr 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page