NRAO Home > CASA > CASA Task Reference Manual

0.1.21 exportasdm

Requires:

Synopsis
Convert a CASA visibility file (MS) into an ALMA or EVLA Science Data Model

Arguments





Inputs

vis

MS name

allowed:

string

Default:

asdm

Name of output ASDM directory (on disk)

allowed:

string

Default:

datacolumn

specifies which MS data column is used to fill the visibilites in the ASDM

allowed:

string

Default:

data

archiveid

the X0 in uid://X0/X1/X2

allowed:

string

Default:

S0

rangeid

the X1 in uid://X0/X1/X2

allowed:

string

Default:

X1

subscanduration

maximum duration of a subscan in the output ASDM

allowed:

string

Default:

24h

sbduration

maximum duration of a scheduling block (and therefore exec block) in the output ASDM

allowed:

string

Default:

2700s

apcorrected

data to be marked as having atmospheric phase correction

allowed:

bool

Default:

False

verbose

produce log output

allowed:

bool

Default:

True

showversion

Report the version of ASDM class set being used

allowed:

bool

Default:

True

useversion

Selects the version of MS2asdm to be used (’v3’)

allowed:

string

Default:

v3

Returns
bool

Example

 
 
  exportasdm(vis=’ngc4826.ms’, asdm=’uid___S021_X1418_X1’,  
             datacolumn=’corrected’, archiveid=’S021’, rangeid=’X1418’,  
             verbose=False)  
  will produce an ASDM named ’uid___S021_X1418_X1’ using the  
  datacolumn ’corrected’ in the MS ’ngc4826.ms’ with minimal  
  log output.  
 
  The sbduration parameter controls the number of execution blocks (EBs)  
  into which exportasdm subdivides the visibilities from your input MS.  
  If the total observation time in the MS is shorter than what is given  
  in sbduration, a single EB will be created.  
 
  Note concerning ALMA data: exportasdm presently is not able to export  
  from MSs containing WVR data. If you attempt to export such an MS, you  
  will receive an error message saying that you can only export data of  
  processor type "CORRELATOR". It will also give you the list of SPWs  
  which contain CORRELATOR data. You will then have to split out these  
  SPWs using the task "split" and run exportasdm on the resulting MS.  
 
  Also EVLA data can be exported. Note here that exportasdm does not produce  
  online flags and that a subsequent reimport of the data must be done with  
  online=False. Also, importevla will only work on your ASDM if you have  
  exported it with apcorrected=False (the default).  
 
   importevla(’xosrosdm’, vis = ’xosro.ms’)  
   exportasdm(vis=’xosro.ms’, asdm=’xosrosdm’, apcorrected=False)  
   importevla(asdm=’xosro2asdm’, vis=’xosro2-reimp.ms’, online=False)  
 


More information about CASA may be found at the CASA web page

Copyright © 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search