SETI / bolides

Things that go kaboom!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to search database by date, satellite, lat/lon, etc...

jcsmithhere opened this issue · comments

Implemented in 404c8b2 in bdf-implementation, API described in #10. Only difference is that the three date-filtering methods have been replaced with filter_date. An example of usage is bdf.filter_date(start='2020-01-01', end='2021-05-03'). The start and end arguments can be omitted to only filter out in one direction.

bdf-implementation now also includes the get_closest_by_time and get_closest_by_loc methods to get the closest bolides to a particular time or location (c9d5992). An example of usage is bdf.get_closest_by_time('2021-01-02 13:00:21', n=2) to get the closest 2 bolides to that time.

Also, bdf-implementation includes the clip_boundary method to filter a BolideDataFrame by FOV (c9d5992), supporting GOES-East and GOES-West GLM fields of view. Here is an example of how to filter USG data to the GLM fields of view:

bdf = BolideDataFrame(source='usg')
bdf.plot_detections()
plt.show()

clip-demo-before

bdf = bdf.clip_boundary(boundary=['goes-w','goes-e'], intersection=False)
bdf.plot_detections()
plt.show()

clip-demo

bdf = bdf.clip_boundary(boundary=['goes-w','goes-e'], intersection=True)
bdf.plot_detections()
plt.show()

clip-demo-intersection

This all looks good, @anthonyozerov , of course, an example with the neo-bolides website data would be good, but happy to see it is easy to import the USG data as well. I wonder how many other meteor data sets we could easily import.

I believe this ticket can be closed.