Skip to content

Question about shape rioxarray #112

Answered by giswqs
felwind14 asked this question in Q&A
Discussion options

You must be logged in to vote

It is probably because the result only has one band, the band is automatically dropped. You can numpy.expand_dims to add dimensions if needed.

https://numpy.org/doc/2.0/reference/generated/numpy.expand_dims.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #109 on October 13, 2024 15:00.