icecube.offline_filterscripts.gcd_generation module

Support functions and tray segements for generating production GCDs

icecube.offline_filterscripts.gcd_generation.audit(tray, name='GCDAudit', run_id=None)

GCD audit tray segment.

icecube.offline_filterscripts.gcd_generation.check_dst_time(frame, run_start_time, run_stop_time)

Adjust DetectorStatus times when they are way off from the actual start time because of a bug.

Parameters:
  • frame (I3Frame) – The frame

  • run_start_time (I3Time) – The run start time

  • run_stop_time (I3Time) – The run stop time

icecube.offline_filterscripts.gcd_generation.generate(tray, name='GenrateGCD', run_id=None, *, production=-1, Simulation=False)

Run main tray segment for generating GCDs.

icecube.offline_filterscripts.gcd_generation.get_i3live_info(run_id, i3live_host='live.icecube.wisc.edu')

Retrieve infor from i3Live

icecube.offline_filterscripts.gcd_generation.get_latest_transaction_of_gcd_db(db_host='mdbs-1')

Retrieve the last DB transaction

Parameters:

db_host (str) – Database hostname

Returns:

transaction – Dictionary describing the database transaction

Return type:

dict

icecube.offline_filterscripts.gcd_generation.parse_gcd_audit_output(path)

Parse the gcd audit log

icecube.offline_filterscripts.gcd_generation.set_production_information(frame, production_version, snapshot_id, good_start_time, good_stop_time)

Add production info to frame