Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

H3-py is capable only for raster files? #381

Closed
ventel-the-great opened this issue Jun 15, 2024 · 1 comment
Closed

H3-py is capable only for raster files? #381

ventel-the-great opened this issue Jun 15, 2024 · 1 comment

Comments

@ventel-the-great
Copy link

Can be h3-py be adopted to plot regular/irregular/curvelinear grids popular in netcdf format?

@dfellis
Copy link
Collaborator

dfellis commented Jun 15, 2024

I don't understand your question. H3 has many inputs for geospatial coordinates, including polygons defined in lat, lng pairs, which is by definition a vector. But the H3 grid is a discrete grid system to represent that data, and it's purpose is binning data for simpler and more uniform area analyses.

So you can take any other grid system's data and convert it to H3's grid system, but there will be conversion error as the grids won't perfectly line up, and how you do that is up to you (just centerpoint to centerpoint, or checking for all cells that intersect the input grid cell and then either distributing the value evenly amongst them or calculating the percentage of overlap and adding that percentage to each H3 cell; these are the most common solutions).

@uber uber locked and limited conversation to collaborators Oct 27, 2024
@ajfriend ajfriend converted this issue into discussion #427 Oct 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants