Closed lpsinger closed 8 years ago
I take back what I originally said about the PSD file size: gstlal and MBTA produce PSD files with sizes of ~100 KB, whereas this patch is generating PSD files of ~10 MB. However, from looking at a handful of pycbc runs, it looks like there are about as many entries in the loudest events table as there are PSD segments. So, my conclusion is the same: storing the PSDs separately would produce no significant savings in disk space in GraceDB.
Great! Thanks a lot for doing this.
Some automatic analyses of CBC triggers that are uploaded to GraceDB, including rapid sky localization with BAYESTAR, depend on noise PSDs from the time of the candidate. In order to enable rapid sky localization for pycbc events, pycbc must upload a PSD to GraceDB along with each coinc.
The best place to do this is probably in
pycbc_upload_xml_to_gracedb
. The PSD should be in the LIGO-LW XML format that is produced bylal.series.make_psd_xmldoc
. The file should be namedpsd.xml.gz
and should be uploaded with thepsd
tag.Note that the disk usage of one PSD file per GraceDB event is not a major consideration, because the BAYESTAR sky maps files typically have about the same size as the PSD files.