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

Distance-Based Indexing of Boundary Dataset Points #30

Open
TomasLandelius opened this issue Oct 7, 2024 · 1 comment
Open

Distance-Based Indexing of Boundary Dataset Points #30

TomasLandelius opened this issue Oct 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@TomasLandelius
Copy link

Add functionality that processes latitude and longitude information from two source datasets (no need for reference to projections or regular grids): LAM and boundary. This functionality should:

  1. Take lat-lon data from both LAM and boundary datasets.
  2. Accept a specified distance parameter.
  3. Return an index to the boundary dataset points that are within the specified distance from the LAM border.
  4. Optionally include boundary points that are inside the LAM area.

The set up based only on a list of lat-lon coordinates and corresponding indexing will work nicely with #29.

My idea is to use the SphericalPolygon.convex_hull functionality from the spherical_geometry library package to achieve this (see example below).
lam_inside+bnd_bnd_outside_d_glb

@TomasLandelius TomasLandelius added the enhancement New feature or request label Oct 7, 2024
@joeloskarsson
Copy link
Contributor

Should this go in here or in https://github.com/mllam/mllam-data-prep ?

(But I agree, #29 will be neccesary to make the graph creation work for these kinds of grid layouts.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants