SIMPLE-AstroDB / SIMPLE-db

Curated collection of data for low mass stars, brown dwarfs, and directly imaged exoplanets.
https://simple-bd-archive.org/
BSD 3-Clause "New" or "Revised" License
11 stars 22 forks source link

Make a Planned Observations table #378

Open kelle opened 1 year ago

kelle commented 1 year ago

This is motivated by approved/planned JWST observations. Should also use the Instrument/Telescope/Mode reference tables. Can ref a JWST PID as the reference.

@dr-rodriguez , does STSCI already provide a searchable database of planned/approved observations?

dr-rodriguez commented 1 year ago

It's funny you should ask this since once of the reasons I missed the SIMPLE meeting this week was a JWST meeting that included a topic about a bug in the MAST list of JWST planned observations.

So yes, by using MAST (either the main interface, astroquery.mast, pyvo, TAP, etc), you can search for JWST planned observations by constraining your queries by obs_collection = JWST and calibrationLevel = -1

Note that the planned observations get periodically refreshed on a daily schedule. This is to ensure that observations that are actually taken move from planned to executed, and similarly any deletions/withdrawn cases get removed.

The bug we have been addressing this week, which will hopefully be installed in our production services by the end of the month, is that the deletions are not accurately queried so legitimate planned observations are being cleared out and re-inserted the following day.

dr-rodriguez commented 1 year ago

Discussed briefly but to capture it here:

kelle commented 1 month ago

MAST made a new thing which makes this possible. https://mast.stsci.edu/duplication/#/search.