Date: Mon, 26 Jul 2010 12:37:39 -1000
From: Ramprasad Rao 
To: Jun-Hui Zhao 
Cc: gpetitpas@cfa.harvard.edu
Subject: Re: loading my SMA data into MIRIAD

Understood. Thanks.

-- Ram





On Jul 26, 2010, at 12:33 PM, Jun-Hui Zhao wrote:

>
>
> On Mon, 26 Jul 2010, Ramprasad Rao wrote:
> On Mon, 26 Jul 2010, Ramprasad Rao wrote:
>
>> Hi Jun-Hui:
>>
>> This is good news. Thank you very much on your efforts to fix this. I
>> was able to successfully compile and install this on rtdchilo2. I  
>> also
>> loaded a recent data set. That was also OK. I have only done some
>> preliminary plotting using uvplt/smauvplt.
>>
>> I also attempted to load in a polarization dataset taken last year. I
>> was keeping my fingers crossed as I did not expect that this would
>> work flawlessly. It gave me the following error.
>
>    I haven't worked on the polarization data for the DB patch yet,
> which is much more complicated than the non-polarization line data.
> I think 100715_16:31:46 that you worked is through now.
>
>
>> $ smalod in=/sma/data/science/mir_data.2009/091211_02:50:57   
>> out=test2
>> options=circular sideband=0  refant=2 nscans=5,
>> SmaLod: version 3.1-beta 26-July-10
>> double-band patch................DbP version 1.0.9.-beta: 2010-07-25
>> open output file.
>> *********************************
>> *  Observing Date: 2009 Dec 11  *
>> *********************************
>> principal investigator...........SMA
>>
>> Number of antenna in antennas....10
>> Warning: Number of 10 antennas in antennas, exceeding that of  
>> standard
>> SMA.
>> Geocentrical coordinates (meter) with refant= 6:
>> ANT x y z = 1    -17.9151    -59.5579     30.0694
>> ANT x y z = 2     -6.3998    -68.0018      3.6382
>> ANT x y z = 3     11.7411    -53.6658    -40.7243
>> ANT x y z = 4     -5.7017    -18.9841     15.6105
>> ANT x y z = 5      5.2276    -20.0764    -14.8429
>> ANT x y z = 6      0.0000      0.0000      0.0000
>> ANT x y z = 7      4.4418    -63.8752    -21.8351
>> ANT x y z = 8     -0.5071    -25.1513      1.2808
>> converting geocentrical coordinates to equatorial system (nanosecs).
>> ANT x y x = 1    -59.7584   -198.6638    100.3007
>> ANT x y x = 2    -21.3476   -226.8295     12.1358
>> ANT x y x = 3     39.1642   -179.0097   -135.8418
>> ANT x y x = 4    -19.0188    -63.3243     52.0709
>> ANT x y x = 5     17.4374    -66.9675    -49.5107
>> ANT x y x = 6      0.0000      0.0000      0.0000
>> ANT x y x = 7     14.8161   -213.0647    -72.8339
>> ANT x y x = 8     -1.6914    -83.8958      4.2723
>> handling header variables........
>> number of integrations...........2834
>> fatal: ipol =1 is not understood.
>>
>> Can this be fixed so that it loads the polarization data correctly?  
>> In
>> the meantime I will do some more testing for the non-polarization
>> datasets. Thanks again. See you later.
>>
>> -- Ram
>>
>>
>>
>>
>>
>> On Jul 26, 2010, at 11:36 AM, Jun-Hui Zhao wrote:
>>
>>> Hi Ram:
>>>   A new beta version (1.0.9) has been released
>>> (http://www.cfa.harvard.edu/sma/miriad/download/).
>>> I tested it on both rtdchilo2 and co with different
>>> architectures. I also tested it to load (smalod)
>>> two dozens of SMA data files:
>>>
>>> a dozen of DB (4GHz) mode files since early 2009
>>> (090218_04:25:36) to the latest one (100722_18:05:35),
>>> and a dozen of standard (2GHz) mode since 2005.
>>>
>>>  Please give a try and let me know if you encounter
>>> any problems. Tomorrow will be my last night and I will
>>> be Hilo whole day on Wednesday (7/28) to work with
>>> you and Glen.
>>>
>>>  Jun-Hui
>>>
>>> On Thu, 22 Jul 2010, Ramprasad Rao wrote:
>>>
>>>> Thanks.
>>>>
>>>> -- Ram
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Jul 22, 2010, at 2:03 PM, Jun-Hui Zhao wrote:
>>>>
>>>>> hi Ram,
>>>>>   Thanks.
>>>>>   I will give a try on rtdchilo2 early tomorrow.
>>>>>   I have to take a nap for tonight.
>>>>>   Jun-Hui
>>>>>
>>>>>
>>>>> On Thu, 22 Jul 2010, Ramprasad Rao wrote:
>>>>>
>>>>>> Hi Jun-Hui:
>>>>>>
>>>>>> As Glen pointed out, obsconhp is likely to not be usable for any
>>>>>> purpose other than logging in. The installation and the available
>>>>>> libraries are significantly different from other sma linux  
>>>>>> machies.
>>>>>>
>>>>>> -- Ram
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jul 22, 2010, at 1:56 PM, Jun-Hui Zhao wrote:
>>>>>>
>>>>>>> Hi Ram,
>>>>>>>  I repeated your problem that you described me last week after
>>>>>>> running
>>>>>>> your latest installation (beta 1.0.8). It is wierd. I'm looking
>>>>>>> into
>>>>>>> it
>>>>>>> and trying to install a version under my own home for  
>>>>>>> diagnosis of
>>>>>>> the
>>>>>>> code. The network seems very slow
>>>>>>> on accessing rtdchilo2 from HP, nearly halted. So I tried to
>>>>>>> install
>>>>>>> it via
>>>>>>> obsconhp but it seems to reject compiling any of the sma  
>>>>>>> specific
>>>>>>> programs. Have you seen this kind problems? Or is this problem  
>>>>>>> due
>>>>>>> to
>>>>>>> some library links disconnected as said early by Glen?
>>>>>>>  Jun-Hui
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, 22 Jul 2010, Ramprasad Rao wrote:
>>>>>>>
>>>>>>>> For example, I tried to do on the following dataset.
>>>>>>>>
>>>>>>>> smalod in=/sma/data/science/mir_data/100715_16:31:46 out=test
>>>>>>>> sideband=0 options=debug
>>>>>>>>
>>>>>>>> -- Ram
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Jul 22, 2010, at 12:02 PM, Jun-Hui Zhao wrote:
>>>>>>>>
>>>>>>>>> Hi Ram,
>>>>>>>>>  I'm able to login 128.171.166.99 (rtdchilo2) and
>>>>>>>>> access your installation of the beta release:
>>>>>>>>> MIRIAD version
>>>>>>>>> <<<<<<< VERSION: beta 1.0.8. 2010-07-01 for handling SMA
>>>>>>>>> 4GHz x 2sb data. This version also includes a patch for  
>>>>>>>>> handling
>>>>>>>>> dual rx
>>>>>>>>> data taken in 2010 spring. >>>>>>>
>>>>>>>>> [CVS] loaded from MIR=/sma/reduction/rrao/miriad64/
>>>>>>>>> smaMiriad01Jul2010/miriad_cvs
>>>>>>>>> Optimized for telescope=sma
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  I have a question for you: Which file you have the problem
>>>>>>>>> or all the files have the problem? Can you direct me a file  
>>>>>>>>> that
>>>>>>>>> you
>>>>>>>>> have encountered the problem with your installation? I try to
>>>>>>>>> repeat
>>>>>>>>> it and find out what's wrong with my code.
>>>>>>>>>
>>>>>>>>>  Thanks. Jun-Hui
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, 22 Jul 2010, Ramprasad Rao wrote:
>>>>>>>>>
>>>>>>>>>> Hi Jun-Hui:
>>>>>>>>>>
>>>>>>>>>> Thanks for your prompt work on this problem.
>>>>>>>>>>
>>>>>>>>>> I have been compiling the sma miriad beta versions in my own
>>>>>>>>>> reduction
>>>>>>>>>> directories.
>>>>>>>>>>
>>>>>>>>>> source /sma/reduction/rrao/miriad64/smaMiriad01Jul2010/
>>>>>>>>>> miriad_cvs/
>>>>>>>>>> MIRRC.linux
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Please use the machine rtdchilo2 if possible. The IP  
>>>>>>>>>> address is
>>>>>>>>>> 128.171.166.99. I believe that this machine contains the  
>>>>>>>>>> newest
>>>>>>>>>> version of Redhat linux.
>>>>>>>>>>
>>>>>>>>>> -- Ram
>>>>>>>>>>
>>>>>>>>>> On Jul 22, 2010, at 11:34 AM, Jun-Hui Zhao wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hi Ram,
>>>>>>>>>>> My account on the site computer system appear to work fine
>>>>>>>>>>> but
>>>>>>>>>>> the
>>>>>>>>>>> access to the public Miriad seems to break down:
>>>>>>>>>>>
>>>>>>>>>>> source /sma/local/miriad/MIRRC.linux: No such file or
>>>>>>>>>>> directory
>>>>>>>>>>>
>>>>>>>>>>> I recalled that this path was used for Miriad for the
>>>>>>>>>>> standard
>>>>>>>>>>> SMA
>>>>>>>>>>> data (2GHz) reduction that we set up quite a while ago,
>>>>>>>>>>> probably
>>>>>>>>>>> has
>>>>>>>>>>> moved to somewhere.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Presumbly, you have installed beta release for 4GHz data
>>>>>>>>>>> handling
>>>>>>>>>>> somewehre on the Hawaii system. Would please send me the
>>>>>>>>>>> path to
>>>>>>>>>>> access
>>>>>>>>>>> the beta SMA Miriad so that I can be able to access it to  
>>>>>>>>>>> find
>>>>>>>>>>> out
>>>>>>>>>>> the
>>>>>>>>>>> problem that you have encountered.
>>>>>>>>>>>
>>>>>>>>>>> I'm working on the terminal (obsconhp) in the SMA HP office.
>>>>>>>>>>>
>>>>>>>>>>> Thanks.   Jun-Hui
>>>>>>>>>>>
>>>>>>>>>>>