readTMCDBVersionAntennaHistory
Return to directory of Todd's CASA extensions
Returns a dictionary of timestamps (keyed by version number) of all updates of TMCDB for the specified antenna.
Must be run on osf-red.aiv.alma.cl. See also
compareTMCDB and
readTMCDBVersionPadHistory.
Usage:
au.readTMCDBVersionAntennaHistory(antenna, historyfile='')
Inputs:
- antenna: the antenna name string
- historyfile: an alternative XML file to search. If not specified, it exports the current one.
Returns:
- a dictionary with string values in the format: YYYY-MM-DDTHH:MM:SS.SSS-ZZ:00 where ZZ=timezone offset.
Example:
CASA <6>: au.readTMCDBVersionAntennaHistory('DV16')
Out[6]:
{0: '',
1: '2012-11-09T02:05:25.000-03:00',
2: '2012-11-15T23:19:01.000-03:00',
3: '2012-12-28T04:48:59.000-03:00',
4: '2013-01-05T18:47:02.000-03:00',
5: '2013-03-17T14:15:49.000-03:00',
6: '2014-02-05T08:57:05.000-03:00',
7: '2014-03-17T18:45:54.000-03:00',
8: '2014-04-01T22:16:53.000-03:00',
9: '2014-04-02T13:38:22.000-03:00',
10: '2014-04-09T03:59:18.000-03:00',
11: '2014-04-09T06:47:21.000-03:00',
12: '2014-04-10T21:43:19.000-03:00',
13: '2014-04-11T00:44:26.000-03:00',
14: '2014-04-11T23:53:17.000-03:00',
15: '2014-04-26T23:25:34.000-03:00',
16: '2014-05-12T12:28:27.000-04:00',
17: '2014-05-12T18:17:11.000-04:00',
18: '2014-05-19T21:33:30.000-04:00',
19: '2014-05-19T23:28:46.000-04:00',
20: '2014-06-02T22:45:20.000-04:00',
21: '2014-06-11T02:35:11.000-04:00',
22: '2014-06-22T22:49:06.000-04:00',
23: '2014-07-16T02:18:34.000-04:00',
24: '2014-07-20T05:25:42.000-04:00',
25: '2014-08-04T03:49:35.000-04:00',
26: '2014-08-05T18:52:39.000-04:00',
27: '2014-08-15T21:32:27.000-04:00',
28: '2014-08-16T12:59:42.000-04:00',
29: '2014-08-21T01:46:11.000-04:00',
30: '2014-08-23T21:07:22.000-04:00',
31: '2014-09-04T13:24:40.000-04:00',
32: '2014-09-05T03:28:33.000-04:00',
33: '2014-09-08T22:16:39.000-03:00',
34: '2014-10-16T22:11:55.000-03:00',
35: '2014-10-17T20:25:50.000-03:00',
36: '2014-12-21T11:34:30.000-03:00',
37: '2015-02-27T05:16:42.000-03:00'}
--
ToddHunter - 2015-06-15