diff --git a/CHANGES.md b/CHANGES.md index 3d6330c..634777e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,10 +1,14 @@ +## Changes in 0.2.9 (under development) + +- Add support for Sentinel-1 Level-2 OCN analysis mode. + ## Changes in 0.2.8 (from 2026-05-08) - Fix package discovery in `pyproject.toml` to ensure only `xarray_eopf` (and its subpackages) is included in the PyPI wheel. - Remove the `coarsen.py` module, as it has been moved to [xcube-resampling](https://github.com/xcube-dev/xcube-resampling) and is no longer used internally. -- Add support for Sentinel-1 GRD analysis mode. +- Add support for Sentinel-1 Level-1 GRD analysis mode. - Updated year in the headers. - Added footprint-based subsetting for Sentinel-3 OLCI and SLSTR LST using STAC metadata, improving performance by avoiding full latitude/longitude grid downloads diff --git a/docs/examples/sentinel_1_analysis.ipynb b/docs/examples/sentinel_1_analysis.ipynb index 5b5d605..3117867 100644 --- a/docs/examples/sentinel_1_analysis.ipynb +++ b/docs/examples/sentinel_1_analysis.ipynb @@ -81,13 +81,14 @@ "id": "c67a8abc-36ab-4565-892f-c7bce452c290", "metadata": { "ExecuteTime": { - "end_time": "2026-05-08T13:35:25.605897148Z", - "start_time": "2026-05-08T13:35:23.977155031Z" + "end_time": "2026-05-18T12:55:25.949433301Z", + "start_time": "2026-05-18T12:55:22.100469304Z" } }, "source": [ "import os\n", "\n", + "import matplotlib.pyplot as plt\n", "import pystac_client\n", "import xarray as xr\n", "from xcube_resampling.utils import reproject_bbox" @@ -108,9 +109,9 @@ "id": "e1d31903-9bcd-4332-a3a9-5fc3c2b22342", "metadata": {}, "source": [ - "## Open a Sentinel-1 GRD Product in Analysis Mode\n", + "## Open a Sentinel-1 Level-1 GRD Product in Analysis Mode\n", "\n", - "We begin with an example that accesses a Sentinel-1 GRD product in **analysis mode**.\n" + "We begin with an example that accesses a Sentinel-1 Level-1 GRD product in **analysis mode**.\n" ] }, { @@ -124,13 +125,14 @@ ] }, { + "cell_type": "code", + "id": "2be4cb76a3928b72", "metadata": { "ExecuteTime": { - "end_time": "2026-05-08T13:35:25.866836839Z", - "start_time": "2026-05-08T13:35:25.608020503Z" + "end_time": "2026-05-18T12:55:26.280041184Z", + "start_time": "2026-05-18T12:55:25.971145008Z" } }, - "cell_type": "code", "source": [ "bbox = [5.3, 43.1, 5.8, 43.4]\n", "catalog = pystac_client.Client.open(\"https://stac.core.eopf.eodc.eu\")\n", @@ -143,7 +145,6 @@ ")\n", "items" ], - "id": "2be4cb76a3928b72", "outputs": [ { "data": { @@ -159,21 +160,24 @@ "execution_count": 2 }, { + "cell_type": "code", + "id": "840b8162bc14b761", "metadata": { "ExecuteTime": { - "end_time": "2026-05-08T13:35:25.918305069Z", - "start_time": "2026-05-08T13:35:25.869996909Z" + "end_time": "2026-05-18T12:55:26.364930670Z", + "start_time": "2026-05-18T12:55:26.304870121Z" } }, - "cell_type": "code", - "source": "item = items[0]", - "id": "840b8162bc14b761", + "source": [ + "item = items[0]" + ], "outputs": [], "execution_count": 3 }, { - "metadata": {}, "cell_type": "markdown", + "id": "ac5fc659dcb6f36e", + "metadata": {}, "source": [ "### Open Sentinel-1 GRD with default parameters\n", "\n", @@ -182,17 +186,17 @@ "The following cell returns a **lazy dataset**. For demonstration purposes, we restrict the data to a small spatial subset by specifying a bounding box.\n", "\n", "Before proceeding, CDSE S3 credentials must be configured to enable access to the CopDEM (30 m) dataset from CDSE. Instructions for generating credentials are available [here](https://documentation.dataspace.copernicus.eu/APIs/S3.html#generate-secrets)." - ], - "id": "ac5fc659dcb6f36e" + ] }, { + "cell_type": "code", + "id": "3e133ceea3f11bdb", "metadata": { "ExecuteTime": { - "end_time": "2026-05-08T13:35:25.968055429Z", - "start_time": "2026-05-08T13:35:25.921148763Z" + "end_time": "2026-05-18T12:55:26.439953214Z", + "start_time": "2026-05-18T12:55:26.368160553Z" } }, - "cell_type": "code", "source": [ "os.environ.update(\n", " {\n", @@ -201,18 +205,18 @@ " }\n", ")" ], - "id": "3e133ceea3f11bdb", "outputs": [], "execution_count": 4 }, { + "cell_type": "code", + "id": "eb5a775a8e8cb7fa", "metadata": { "ExecuteTime": { - "end_time": "2026-05-08T13:35:41.541751025Z", - "start_time": "2026-05-08T13:35:25.972657710Z" + "end_time": "2026-05-18T12:55:53.808408639Z", + "start_time": "2026-05-18T12:55:26.450028891Z" } }, - "cell_type": "code", "source": [ "ds = xr.open_dataset(\n", " item.assets[\"product\"].href,\n", @@ -222,7 +226,6 @@ ")\n", "ds" ], - "id": "eb5a775a8e8cb7fa", "outputs": [ { "data": { @@ -796,9 +799,9 @@ "Data variables:\n", " gamma0_vv (lat, lon) float64 16MB dask.array<chunksize=(1081, 1800), meta=np.ndarray>\n", " gamma0_vh (lat, lon) float64 16MB dask.array<chunksize=(1081, 1800), meta=np.ndarray>\n", - "Attributes: (3)