diff --git a/CHANGES.md b/CHANGES.md index 488f51c..87bd4e3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,10 @@ +## Changes in 0.2.4 (under development) + +* Added support for **common band names** from the [STAC EO extension](https://github.com/stac-extensions/eo?tab=readme-ov-file#common-band-names) + in **Sentinel-2 analysis mode**. The `variables` parameter now accepts standard + spectral names such as `blue`, `green`, `red`, `nir`, and others. + + ## Changes in 0.2.3 (from 2025-10-23) - **Sentinel-3 SLSTR Level-1 RBT products** are now supported in analysis mode. This diff --git a/docs/guide.md b/docs/guide.md index 9d95397..b75e002 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -90,6 +90,8 @@ bands from multiple resolutions onto the same grid using [affine transformation **Specific Sentinel-2 parameters `**kwargs`:** +- `variables`: The common spectral band names specified in the [STAC EO extension](https://github.com/stac-extensions/eo?tab=readme-ov-file#common-band-names) + are supported for the Sentinel-2 analysis mode. - `resolution`: Target resolution for all spatial data variables / bands. Must be one of `10`, `20`, or `60`. diff --git a/examples/open-sen2.ipynb b/examples/open-sen2.ipynb index 9772664..6ec5f54 100644 --- a/examples/open-sen2.ipynb +++ b/examples/open-sen2.ipynb @@ -50,8 +50,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "CPU times: user 970 ms, sys: 139 ms, total: 1.11 s\n", - "Wall time: 2.94 s\n" + "CPU times: user 888 ms, sys: 111 ms, total: 999 ms\n", + "Wall time: 4.88 s\n" ] }, { @@ -72,9 +72,7 @@ "\n", "\n", "\n", - "
<xarray.DatasetView> Size: 0B\n",
-       "Dimensions:  ()\n",
-       "Data variables:\n",
-       "    *empty*\n",
-       "Attributes: (3)