Return to directory of Todd's CASA extensions

For a list of ASDMs, writes a file containing the start date/time of each, and optionally the antenna list and mean frequencies. Calls getObservationStartDateFromASDM for each ASDM.


  au.getObservationStartDateFromASDMs(asdmlist, outfile='asdm_dates.txt', getAntennas=False, getSBFrequencies=False)
  • asdmlist: either a list of strings, or a string containing a wildcard pattern
  • getAntennas: if True, then also list the antennas
  • getSBFrequencies: if True, then also list the mean frequencies of LSB and USB (using getMeanFreqFromASDM)


CASA <17>: au.getObservationStartDateFromASDMs('uid*')
Result left in asdm_dates.txt
CASA <18>: !more asdm_dates.txt
uid___A002_X65b087_X6db 2013-06-04 04:13:44 UT
uid___A002_X65b087_X810 2013-06-04 04:31:51 UT
uid___A002_X65b087_X95b 2013-06-04 04:51:01 UT
uid___A002_X65c1ab_X5e3 2013-06-05 01:41:34 UT
uid___A002_X65c1ab_X950 2013-06-05 02:54:01 UT
uid___A002_X65c1ab_Xa6b 2013-06-05 03:14:05 UT
uid___A002_X65c1ab_Xd8d 2013-06-05 04:25:01 UT
uid___A002_X69ec79_Xc16 2013-07-05 02:47:00 UT

-- ToddHunter - 2013-04-01

-- ToddHunter - 2013-12-20
Topic revision: r1 - 2013-12-20, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback