A package providing relative spectral response functions for remote sensing instruments.
Project description
pyrsr
A package providing relative spectral response functions for remote sensing instruments.
Free software: GNU General Public License v3
Documentation: https://geomultisens.gitext-pages.gfz-potsdam.de/pyrsr/doc/
Submit feedback by filing an issue here.
Status
See also the latest coverage report and the nosetests 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()
>>> 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
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.
History
0.3.4 (2020-09-15)
Updated deprecated HTTP links.
0.3.3 (2020-03-31)
Added quick usage example to README.rst.
Improved list of compatible sensors.
Updated development status.
0.3.2 (2020-03-31)
Fixed title underscore too short.
0.3.1 (2020-03-31)
Fixed issue #9 (ValueError: No sensor specifications for combination ‘Sentinel-2B’ ‘MSI’ ‘S2B20’ found).
Updated HISTORY.rst
0.3.0 (2020-03-27)
Revised RSR_reader.
RSR_reader now accepts a logger and may ignore missing files.
Added list of supported sensors to README.rst.
Fixed pipeline badge.
Updated HISTORY.rst
0.2.10 (2019-09-24)
Updated S2A band 1 RSR.
0.2.9 (2019-08-23)
Fixed missing LayerBandsAssignment and wrong bandnames.
0.2.8 (2019-08-23)
Fixed missing LayerBandsAssignment and wrong bandnames.
0.2.7 (2019-08-22)
Fixed FileNotFoundError in case the requested satellite is ‘RapidEye-5’.
0.2.6 (2019-08-22)
Cleaned up and added some comments.
0.2.5 (2019-08-22)
Added setuptools-git to setup requirements.
0.2.4 (2019-08-22)
Fixed missing package data.
0.2.3 (2019-08-22)
Fixed missing data.
0.2.2 (2019-08-22)
Fixed missing data.
0.2.1 (2019-08-22)
Moved references.
0.2.0 (2019-08-22)
New features:
First working version.
Made RelativeSpectralResponse importable on the top level of the package.
Added ‘RSR’ as alias for RelativeSpectralResponse.
Implemented sensor specifications and possibility to ignore pan and thermal bands.
Added possibility to ignore bands removed by AC.
Added copyright and license notes.
Added CI setup files. Added rules to Makefile. Added test requirements.
Added .gitlab-ci.yml
Updated README.rst.
Added Sentinel-2 reference.
Added references.
Bug fixes and enhancements:
Refactored the term ‘srf’ to ‘rsr’.
Fix LayerBandsAssignment not properly passed through.
Fixed CI setup.
Fixed wrong links.
Updated Sentinel-2A and -2B RSRs. (fixes issue #1).
0.1.0 (2019-08-19)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.