readTMCDBVersionPadHistory

Return to directory of Todd's CASA extensions

Returns a dictionary of timestamps (keyed by version number) of all updates of the specified pad in the TMCDB. Must be run on osf-red.aiv.alma.cl. See also compareTMCDB and readTMCDBVersionAntennaHistory.

Usage:

au.readTMCDBVersionPadHistory(pad, historyfile='')
Inputs:
  • pad: the pad 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 <3>: au.readTMCDBVersionPadHistory('A077')
  Out[3]:
{0: '',
 1: '2012-05-13T19:11:31.000-04:00',
 2: '2013-07-02T18:40:37.000-04:00',
 3: '2014-03-04T21:11:49.000-03:00',
 4: '2014-03-05T02:33:06.000-03:00',
 5: '2014-08-21T05:11:38.000-04:00',
 6: '2015-05-09T08:18:09.000-04:00',
 7: '2015-06-01T23:44:02.000-04:00'}

-- ToddHunter - 2015-06-15
Topic revision: r1 - 2015-06-15, 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