Skip to main content

Adjacency-effect-correction-6S

This aec6s project implements the Vermote et al. (1997) approach to correct for the adjacency effect, utilizing the setup in Martins et al. (2018). This tool was designed specifically for ACOLITE output L2R files.

It is recommended to use subscene processing in ACOLITE to reduce the processing time of aec6s.

References

Martins, V. S., Kaleita, A., Barbosa, C. C. F., Fassoni-Andrade, A. C., Lobo, F. de L., & Novo, E. M. L. M. (2019). Remote sensing of large reservoir in the drought years: Implications on surface water change and turbidity variability of Sobradinho reservoir (Northeast Brazil). Remote Sensing Applications: Society and Environment, 13, 275–288. https://doi.org/10.1016/j.rsase.2018.11.006

Vermote, E. F., El Saleous, N., Justice, C. O., Kaufman, Y. J., Privette, J. L., Remer, L., Roger, J. C., & Tanré, D. (1997). Atmospheric correction of visible to middle‐infrared EOS‐MODIS data over land surfaces: Background, operational algorithm and validation. Journal of Geophysical Research: Atmospheres, 102(D14), 17131–17141. https://doi.org/10.1029/97JD00201

Installation

1 - Create a conda environment and activate it:

conda create --name aec6s python=3.12
conda activate aec6s

2 - Install Py6S from conda:

conda install -c conda-forge Py6S

3 - Install aec6s:

pip3 install aec6s

Quick Start

import aec6s

# ACOLITE L2R file
file = '/Users/yw/Local_storage/S2A_MSI_2015_09_12_10_17_24_T32TPR_L2R.nc'

# Folder for ancillary data and logging files
anci_folder = '/Users/yw/Local_storage/anci' 

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

# Run AE correction
aec6s.run(file, anci_folder, username, password, overwrite=False)

Release files for aec6s 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 aec6s 1.0.1
File Size Uploaded
aec6s-1.0.1.tar.gz 26.2 kB Details

Built distribution (wheel)

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

Total release size: 53.9 kB

Release files / aec6s-1.0.1.tar.gz

Download URL aec6s-1.0.1.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
272e6de4a5ee02c998eb003a717edb92132161d98dba4546f67da292e641b9d1
BLAKE2b-256 checksum
How to use checksums
5793fd58a229f2c754f1b3273fee2a9670ccb337fac4129705e05dd108e2a703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

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

Download URL aec6s-1.0.1-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7000af26ac90a021e2d7c4c1c272d96641a3a46d7e0aed87b9b7ce6efc9e6c3
BLAKE2b-256 checksum
How to use checksums
44f68b9678cf6ed028e7a33b01d0c7e094ec0b8d1816460137d098b1db1dfc1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.0.1

2 release files

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