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

use cf-xarray to infer cell geometries #14

Merged
merged 8 commits into from
Dec 27, 2024
Merged

use cf-xarray to infer cell geometries #14

merged 8 commits into from
Dec 27, 2024

Conversation

keewis
Copy link
Owner

@keewis keewis commented Dec 27, 2024

To make working with datasets easier, this allows inferring the cell geometries from coordinates. This won't work for unrecognized grids (see infer_grid_type) and unstructured grids, while it could work for 2d-crs (the geotransform) but this will be punted to a separate PR.

@keewis keewis merged commit a93d621 into main Dec 27, 2024
8 of 19 checks passed
@keewis keewis deleted the grid-cells branch December 27, 2024 18:06
@keewis
Copy link
Owner Author

keewis commented Dec 27, 2024

as a follow-up, we might want to construct the cells directly as geoarrow instead of shapely.

@keewis keewis mentioned this pull request Dec 27, 2024
1 task
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

Successfully merging this pull request may close these issues.

1 participant