Skip to main content

SREM estimates surface reflectance of satellite imagery without integrating information of aerosol particles and atmospheric gasses. Core algorithm is based on "A Simplified and Robust Surface Reflectance Estimation Method (SREM) for Use over DiverseLand Surfaces Using Multi-Sensor Data" [pdf].

Installation

This library supports Python >= 3.6

pip install srem

Usage

import numpy as np
from srem import srem

surface_reflectance = srem(
    toa_reflectance, # np.ndarray with shape of (height, width)
    wavelength, # float in micrometer
    solar_azimuth_angle_deg, # float or np.ndarray with shape of (height, width)
    solar_zenith_angle_deg, # float or np.ndarray with shape of (height, width)
    sensor_azimuth_angle_deg, # float or np.ndarray with shape of (height, width)
    sensor_zenith_angle_deg # float or np.ndarray with shape of (height, width)
)

assert isinstance(surface_reflectance, np.ndarray)
assert surface_reflectance.shape == toa_reflectance.shape

For detailed usage, please refer to examples of Landsat-8 and Sentinel-2.

References

  • Bilal, Muhammad, et al. "A simplified and robust surface reflectance estimation method (srem) for use over diverse land surfaces using multi-sensor data." Remote Sensing 11.11 (2019): 1344.

Metadata

Release files for srem 1.0.1

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

Source distribution (sdist)

Source distribution for srem 1.0.1
File Size Uploaded Provenance Actions
srem-1.0.1.tar.gz 808.1 kB Without provenance Details for srem-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for srem 1.0.1
File Interpreter ABI Platform Actions
srem-1.0.1-py3-none-any.whl Python 3 none any Details for srem-1.0.1-py3-none-any.whl

Total release size: 812.5 kB

Release files / srem-1.0.1.tar.gz

Download URL srem-1.0.1.tar.gz
Size 808.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb26230247e447d6254a05f3a9cb20795e35005cc323c101d6950ab0739f7cf9
BLAKE2b-256 checksum
How to use checksums
00a7d38a4ad80553e366d77d931e17815432462ac148bd198b5c8c3f85a30062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Release files / srem-1.0.1-py3-none-any.whl

Download URL srem-1.0.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aecc3e06654006f49a6c9f48e873bb5e6e604945df9513e1e92c90ecf027b914
BLAKE2b-256 checksum
How to use checksums
7659d459d840c73666184def1e30a54e47472d4b7357131ef440ab43b11357c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Security for srem 1.0.1

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