Difference between revisions of "Importing Data into CASA"

From CASA Guides
Jump to: navigation, search
Line 6: Line 6:
 
== For EVLA Data ==
 
== For EVLA Data ==
  
Please see the complete description on the [Loading Data] CASA Guide.
+
Please see the complete description on the [[Loading Data]] CASA Guide.
  
 
<!-- Go to the NRAO archive and find the data set you'd like to download. Navigate to the "Download Archive Data Files" page, which will look something like this:
 
<!-- Go to the NRAO archive and find the data set you'd like to download. Navigate to the "Download Archive Data Files" page, which will look something like this:
Line 23: Line 23:
  
 
The second way to download your data is easier for the user, but may place a large burden on the archive and delay your data's arrival. Simply select "CASA MS" format on the "Download Archive Data Files" page of the archive. You'll probably want to still create a tar file, and you may or may not want to apply telescope flags. The flagging steps included in this "Apply flags generated during observing" command is currently in flux, so you may want to exercise caution here. Wait for your email from the archive stating that the data set has been copied, download it, un-tar it, and voila! You have a measurement set ready for use in CASA. -->
 
The second way to download your data is easier for the user, but may place a large burden on the archive and delay your data's arrival. Simply select "CASA MS" format on the "Download Archive Data Files" page of the archive. You'll probably want to still create a tar file, and you may or may not want to apply telescope flags. The flagging steps included in this "Apply flags generated during observing" command is currently in flux, so you may want to exercise caution here. Wait for your email from the archive stating that the data set has been copied, download it, un-tar it, and voila! You have a measurement set ready for use in CASA. -->
 
 
 
== For Historical VLA Data ==
 
== For Historical VLA Data ==
 
Download the data from the archive as you normally would (note that the format has not changed!), selecting the naming style that is most convenient ("Original Style", "AIPS Friendly", or "User Specify"). Wait for the email to arrive from the archive saying your data has been copied, and download it into your working directory. Now fire up CASA.
 
Download the data from the archive as you normally would (note that the format has not changed!), selecting the naming style that is most convenient ("Original Style", "AIPS Friendly", or "User Specify"). Wait for the email to arrive from the archive saying your data has been copied, and download it into your working directory. Now fire up CASA.

Revision as of 15:58, 20 April 2012

Hints, Tips, and Tricks

To manipulate your data in CASA, it will have to be in measurement set format. But how do you get it into a measurement set?

For EVLA Data

Please see the complete description on the Loading Data CASA Guide.

For Historical VLA Data

Download the data from the archive as you normally would (note that the format has not changed!), selecting the naming style that is most convenient ("Original Style", "AIPS Friendly", or "User Specify"). Wait for the email to arrive from the archive saying your data has been copied, and download it into your working directory. Now fire up CASA.

You will use the CASA task importvla to import these historical data:

Importvla Parameters.

Set archivefiles to the name(s) of the files you just downloaded, and set vis to the name of the measurement set you'd like to produce (make sure you add a ".ms" to the end of the name!). Type go, check the logger output periodically, and you should end up with a nice measurement set as output.


For CARMA and SMA Data

Your data should be imported in FITS format using importuvfits. Check out these tutorials (SMA, CARMA) for more specifics.

CASAguides

--Laura Chomiuk 21:57, 6 June 2010 (UTC)