gfail.transfer¶
- gfail.transfer.gf_transfer(event_dir, version=1, pdl_config=None, dry_run=False, status='UPDATE')[source]¶
Transfer ground failure results to dev server.
- Parameters
event_dir (str) – Path to event directory.
version (int) – Version number to assign to ground-failure run.
pdl_config (str) – Path to PDL config file.
dry_run (bool) – True suppresses transfer but data is assembled for the transfer.
status (str) – Status of ground-failure product being sent to comcat. Default is “UPDATE” but can also be “WARNING” so that the product page displays the warning banner.
Returns: tuple:
Success: bool for whether transfer was successful.
feed: link to json feed for product.