Skip to main content

Converting Sentinel-2 L2A imagery into JRSRP ARD imagery

Project description

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 read 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.4.tar.gz (46.6 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.4-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jrsrp_s2ard-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c8afab0f1989679be497fa28c4f64766a4fa3567c7af7b6354a20a3fd0ae6a22
MD5 84970df6f296b0f7be75079a318b11a0
BLAKE2b-256 564b4f9aae79e11cd5a54c00aed50f0e5280f8644a34ef28438740738b277b1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jrsrp_s2ard-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 785a72984276e6f58b7a565b4aff8ab319a5cc146a74b57b801aac6897d01583
MD5 356d4b43355b907b90ca0546521f97ef
BLAKE2b-256 de1b8c8138621d4b5fec17859d177ecc70800905c9c6026db990da778f1824b0

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