Skip to content

Commit 71e211b

Browse files
b-yogeshforman
andauthored
Update xcube/core/resampling/spatial.py
Co-authored-by: Norman Fomferra <[email protected]>
1 parent 10c3a4d commit 71e211b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

xcube/core/resampling/spatial.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,10 @@ def resample_in_space(
9898
the resampling is a direct rectification.
9999
100100
Args:
101-
source_ds: The source dataset. Must follow the dimension order of the variables:
102-
("time", "latitude", "longitude").
101+
source_ds: The source dataset. Data variables must have
102+
dimensions in the following order: optional `time` followed
103+
by the y-dimension (e.g., `y` or `lat`) followed by the
104+
x-dimension (e.g., `x` or `lon`).
103105
source_gm: The source grid mapping.
104106
target_gm: The target grid mapping. Must be regular.
105107
ref_ds: An optional dataset that provides the

0 commit comments

Comments
 (0)