Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

e.g. http://ws.mwatelescope.org/calib/get_calfile_for_obsid?obs_id=1120493008 

Where:

  • obs_id is an observation ID you wish to calibrate. The get_calfile_for_obsid service will search the calibration solution database for the best calibration solution available for this observation. See See MWA ASVO: Calibration Option for some background information on the calibration database and how it is populated. 

...

  • On Success:
    • A zip file containing:
      • cal_id.bin: Binary file (in AO-cal format) containing the calibration solution. This can be used in Andre Offringa's calibrate and Cotter tools. Note the filename contains the observation ID of the calibrator observation used.
      • obs_id_flagged_tiles.txt: A plain text file listing the tile_id's of tiles that failed to calibrate.
      • obs_id_flags.py: A simple python script which you can run to apply the calibration solution (in CASA).
      • obs_id.metafits: A metafits file, with the calibration solution applied to the data.
  • On Error:
    • http status 400 if the cal_id is not found in the calibration solution database.
    • http status 500 if an internal error occurred.

Note that this service will only look for calibration observations taken with the same analogue attenuation ('gain_control_value') as the observation. If you wish to search for /any/ calibration solution, regardless of analogue attenuation, add the 'any_gain' parameter to the URL string - for example, http://ws.mwatelescope.org/calib/get_calfile_for_obsid?obs_id=1120493008&any_gain

...

e.g. http://ws.mwatelescope.org/calib/get_calfile_for_calid?cal_id=1120493424 

Where:

  • cal_id is the observation ID of an observation that has been marked as a calibrator observation.

...

  • On Success:
    • A zip file containing:
      • cal_id.bin: Binary file (in AO-cal format) containing the calibration solution. This can be used in Andre Offringa's calibrate and Cotter tools.
      • cal_id_flagged_tiles.txt: A plain text file listing the tile_id's of tiles that failed to calibrate.
      • cal_id_flags.py: A simple python script which you can run to apply the calibration solution (in CASA).
  • On Error:
    • http status 400 if the cal_id is not found in the calibration solution database.
    • http status 500 if an internal error occurred.