diff --git a/datasets/sentinel-2-l2a/baseline-change.ipynb b/datasets/sentinel-2-l2a/baseline-change.ipynb index f69d7f98..8de001d1 100755 --- a/datasets/sentinel-2-l2a/baseline-change.ipynb +++ b/datasets/sentinel-2-l2a/baseline-change.ipynb @@ -90,8 +90,7 @@ " to_process = list(set(bands) & set(data.band.data.tolist()))\n", " new = data.sel(time=slice(cutoff, None)).drop_sel(band=to_process)\n", "\n", - " new_harmonized = data.sel(time=slice(cutoff, None), band=to_process).copy()\n", - " new_harmonized.clip(offset)\n", + " new_harmonized = data.sel(time=slice(cutoff, None), band=to_process).clip(offset)\n", " new_harmonized -= offset\n", "\n", " new = xr.concat([new, new_harmonized], \"band\").sel(band=data.band.data.tolist())\n", @@ -502,7 +501,7 @@ " stroke: currentColor;\n", " fill: currentColor;\n", "}\n", - "
<xarray.DataArray 'stackstac-48d41966479ec31b57df72e75da3841b' (time: 2,\n",
+       "
<xarray.DataArray 'stackstac-7f8b9fd36f84dee2d0c759174b259b65' (time: 2,\n",
        "                                                                band: 6,\n",
        "                                                                y: 1000, x: 1000)>\n",
        "dask.array<fetch_raster_window, shape=(2, 6, 1000, 1000), dtype=float64, chunksize=(1, 1, 1000, 1000), chunktype=numpy.ndarray>\n",
@@ -512,7 +511,7 @@
        "  * band                                     (band) <U3 'B02' 'B03' ... 'AOT'\n",
        "  * x                                        (x) float64 6e+05 6e+05 ... 6.1e+05\n",
        "  * y                                        (y) float64 7.7e+06 ... 7.69e+06\n",
-       "    sat:orbit_state                          <U10 'descending'\n",
+       "    s2:reflectance_conversion_factor         (time) float64 1.034 1.034\n",
        "    ...                                       ...\n",
        "    proj:bbox                                object {600000.0, 7690240.0, 780...\n",
        "    gsd                                      (band) float64 10.0 10.0 ... 10.0\n",
@@ -524,7 +523,7 @@
        "    spec:        RasterSpec(epsg=32750, bounds=(600000.0, 7690240.0, 610000.0...\n",
        "    crs:         epsg:32750\n",
        "    transform:   | 10.00, 0.00, 600000.00|\\n| 0.00,-10.00, 7700240.00|\\n| 0.0...\n",
-       "    resolution:  10.0
  • spec :
    RasterSpec(epsg=32750, bounds=(600000.0, 7690240.0, 610000.0, 7700240.0), resolutions_xy=(10.0, 10.0))
    crs :
    epsg:32750
    transform :
    | 10.00, 0.00, 600000.00|\n", "| 0.00,-10.00, 7700240.00|\n", "| 0.00, 0.00, 1.00|
    resolution :
    10.0
  • " ], "text/plain": [ - "\n", "dask.array\n", @@ -668,7 +667,7 @@ " * band (band)