How to leverage tolerance in sel()
#7544
-
|
I am using the `gtvec = gtemp.sel(lat=lat, lon=lon, method="nearest", tolerance=0.25, drop=False)' Here
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @Marston, there's no way currently of setting a tolerance value per coordinate/index, apart from chaining multiple There is a related discussion in #7099 about how to pass arbitrary options to |
Beta Was this translation helpful? Give feedback.
Hi @Marston, there's no way currently of setting a tolerance value per coordinate/index, apart from chaining multiple
.sel()calls forlat/lonand then forlev. See also #3223.There is a related discussion in #7099 about how to pass arbitrary options to
.sel(), which is a bit more general than your use case but that would make it possible.