Converting Miriad data into MeasurementSet form

Want to use CASA with CABB data? We can help each other!

Moderator: Mark.Wieringa

Converting Miriad data into MeasurementSet form

Postby ste616 » Mon Jul 01, 2013 12:26 pm

A new casacore task has been created recently, called importmiriad, that takes a Miriad data set and converts it to a MeasurementSet for use in casapy.

To support easy use of this task, a new Miriad task called uv2ms is now available.

This is a very easy task to use, as it only has three inputs: the name of the input Miriad dataset, the name of the output MS, and an optional flag to make Miriad fill in the MS weight table using the system temperatures.

The MeasurementSets that this task produces have been shown to work well in casapy. It should be possible to process the MS entirely within casapy, however there is still no other way of loading the data other than Miriad's atlod task.
cheers
Jamie Stevens
ATCA Senior System Scientist
ste616
Site Admin
 
Posts: 217
Joined: Thu Feb 04, 2010 3:27 pm
Location: Paul Wild Observatory Narrabri NSW

Re: Converting Miriad data into MeasurementSet form

Postby Yanett » Fri Jul 12, 2013 3:48 pm

At the moment the miriad task uv2ms is not supported in Mac OS X

The solution for the moment is to use a Linux machine. At CASS Kaputar or Serpens, for example, can be used to convert uv to ms files.
Yanett
 
Posts: 1
Joined: Tue Jun 18, 2013 2:21 pm

Re: Converting Miriad data into MeasurementSet form

Postby deOmair » Mon Dec 01, 2014 10:12 pm

thank you for help..
Join online MB7-701 exam dumps and Test King to pass pmp dumps exam in first bc Our best quality www.ku.edu and Hood College
deOmair
 
Posts: 1
Joined: Mon Dec 01, 2014 9:45 pm

Re: Converting Miriad data into MeasurementSet form

Postby mcoriat » Tue Dec 16, 2014 11:47 pm

I have installed miriad (linux64 binary) on Ubuntu 14.04 but can't get uv2ms to work. When I try to launch the task by typing "go" at the terminal prompt it replies:

go: No such file or directory
go: Failed to exec the subprocess

(same as on Mac OS X by the way)

Should I install miriad from source?
Any other suggestion?

Thanks in advance for your help !
mcoriat
 
Posts: 5
Joined: Tue May 27, 2014 10:42 pm

Re: Converting Miriad data into MeasurementSet form

Postby ste616 » Wed Dec 17, 2014 3:07 am

Hi,

Is this the only task that doesn't work in your Miriad?
cheers
Jamie Stevens
ATCA Senior System Scientist
ste616
Site Admin
 
Posts: 217
Joined: Thu Feb 04, 2010 3:27 pm
Location: Paul Wild Observatory Narrabri NSW

Re: Converting Miriad data into MeasurementSet form

Postby mcoriat » Wed Dec 17, 2014 7:29 pm

Hi Jamie,

yes, this is the only task that doesn't work. Note however that I am running Ubuntu through a virtual machine on my mac laptop. In principle it shouldn't make a difference wether I am running it through a VM or natively on a PC, but maybe I am wrong.

Thanks for your help !

Cheers

Mickael
mcoriat
 
Posts: 5
Joined: Tue May 27, 2014 10:42 pm

Re: Converting Miriad data into MeasurementSet form

Postby ste616 » Thu Dec 18, 2014 8:55 am

Hi Mickael,

It should be noted that uv2ms is only available in the 64 bit Linux version of Miriad. Are you using the 32 bit Linux version by any chance?
cheers
Jamie Stevens
ATCA Senior System Scientist
ste616
Site Admin
 
Posts: 217
Joined: Thu Feb 04, 2010 3:27 pm
Location: Paul Wild Observatory Narrabri NSW

Re: Converting Miriad data into MeasurementSet form

Postby mcoriat » Fri Dec 19, 2014 10:21 pm

Hi Jamie,

No, unfortunately I am using the 64 bit version...
mcoriat
 
Posts: 5
Joined: Tue May 27, 2014 10:42 pm

Re: Converting Miriad data into MeasurementSet form

Postby mcoriat » Sat Dec 20, 2014 1:54 am

Hi Jamie,

I have solve the issue. There was 2 problems basically. The first one is that I had a fresh installation of Ubuntu 14.04 which doesn't come by default with csh. As uv2ms is just a csh script the instruction "go" was not passed on properly to the script in the same way that typing things like "ls" or "pwd" at the Miriad prompt was not understood. So I had to install the csh package.

Then I tried again uv2ms and it complained that some shared libraries where missing, namely all the libcasa.* libraries as well as the libatlas.* libraries.
The libcasa.* libraries are all provided in the MIRIAD binary package under miriad/linux64/casacore/lib/ so it was just a matter of adding this path to LD_LIBRARY_PATH in the .bashrc
The libatlas.* related libraries were simply not provided by default in Ubuntu 14.04. The right package to install then is libatlas3gf-base.

uv2ms can then be launched. I tried on a multi-source miriad uv file (the output of atlod). Unfortunately it only found one source (the first one observed, 1934) while the documentation of uv2ms mention that it can handle multiple sources. Trying with only one source per file works well.

Cheers and thanks again for your help

Mickael
mcoriat
 
Posts: 5
Joined: Tue May 27, 2014 10:42 pm

Re: Converting Miriad data into MeasurementSet form

Postby Mark.Wieringa » Mon Jan 19, 2015 9:06 am

Just an update on this:
uv2ms is now obsolete - from CASA 4.3.0 the recommended route is to use importmiriad in casa to convert Miriad data to a MeasurementSet directly, or use (Miriad) fits to export to uvfits and (CASA) importuvfits to load the data.

If you notice any problems with importmiriad you can report them here and we'll try to get the fix in the next CASA release.

Cheers,

Mark
Mark.Wieringa
ATCA Expert
 
Posts: 284
Joined: Mon Feb 08, 2010 1:37 pm

Next

Return to CASA

Who is online

Users browsing this forum: No registered users and 1 guest

cron