Managing state in GraceDB
Created on June 28, 2018. Copied from redmine (https://bugs.ligo.org/redmine/issues/6180)
There has been some discussion of having a state table in GraceDB. Presently, we are thinking of creating some new labels in order to define certain states instead. Today, I added
DQOK green Data quality information is available and does not veto the event.
PASTRO_READY green p_astro is available.
EMBRIGHT_READY green EM Bright information is available.
SKYMAP_READY green Skymap is available.
GCN_PRELIM_SENT black A preliminary GCN has been sent.
I think we will clean up some of the old labels as well at some point, and update descriptions. Additional labels will probably be added as well.
There was some discussion of adding more information to a label, like tying a particular state to the files related to that state (ex: SKYMAP_READY would be tied to a list of skymap files). Would require some significant changes to the schema, doesn't sound fun..