<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 3/25/2020 2:09 PM, Dave Mehringer
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1FA45151-DF0D-406D-933D-407CF4E18644@nrao.edu">
<pre class="moz-quote-pre" wrap="">Hi Eric
I was wondering if you could help shed some light on antenna positions in VLA archive uvfits files. Your uvfits spec description regarding the STABXYZ column of the AN table states:
“Station coordinates. The STABXYZ array shall give the coordinate vector (element 1 is the x coordinate, element 2 is the y coordinate, and element 3 is the z coordinate) of the antenna relative to the array center
defined in the header, provided that the antenna is not an orbiting antenna. The coordinate system used for the antenna coordinates is indicated by the FRAME keyword in the header. In the absence of FRAME information, the coordinate system longitudes are assumed to be based in Greenwich, England if the array center is all zero and to be based at the array center if it is not zero. Note that this means that the x and y coordinates of the station are rotated wrt the coordinate system used to express the array center and so cannot be added to them in a simple fashion.”
The archive file I’ve been given has no FRAME keyword, and the antenna x-y positions are plotted in the attached figure. Ultimately, I need to transform the positions in the uvfits AN table to ITRF coordinates, since that’s generally what CASA needs.
I was hoping that you could tell me how to do that. There is some code in our uvfits that suggests that the uvfits AN table positions should be rotated relative to the array center by an angle equal to the longitude of the array center (and indeed this results in the positions in the attached plot being transformed into approximately at least the expected shape of the array with the positive Y axis corresponding to north. In the code, those positions are then added to the ITRF array center coordinates.
Can you tell me if the coordinate system used in VLA archive uvfits files is such that the above described transformation will indeed result in the ITRF antenna positions? And if not, can you provide details of how this can be achieved?
Thanks
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<p>The format you are seeing is the antenna format for all old VLA
data. There is a task in AIPS that will convert this correct (but
unfortunate) format to an Earth-centric one. The task is FIXAN
with OPTYPE='CENT'. Note that the WRNG OPTYPE was for a format
CASA wrote that pretended to convert JVLA antenna coordinates
(Earth centered) to the coordinates they assumed AIPS required. I
got them to stop that.</p>
<p>Eric</p>
<p><br>
</p>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="https://www.avast.com/antivirus">
<img border=0 src="https://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email has been checked for viruses by Avast antivirus software.
<br><a href="https://www.avast.com/antivirus">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>