Usage of editFieldnameASDM

Return to directory of Todd's CASA extensions

Changes a field name in the ASDM (in 4 files: Source.xml, Scan.xml, Subscan.xml and Field.xml'). This is useful if the field has a character that casa does not like (e.g. '[', ']', ','). See also editIntents and editFieldname which operate on a measurement set.

Usage:

au.editFieldnameASDM(asdm, field, newname):

Example:

CASA <5>: au.editFieldnameASDM('../rawdata/uid___A002_X3fdb4f_X78c','J1256-057, 3C279','J1256-057; 3C279')
Replaced 41 lines in Source.xml
Replaced 8 lines in Scan.xml
Replaced 18 lines in Subscan.xml
Replaced 1 lines in Field.xml

-- ToddHunter - 2013-05-16

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > EditFieldnameASDM
Topic revision: 2015-03-27, 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