Skip to content

Commit b86cbb6

Browse files
committed
Reword error
1 parent caf4a5e commit b86cbb6

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

uxarray/remap/accessor.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,10 @@ def inverse_distance_weighted(
149149
_validate_backend(backend)
150150
if backend == "yac":
151151
raise NotImplementedError(
152-
"inverse_distance_weighted with backend='yac' is not implemented. "
153-
"UXarray currently exposes only YAC's 'nnn', 'average', and "
154-
"'conservative' methods through the YAC backend. "
155-
"Use backend='uxarray' for IDW, or choose a different remapping "
156-
"method that is supported by YAC."
152+
"inverse_distance_weighted with backend='yac' is not currently "
153+
"exposed through the UXarray YAC accessor. "
154+
"Use backend='uxarray' for IDW, or use the YAC backend through "
155+
".remap(..., backend='yac', yac_method=..., yac_options=...)."
157156
)
158157
return _inverse_distance_weighted_remap(
159158
self.ux_obj, destination_grid, remap_to, power, k

0 commit comments

Comments
 (0)