llama.files.gwastro module¶
FileHandlers that upload files to gw-astronomy.org/gwhen and record successful uploads with logfile receipts.
-
class
llama.files.gwastro.
GWAstroReceipt
¶ Bases:
llama.com.utils.UploadReceipt
A log file created indicating successful upload of some other original file to gw-astronomy.org.
-
CLASSNAME_FMT
= 'RctGwa{}'¶
-
FILENAME_FMT
= 'rct_gwa_{}.log'¶
-
REMOTE_RUNDIR
= '/home/gwhen/content/events/'¶
-
REMOTE_URL
= 'gw-astronomy.org'¶
-
REMOTE_USER
= 'gwhen'¶
-
property
rsync_source
¶ Get the source path for an
rsync
upload to a remote server (including the proper--relative
dot in the path to ensure subdirectory creation serverside).
-
classmethod
set_class_attributes
(subclass)¶ See
UploadReceipt.set_class_attributes
; this method addsSkymapInfo
tosubclass.DEPENDENCIES
if it is not already a member andRSYNC_DEST
, the destination directory for uploaded events.
-
-
class
llama.files.gwastro.
RctGwaLVAlertJSON
¶ Bases:
llama.files.gwastro.GWAstroReceipt
-
DEPENDENCIES
= (<class 'llama.files.lvalert_json.LVAlertJSON'>, <class 'llama.files.skymap_info.SkymapInfo'>)¶
-
FILENAME
= 'rct_gwa_lvalert.json.log'¶
-
MANIFEST_TYPES
= (<class 'llama.files.gwastro.RctGwaLVAlertJSON'>,)¶
-
RSYNC_DEST
= 'gwhen@gw-astronomy.org:/home/gwhen/content/events/'¶
-
UPLOAD
¶ alias of
llama.files.lvalert_json.LVAlertJSON
-
UR_DEPENDENCIES
= (<class 'llama.files.lvalert_json.LVAlertJSON'>,)¶
-
UR_DEPENDENCY_TREE
= frozenset({<class 'llama.files.lvalert_json.LVAlertJSON'>})¶
-
-
class
llama.files.gwastro.
RctGwaLvcGcnXml
¶ Bases:
llama.files.gwastro.GWAstroReceipt
-
DEPENDENCIES
= (<class 'llama.files.lvc_gcn_xml.LvcGcnXml'>, <class 'llama.files.skymap_info.SkymapInfo'>)¶
-
FILENAME
= 'rct_gwa_lvc_gcn.xml.log'¶
-
MANIFEST_TYPES
= (<class 'llama.files.gwastro.RctGwaLvcGcnXml'>,)¶
-
RSYNC_DEST
= 'gwhen@gw-astronomy.org:/home/gwhen/content/events/'¶
-
UPLOAD
¶ alias of
llama.files.lvc_gcn_xml.LvcGcnXml
-
UR_DEPENDENCIES
= (<class 'llama.files.lvc_gcn_xml.LvcGcnXml'>,)¶
-
UR_DEPENDENCY_TREE
= frozenset({<class 'llama.files.lvc_gcn_xml.LvcGcnXml'>})¶
-
-
class
llama.files.gwastro.
RctGwaLvcRetractionXml
¶ Bases:
llama.files.gwastro.GWAstroReceipt
-
DEPENDENCIES
= (<class 'llama.files.lvc_gcn_xml.LvcRetractionXml'>, <class 'llama.files.skymap_info.SkymapInfo'>)¶
-
FILENAME
= 'rct_gwa_lvc_gcn_retraction.xml.log'¶
-
MANIFEST_TYPES
= (<class 'llama.files.gwastro.RctGwaLvcRetractionXml'>,)¶
-
RSYNC_DEST
= 'gwhen@gw-astronomy.org:/home/gwhen/content/events/'¶
-
UPLOAD
¶
-
UR_DEPENDENCIES
= (<class 'llama.files.lvc_gcn_xml.LvcRetractionXml'>,)¶
-
UR_DEPENDENCY_TREE
= frozenset({<class 'llama.files.lvc_gcn_xml.LvcRetractionXml'>})¶
-
-
class
llama.files.gwastro.
RctGwaSkymapInfo
¶ Bases:
llama.files.gwastro.GWAstroReceipt
-
DEPENDENCIES
= (<class 'llama.files.skymap_info.SkymapInfo'>,)¶
-
FILENAME
= 'rct_gwa_skymap_info.json.log'¶
-
MANIFEST_TYPES
= (<class 'llama.files.gwastro.RctGwaSkymapInfo'>,)¶
-
RSYNC_DEST
= 'gwhen@gw-astronomy.org:/home/gwhen/content/events/'¶
-
UPLOAD
¶ alias of
llama.files.skymap_info.SkymapInfo
-
UR_DEPENDENCIES
= (<class 'llama.files.skymap_info.SkymapInfo'>,)¶
-
UR_DEPENDENCY_TREE
= frozenset({<class 'llama.files.skymap_info.SkymapInfo'>})¶
-