Skip to content

Commit 762de86

Browse files
authored
Merge pull request #1151 from xcube-dev/yogesh-xxx-update_ris_doc
Update docstring of `resample_in_space` method
2 parents 862f7a9 + 71e211b commit 762de86

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xcube/core/resampling/spatial.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ def resample_in_space(
9898
the resampling is a direct rectification.
9999
100100
Args:
101-
source_ds: The source dataset.
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`).
102105
source_gm: The source grid mapping.
103106
target_gm: The target grid mapping. Must be regular.
104107
ref_ds: An optional dataset that provides the

0 commit comments

Comments
 (0)