Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rioxarray: reproject match #13

Open
snowman2 opened this issue Nov 5, 2021 · 2 comments
Open

rioxarray: reproject match #13

snowman2 opened this issue Nov 5, 2021 · 2 comments

Comments

@snowman2
Copy link

snowman2 commented Nov 5, 2021

https://corteva.github.io/rioxarray/stable/examples/reproject_match.html

This is useful for making sure the CRS, resolution, bounds match for raster calculations as mentioned in the MODIS/Landsat/NAIP sections.

@nkorinek
Copy link
Member

nkorinek commented Nov 9, 2021

Hey @snowman2 ! Thanks again for doing this review. In regards to reproject match, I had looked into this function before, but didn't ever find a time when we would use it? We only ever reproject a raster to match a GeoDataframe CRS, so I can't use it there. Is there somewhere else you were thinking of using this function? I may just not be fully understanding, apologies! Could be something to ad to the end of this lesson maybe? https://www.earthdatascience.org/courses/use-data-open-source-python/intro-raster-data-python/raster-data-processing/reproject-raster/

@snowman2
Copy link
Author

snowman2 commented Nov 9, 2021

That would be a good location for it. It may also be useful to mention here: https://www.earthdatascience.org/courses/use-data-open-source-python/multispectral-remote-sensing/vegetation-indices-in-python/

It helps ensure the resolutions/CRS/extent all match up before performing calculations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants