Skip to main content

Converting Sentinel-2 L2A imagery into JRSRP ARD imagery

Project description

Pipeline Status Security Python License Latest Release

s2ard

A python project which will convert a Sentinel2 Level 2A image into a JRSRP Surface Reflectance product with BRDF correction. This forms one of the JRSRP's analysis ready data (ARD) sets. The approach uses code from jrsrp-sen2brdf. See Flood, N. (2020). Assessing BRDF effects in the Sentinel-2 Level 2A product in the Australian landscape. Joint Remote Sensing Research Program. for details.

Installation

Since the code depends on a jrsrp-sen2brdf which is not available on pypi, users need to manually install along with this package, eg

uv add jrsrp-s2ard "git+https://gitlab.com/jrsrp/sys/sentinel2/jrsrp-sen2brdf@v1.0.2"

Usage

Input is typically via a STAC item collection. An example is:

curl \
    https://earth-search.aws.element84.com/v1/collections/sentinel-2-c1-l2a/items/S2B_T53KLA_20250711T012135_L2A \
    -o eg.json
uv run stac2ard -c eg.json -b B04 -b B03 -b B02

This will produce the output files cfmsre_t53kla_20250711_bbam3_B04.tif, cfmsre_t53kla_20250711_bbam3_B03.tif, cfmsre_t53kla_20250711_bbam3_B02.tif.

See documentation for more details.

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

jrsrp_s2ard-0.1.5.tar.gz (46.4 kB view details)

Uploaded Source

Built Distribution

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

jrsrp_s2ard-0.1.5-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file jrsrp_s2ard-0.1.5.tar.gz.

File metadata

  • Download URL: jrsrp_s2ard-0.1.5.tar.gz
  • Upload date:
  • Size: 46.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.24

File hashes

Hashes for jrsrp_s2ard-0.1.5.tar.gz
Algorithm Hash digest
SHA256 730679bb2153bd3f433e2016012550e38e5495c5255b310b641e5aec3a7deae5
MD5 d3d76970c1e569376df6a4138ac31d3e
BLAKE2b-256 4205665ad3cd3c00af8c12e82cbce66c15635a2d5d39cb88a06c3301a3938c59

See more details on using hashes here.

File details

Details for the file jrsrp_s2ard-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for jrsrp_s2ard-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6fa8c3f25e1be092e93f302d0201d6211ce71c3118803b84b719585ef14b1284
MD5 20f9f1316333b3892c0876b8cf89c97e
BLAKE2b-256 26c77023bf2e3f7ef0cda579d64dfdb79074e061874cb0f7bccb674d3de1449b

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