Skip to content

No data masks in rioxarray #610

Answered by snowman2
Scolymus asked this question in Q&A
Discussion options

You must be logged in to vote

There currently isn't support for masks in rioxarray. This is due to how xarray handles integer masks:

pydata/xarray#1194

You should be able to add the mask using rasterio after writing to disk with r+ as mentioned in the documentation you linked.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Scolymus
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