<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns="http://casa.nrao.edu/schema/psetTypes.html" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<task type="function" name="listsdm" category="information">
<shortdescription>Lists observation information present in an SDM directory.</shortdescription>
<description>Given an SDM directory, this task will print observation information to the logger and return a dictionary keyed by scan.</description>
<param type="path" name="sdm" mustexist="true"><shortdescription>Name of input SDM directory</shortdescription><description>Name of input SDM directory</description>
The listsdm task reads SDM XML tables, processes the
observation information contained therein, and prints this
information to the CASA log. It will also return a dictionary
keyed on scan number. The dictionary contains the following
'baseband' list of baseband name(s)
'chanwidth' list of channel widths (Hz)
'end' observation end time (UTC)
'nchan' list of number of channels
'nsubs' number of subscans
'reffreq' list of reference frequencies (Hz)
'spws' list of spectral windows
'start' observation start time (UTC)
'timerange' start time - end time range (UTC)
myscans = listsdm(sdm='AS1039_sb1382796_2_000.55368.51883247685')
Prints information about the requested SDM to the CASA logger
and returns a dictionary with scan information in 'myscans'.
sdm -- Name of input SDM directory.
example: sdm='AG836_sb1377811_1.55345.300883159725'