sot / kadi

Chandra commands and events
https://sot.github.io/kadi
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Incorrect listings of event Query names #238

Open Gregg140 opened 2 years ago

Gregg140 commented 2 years ago

In [1]: from kadi import events

In [4]: events?

......says that in the available events list there is:

Available events are:

================= ==================================== ============== Query name Description Event class ================= ==================================== ============== caps CAP from iFOT database CAP ............................ orbit_points Orbit point OrbitPoint ............................

In addition, the documentation at :

https://sot.github.io/kadi/events.html#getting-started

...also lists orbit_points:

Available events are:

================= ==================================== ============== Query name Description Event class ================= ==================================== ============== caps CAP from iFOT database CAP dark_cals ACA dark current calibration event DarkCal ........................... orbit_points Orbit point OrbitPoint ..........................

However that event does not exist:

In [42]: events.orbit_points.filter(start_date, stop_date).table

AttributeError Traceback (most recent call last)

in ----> 1 events.orbit_points.filter(start_date, stop_date).table AttributeError: module 'kadi.events' has no attribute 'orbit_points' As is also demonstrated by: ![no-orb-points](https://user-images.githubusercontent.com/1727498/172669024-3e6cf4f3-e72c-4318-9d79-1ec513a31f8c.png)