You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide.md
+59-9Lines changed: 59 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,25 +36,30 @@ form. All bands and quality flags are resampled to a unified, user-provided reso
36
36
Parameters `**kwargs`:
37
37
38
38
-`resolution`: Target resolution for all spatial data variables / bands.
39
+
-`crs`: Coordinate reference system of the output dataset. If not provided, a
40
+
mission-specific default CRS is used (see the respective mission sections below).
41
+
-`bbox`: Bounding box `[west, south, east, north]` used for spatial subsetting;
42
+
coordinates must be in the same CRS as `crs`.
39
43
-`interp_methods`: for upsampling / interpolating
40
-
spatial data variables. Can be a single interpolation method for all
41
-
variables or a dictionary mapping variable names or dtypes to
42
-
interpolation method. Supported methods include:
44
+
spatial data variables. Can be a single interpolation method for all
45
+
variables or a dictionary mapping variable names or dtypes to
46
+
interpolation method. Supported methods include:
43
47
44
48
-`0` (nearest neighbor)
45
49
-`1` (linear / bilinear)
46
50
-`"nearest"`
47
51
-`"triangular"`
48
52
-`"bilinear"`
49
53
50
-
The default is `0` for integer arrays (e.g. Sentinel-2 L2A SCL),
51
-
else `1`.
54
+
The default is `0` for integer arrays (e.g. Sentinel-2 L2A SCL),
55
+
else `1`. For more information view [xcube-resampling Documentation](https://xcube-dev.github.io/xcube-resampling/guide/#spatial-resampling-algorithms).
52
56
-`agg_methods`: Optional aggregation methods to be used for downsampling
53
57
spatial data variables / bands. Can be a single method for all variables or
54
58
a dictionary mapping variable names or dtypes to methods. Supported methods include:
-`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)
94
-
are supported for the Sentinel-2 analysis mode.
95
-
-`resolution`: Target resolution for all spatial data variables / bands.
96
-
Must be one of `10`, `20`, or `60`.
105
+
-`variables`: Select specific spectral bands using the names listed above in
106
+
*Supported Variables*. Common spectral band names from the [STAC EO extension](https://github.com/stac-extensions/eo?tab=readme-ov-file#common-band-names) are also supported for Sentinel-2 analysis mode.
107
+
-`crs`: Coordinate reference system of the output dataset.
108
+
If not specified, the UTM grid of the native data is used.
109
+
-`resolution`: Target resolution for all spatial variables/bands.
110
+
Choose 10, 20, or 60 meters to minimize resampling and retain some of the native
0 commit comments