Skip to content

Feat/neighbors - #7

Closed
cwebear wants to merge 18 commits into
mainfrom
feat/neighbors
Closed

cwebear wants to merge 18 commits into
mainfrom
feat/neighbors

Conversation

@cwebear

@cwebear cwebear commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

add neighbors and matchup files
matchup.py contains the nearest neighbor class, a bag for nearest neighbor parameters
neighbors.py contains 3 functions accociated to KDtree lookup :

  • to_seconds : Converting datetime64 to floating-point seconds since a fixed epoch and used to let the user set time delta in a datetime format.
  • spatial_nearest : returning indexes and asociated distance of stacked points between pointset and gridset
  • temporal_nerest : returning indexes and asociated timedelta of stacked points between pointset and gridset

cwebear and others added 18 commits September 1, 2026 11:16
add PointSet with validation and xyz cache
add grid set and tests. clean tests and conftest to amtch actual step…
add results, tests and correct mypy call in pyproject.toml

add MatchupResults class
Contains originated pointset,
matchup values found as dict
distance in km
time delta (in seconds)

and a method to_dataset() retruning an augmented dataset with matchup data from original dataset located in Poinsetobject.
@cwebear cwebear closed this Sep 8, 2026
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