imager_bbs

*Master Side of the recipe *

class lofarpipe.recipes.master.imager_bbs.imager_bbs

Imager_bbs master performs a bbs run based on the supplied parset it is a shallow wrapper around bbs. Additional functionality compared to the default bbs recipe is the capability to add an id that allows multiple runs to have different output files

  1. Load and validates that the input mapfiles are correct
  2. and then starts the node script, use indexed path names for the communication
  3. Check if all nodes succeeded. If so return a mapfile with calibrated ms

Command line Arguments

  1. Path to a mapfile with measurement sets to calibrate

Recipe inputs

Parameters:
  • bbs_executable(StringField) BBS standalone executable (bbs-reducer) (StringField)
  • id(IntField) Optional integer id for distinguishing multiple runs (IntField)
  • instrument_mapfile(FileField) Full path to the mapfile containing the names of the instrument model files generated by the parmdb recipe (FileField)
  • mapfile(StringField) Full path to the file containing the output data products (StringField)
  • parset(FileField) BBS configuration parset (FileField)
  • sourcedb_mapfile(FileField) Full path to the mapfile containing the names of the sourcedbs generated by the sourcedb recipe (FileField)

Recipe outputs (job.results[parameter])

Parameters:mapfile(FileField) Full path to a mapfile describing the processed data (FileField)
go()

imager_bbs functionality. Called by framework performing all the work

*Node Side of the recipe*

class lofarpipe.recipes.nodes.imager_bbs.imager_bbs(job_id, host, port)

imager_bbs node performs a bbs run for each of measuremt sets supplied in the mapfile at ms_list_path. Calibration is done on the sources in the sourcedb in the mapfile sky_list_path. Solutions are stored in the parmdb_list_path

  1. Load the mapfiles
  2. For each measurement set to calibrate start a subprocess
  3. Check if the processes finished correctly
run(bbs_executable, parset, ms_list_path, parmdb_list_path, sky_list_path)

imager_bbs functionality. Called by framework performing all the work

Previous topic

imager_create_dbs

Next topic

imager_awimager

This Page