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

transpose dimensions for consistency #49

Open
gbrencher opened this issue May 10, 2023 · 0 comments
Open

transpose dimensions for consistency #49

gbrencher opened this issue May 10, 2023 · 0 comments

Comments

@gbrencher
Copy link
Collaborator

Variables in our output xr dataset mostly have dimensions (time, y, x). A few variables (deltaGamma, snow_index, and snow_depth) have dimensions (y, x, time). This isn't ideal because some functions, like ds.rio.reproject, expect (time, y, x). The dims can be easily transposed later on, but that requires loading the whole array into memory, which you might not want to do for a big ds. Would be ideal to transpose during processing.
Screenshot 2023-05-10 111843

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

1 participant