Skip to main content

Modelling and correcting for the adjacency effect in aquatic remote sensing

Project description

T-Mart: Topography-adjusted Monte-carlo Adjacency-effect Radiative Transfer Code

PyPI version License: GPL v3 Docs

Description

T-Mart solves radiative transfer in a 3D surface-atmosphere system. It supports customizable surface and atmosphere models and enables simulation and correction for the adjacency effect (AE) in optical aquatic remote sensing. AE correction substantially improves satellite-based retrieval of water-leaving reflectance in nearshore environments (Wu et al., 2024).

Links

Home page: https://github.com/yulunwu8/tmart

User guide: https://tmart-rtm.github.io

Installation

1 - Create a conda environment and activate it:

conda create --name tmart python=3.9
conda activate tmart

2 - Install dependencies:

conda install -c conda-forge Py6S rasterio==1.3.9

3 - Install tmart:

pip3 install tmart

Quick start: adjacency-effect correction

T-Mart supports AE correction for Sentinel-2 MSI and Landsat 8/9 OLI/OLI-2 products. Correction is performed directly on level-1 products and can be followed by any atmospheric correction tools.

Minimal input:

import tmart
file = 'user/test/S2A_MSIL1C_20160812T143752_N0204_R096_T20MKB_20160812T143749.SAFE'

# NASA EarthData Credentials, OB.DAAC Data Access needs to be approved
username = 'abcdef'
password = '123456'

# T-Mart uses multiprocessing, which must be wrapped in 'if __name__ == "__main__":' for Windows systems. This is optional for Unix-based systems
if __name__ == "__main__":
    tmart.AEC.run(file, username, password)

The tool takes approximately 20 min to process a Landsat 8/9 scene and 30 min for a Sentinel-2 scene on an 8-core personal computer. See Instruction - Adjacency-Effect Correction for detailed instructions.

Video tutorials:

Publications

Primary references

Wu, Y., Knudby, A., & Lapen, D. (2023). Topography-adjusted Monte Carlo simulation of the adjacency effect in remote sensing of coastal and inland waters. Journal of Quantitative Spectroscopy and Radiative Transfer, 108589. https://doi.org/10.1016/j.jqsrt.2023.108589

Wu, Y., Knudby, A., Pahlevan, N., Lapen, D., & Zeng, C. (2024). Sensor-generic adjacency-effect correction for remote sensing of coastal and inland waters. Remote Sensing of Environment, 315, 114433. https://doi.org/10.1016/j.rse.2024.114433

Studies using T-Mart

🔗 List of publications

Funding

T-Mart was funded by the Canadian Space Agency (Grant 22AO2-LIQU to Liquid Geomatics Ltd.) and Agriculture and Agri-Food Canada (Grants J-001839 and J-002305 to D.R. Lapen).

Others

For questions and suggestions (which I'm always open to!), please open an issue or email Yulun at yulunwu8@gmail.com

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

tmart-2.5.2.tar.gz (152.3 kB view details)

Uploaded Source

Built Distribution

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

tmart-2.5.2-py3-none-any.whl (176.6 kB view details)

Uploaded Python 3

File details

Details for the file tmart-2.5.2.tar.gz.

File metadata

  • Download URL: tmart-2.5.2.tar.gz
  • Upload date:
  • Size: 152.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for tmart-2.5.2.tar.gz
Algorithm Hash digest
SHA256 ab62c906b0f08f5a419002fd06824ae9f09842600f3bc1f4ec8224c29fd7ccdb
MD5 01763362b43f51de498d0bc3e98d178f
BLAKE2b-256 d6d8479f6ead2f81bf5d7ae90a141743bf8651cb70dded853c80aacff8f44a53

See more details on using hashes here.

File details

Details for the file tmart-2.5.2-py3-none-any.whl.

File metadata

  • Download URL: tmart-2.5.2-py3-none-any.whl
  • Upload date:
  • Size: 176.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for tmart-2.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e116a67cc640d2f1f9ddaa781c03c99a20ec8f176647eed97b293ff8a0d198d9
MD5 542e84b85d9000e7f4864be41a1123cb
BLAKE2b-256 aa5c84a7eab53a729bacae3aa8d98b6dbae58eb67320c69c946b1edf76b24010

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