Skip to main content

O25 algorithm for bidirectional correction of ocean color data and IOP retrieval

Project description

📆 O25: Retrieval of IOPs and Bidirectional Correction for In Situ and Satellite Data

The remote-sensing reflectance (R_rs) varies with the illumination and viewing geometry, an effect referred to as anisotropy, bidirectionality, or bidirectional reflectance distribution function (BRDF). In the aquatic environment, bidirectionality arises from the combined effect of the anisotropic downwelling illumination, scattered by water and particles in varying proportions as a function of the scattering angle, modulated by the two-way interaction with the sea surface. For remote sensing applications, it is desirable that the reflectance only depends on the inherent optical properties (IOPs). This process implies transforming R_rs into a “corrected” or “normalized” R_rs,N , referred to the sun at the zenith and the sensor zenith angle at the nadir. A previous study (D’Alimonte et al., 2025) compared published correction methods, showing the superior performance of a method by Lee et al. (2011, henceforth L11). This article presents a new method starting from L11’s analytical framework, named O25 after OLCI, the Ocean Color sensor on Sentinel-3 satellite. O25 has been calibrated with a recently published synthetic dataset tailored to its needs (Pitarch and Brando, 2024). A comparative assessment using the same datasets as in D’Alimonte et al. (2025) concludes that O25 outperforms L11 and hence all pre-existing methods. O25 includes complementary operational features: (1) applicability range, (2) uncertainty estimates, and (3) a demonstrated reversibility of the bidirectional correction. O25’s look-up tables are generic to any in situ and satellite sensors, including hyperspectral ones. For sensors such as Landsat/Sentinel 2, the IOPs retrieval component of O25 can easily be reformulated.


🚀 Main Features

  • IOP Retrieval: Estimates absorption and backscattering coefficients from Rrs.
  • Bidirectional Correction: Adjusts Rrs for different observation geometries.
  • Uncertainty Estimation: Provides uncertainty estimates for the retrieved IOPs.
  • Reversibility: Allows reverse bidirectional correction for validation purposes.
  • Compatibility: Works with any in situ or satellite sensor, including Landsat and Sentinel-2.

🛠️ Installation

Install the latest version of O25 from PyPI:

pip install o25

📚 Basic Usage

from o25 import O25_hyp

# Define inputs
l = [...]  # Wavelengths in nm
Rrs = [...]  # Remote sensing reflectance
geom_old = [...]  # Original geometry: [solar zenith angle, viewing zenith angle, relative azimuth angle]
geom_new = [...]  # New geometry

# Run O25
a, bb, Rrs_N = O25_hyp(l, Rrs, geom_old, geom_new)

📄 Documentation

For a detailed description of the functions and parameters, see the full documentation. (Now empty, please refer to the commented function O25_hyp.py)


🧪 Examples

You can find usage examples in the examples/ directory. (Now empty, please refer to the commented function O25_hyp.py)


📝 License

This project is licensed under the GPL-3.0 License.


🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request to suggest improvements or report bugs.


Code versions

Version Location Key Differences
MATLAB /MATLAB Original algorithm
Python /o25 Open-source, NumPy/SciPy port

📢 Contact

Inquiries to jaime.pitarch@cnr.it.

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

o25-0.1.9.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

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

o25-0.1.9-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file o25-0.1.9.tar.gz.

File metadata

  • Download URL: o25-0.1.9.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for o25-0.1.9.tar.gz
Algorithm Hash digest
SHA256 8f812342b1019b6102bc53cc721b72f53e031fbd6c74ad9ce7790dc8e97e3854
MD5 80ad41a875fb7807f167eb56965a4782
BLAKE2b-256 52f55d2afd82da829fc52eaeab57a73fded4052852e4328a04dad55bed1d0108

See more details on using hashes here.

File details

Details for the file o25-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: o25-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for o25-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 81e9b4fcf02b2b5d99601b5a1ea1d07c13dcfcaab8a156843cf4187ab6046cf0
MD5 1d767f0e03929279edac20eece8034ec
BLAKE2b-256 58521d5a36bd327a2b4eb472f7a61e1420642064aadf0d5afd5e53cc0bce4fe2

See more details on using hashes here.

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