Skip to content

A simple way to get closest to both location and time #18

@jcsmithhere

Description

@jcsmithhere

It would be good to have a simple way to return bolides close to a point in both time and location. Right now, you have to make one cut first and then the other. For example, say I want the bolides nearest in time to '2022-06-07 22:53:00' but also nearest to the location lon=-31, lat=9. I cannot take each cut separately with a command like this:

bdf_cut = bdf.get_closest_by_time('2022-06-07 22:53:00', n=2)
bdf_cut = bdf_cut.get_closest_by_loc(lon=-31, lat=9, n=2)

That just returns the two bolides nearest in time due to us cutting on time first. I think we need a single method that performs both cuts at the same time.

This would be very helpful if you know the rough time and lat/lon of a specific bolide.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions