PaulHancock / MWA-fast-image-transients

Code and notes for the data reduction and analysis of fast image transients observed with the MWA
Other
5 stars 3 forks source link

process_grb - chaining the scripts #44

Open gemmaanderson opened 5 years ago

gemmaanderson commented 5 years ago

Processing a GRB observation from download to imaging:

process_grb.sh should be able to run on a GRB name (linking to all the observations in the database) and also on individual obsIDs. The main change from our previous workflow is that it does an infield calibration rather than relying on a separate calibrator observation.

I recommend the following script chain:

  1. obs_asvo download (1a. obs_flag_tiles)
  2. obs_infield_cal (switching OFF aoflagger and the second iteration of calibration: -a flag)
  3. obs_apply_cal
  4. obs_image.sh
  5. obs_im28s
  6. obs_im05s
  7. obs_diff

When running the imaging, I always need to specify the pixel size (and sometimes the image size) and also run clean (-c). These need to be specifiable on the command line.

Otherwise, we can make the script smart so that it chooses the pixel and image size based on the MWA configuration in the metadata.

An option to flag bad tiles would also be useful. If this is implemented, I can test the code on the GRB I am currently processing. This would need to involve specifying a flagging file on the command line too.

gemmaanderson commented 5 years ago

Another useful option would be to choose a calibration solution from another obsID rather than generating one with obs_infield_cal. Given the problems I have with my current dataset, I am needing to apply solutions generated from earlier obsIDs to later observations when the ionosphere and CenA start to cause a problem.