readwvr
Return to directory of Todd's CASA extensions
This function reads the CalWVR.xml table from the ASDM and returns a
dictionary containing: 'start', 'end', 'startmjd', 'endmjd',
'startmjdsec', 'endmjdsec',
'timerange', 'antenna', 'water', 'duration'.
'water' is the zenith PWV in units of meters. It is called by
readpwv.
Usage:
au.readwvr(sdmfile)
Example:
CASA <45>: mydict = au.readwvr('uid___A002_X5b9c8d_X47')
Found 480 rows in CalWVR.xml
CASA <46>: mydict[0]
Out[46]:
{'antenna': 'DA41',
'duration': 3683.2539996597916,
'end': '2013/01/28/00:51:03.52',
'endmjd': 56320.035457349542,
'endmjdsec': 4866051063.5150003,
'start': '2013/01/27/23:49:40.26',
'startmjd': 56319.992827094917,
'startmjdsec': 4866047380.2610006,
'timerange': '2013/01/27/23:49:40.26~2013/01/28/00:51:03.52',
'water': 0.0027501326620417155}
--
ToddHunter - 2013-06-27