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

Implement Grid.open_file method support non xarray formats including Shapefile/Geojson #808

Merged
merged 65 commits into from
Sep 19, 2024

Conversation

rajeeja
Copy link
Contributor

@rajeeja rajeeja commented Jun 3, 2024

Closes #635

Support Polygon and Multipolygon

@rajeeja rajeeja requested a review from philipc2 June 3, 2024 18:55
Copy link
Member

@erogluorhan erogluorhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great addition; thanks a lot!

@erogluorhan
Copy link
Member

We should consider a basic User Guide notebook for this too. I can provide the quad-hexagon grid in multiple different formats (i.e. shape, geoparquet, etc.) to showcase this functionality.

I have some mesh files as a part of this, we want to be careful with how many we bundle as a part of the repo.

Maybe using online files rather than having them all hosted in the repo?

Copy link
Member

@philipc2 philipc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the title & linked issue to reflect the generalization changes that were made.

@philipc2
Copy link
Member

We should consider a basic User Guide notebook for this too. I can provide the quad-hexagon grid in multiple different formats (i.e. shape, geoparquet, etc.) to showcase this functionality.

I have some mesh files as a part of this, we want to be careful with how many we bundle as a part of the repo.

Maybe using online files rather than having them all hosted in the repo?

Do we have an issue open for this topic in general?

docs/internal_api/index.rst Outdated Show resolved Hide resolved
uxarray/core/api.py Outdated Show resolved Hide resolved
uxarray/grid/grid.py Outdated Show resolved Hide resolved
@rajeeja rajeeja requested a review from philipc2 September 12, 2024 23:36
Copy link
Member

@philipc2 philipc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments. Please update the PR title & linked issue as well.

uxarray/grid/grid.py Outdated Show resolved Hide resolved
uxarray/grid/grid.py Outdated Show resolved Hide resolved
uxarray/grid/grid.py Outdated Show resolved Hide resolved
@rajeeja
Copy link
Contributor Author

rajeeja commented Sep 14, 2024

We should consider a basic User Guide notebook for this too. I can provide the quad-hexagon grid in multiple different formats (i.e. shape, geoparquet, etc.) to showcase this functionality.

I have some mesh files as a part of this, we want to be careful with how many we bundle as a part of the repo.

Maybe using online files rather than having them all hosted in the repo?

Do we have an issue open for this topic in general?

#946 would cover this also, not a explicit issue for this.

@rajeeja rajeeja requested a review from philipc2 September 18, 2024 16:28
@philipc2 philipc2 changed the title Shapefile Reader Implement Grid.open_file method support non xarray formats including Shapefile/Geojson Sep 18, 2024
Copy link
Member

@philipc2 philipc2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Other than the one comment, feel free to merge it once it's been resolved.

uxarray/core/api.py Outdated Show resolved Hide resolved
rajeeja and others added 3 commits September 19, 2024 09:20
@rajeeja rajeeja force-pushed the rajeeja/io_shapefile branch from aebfc26 to 610e029 Compare September 19, 2024 15:27
@rajeeja rajeeja merged commit 6862950 into main Sep 19, 2024
20 checks passed
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.

Implement open_file method of Grid class, support non xarray formats Shapefile/Geojson
3 participants