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

Projected coordinates not aligned with extent. #54

Closed
juseg opened this issue Jan 6, 2023 · 0 comments · Fixed by #55
Closed

Projected coordinates not aligned with extent. #54

juseg opened this issue Jan 6, 2023 · 0 comments · Fixed by #55
Assignees
Labels
bug Something isn't working
Milestone

Comments

@juseg
Copy link
Owner

juseg commented Jan 6, 2023

The new code produces bootstrapping data where the x and y coordinate values differ from the requested extent. They appear to align instead to the somewhat random coordinates of the NE corner of the clip_box prior to reprojection, which depend on the original grid, and the user-input extent.

This is a problem as data from different sources will project to different grids (e.g. bootstrapping and atmospheric data). I think the workaround is to provide ds.rio.reproject directly with a transform argument instead of crs and resolution.

@juseg juseg added the bug Something isn't working label Jan 6, 2023
@juseg juseg added this to the v0.3.0 milestone Jan 6, 2023
@juseg juseg self-assigned this Jan 6, 2023
@juseg juseg linked a pull request Jan 9, 2023 that will close this issue
@juseg juseg closed this as completed in #55 Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant