xr.apply_ufunc raise error: Buffer has wrong number of dimensions (expected 2, got 3) #4780
Answered
by
dcherian
QINQINKONG
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
dcherian
Jan 8, 2021
Replies: 1 comment 1 reply
-
I think you need to specify |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
QINQINKONG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you need to specify
input_core_dims=[["lat", "lon"], ["lat","lon"], ["time"]]
to prevent "broadcasting" which is converting everything to a 3D variable.