Skip to content

canonical way to get a view of a coordinate with the same shape as the DataArray? #9205

Closed Answered by tom-new
tom-new asked this question in Q&A
Discussion options

You must be logged in to vote

Of course, I trusted ChatGPT too blindly. Of course, one can simply do dataset.z.broadcast_like(dataset.temperature). D'oh.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tom-new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant