Skip to content

Clipping rasters #111

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

You must be logged in to vote

It is because the crs_transform are different. You can use rio.reproject_match to align the two raster datasets before clipping.
https://corteva.github.io/rioxarray/stable/examples/reproject_match.html#Reproject-Match

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 #108 on October 13, 2024 14:59.