[Difx-users] difx2mark4 : 1 letter codes, how to assign

Cormac Reynolds cormac.reynolds at gmail.com
Mon Apr 17 22:34:37 EDT 2017


hi Stuart,

my HOPS knowledge is possibly a bit out of date, but you should be
able to (re-)define the one letter station codes in a file referenced
by $HOPS_STATION_CODE. The way we set it up is documented here:
 http://www.atnf.csiro.au/vlbi/dokuwiki/doku.php/difx/difx2mark4/stationcodes

cheers,
Cormac

On 18 April 2017 at 10:01, Stuart Weston <stuart.weston at aut.ac.nz> wrote:
> Thanks, I am not going to "play" with it yet. See if a HOPS person responds.
>
> But we have a $DIFXROOT/config folder, which I see $DIFX_MACHINES
> references:
>
> DIFX_MACHINES=/home/oper/DiFX-2.4/config
>
> Could have a "single_code.txt" in there. If it exists then take this in
> preference to the hard coded values, or have an option "-sc filename" ?
>
> Stuart Weston Bsc (Hons), MPhil (Hons), MInstP
>
> Mobile: 021 713062
>
> Skype: stuart.d.weston
> Email: stuart.weston at aut.ac.nz
>
> http://www.atnf.csiro.au/people/Stuart.Weston/index.html
>
> Software Engineer
> Institute for Radio Astronomy & Space Research (IRASR)
> School of Engineering, Computer and Mathematical Sciences
> Faculty of Design and Creative Technologies
> Auckland University of Technology, New Zealand.
>
> http://www.irasr.aut.ac.nz/
>
> ________________________________________
> From: Chris.Phillips at csiro.au [Chris.Phillips at csiro.au]
> Sent: 18 April 2017 13:55
> To: wbrisken at lbo.us
> Cc: Stuart Weston; difx-users at nrao.edu
> Subject: Re: [Difx-users] difx2mark4 : 1 letter codes, how to assign
>
>
> Hi Stuart
>
> I agree with Walter. If you do implement this, my suggestion would be to
> keep the current hard coded values, but if a magic environment variable
> exists, assume it points to a file with values which should override the
> default. (Or some other similar scheme). You don’t want to break existing
> setups.
>
> Cheers
> Chris
>
>
>> On 18 Apr 2017, at 10:32 AM, Walter Brisken <wbrisken at lbo.us> wrote:
>>
>>
>> In my opinion, this would be a great idea. Might be good to get input from
>> a HOPS person though as there may already be ways to circumnavigate the
>> defaults.
>>
>> -W
>>
>> On Mon, 17 Apr 2017, Stuart Weston wrote:
>>
>>> OK found it "single_code.c" !
>>>
>>> Shouldn't we pull this out into an ascii file read at run time. Rather
>>> than edit the source and recompile ?
>>>
>>> Stuart Weston Bsc (Hons), MPhil (Hons), MInstP
>>>
>>> Mobile: 021 713062
>>>
>>> Skype: stuart.d.weston
>>> Email: stuart.weston at aut.ac.nz
>>>
>>> http://www.atnf.csiro.au/people/Stuart.Weston/index.html
>>>
>>> Software Engineer
>>> Institute for Radio Astronomy & Space Research (IRASR)
>>> School of Engineering, Computer and Mathematical Sciences
>>> Faculty of Design and Creative Technologies
>>> Auckland University of Technology, New Zealand.
>>>
>>> http://www.irasr.aut.ac.nz/
>>> ________________________________
>>> From: Stuart Weston
>>> Sent: 18 April 2017 10:39
>>> To: difx-users at listmgr.nrao.edu
>>> Subject: difx2mark4 : 1 letter codes, how to assign
>>>
>>>>> you will have to modify the file called hops_station_codes.txt and
>>>>> recompile difx2mark4.
>>>
>>> I can't find this file inder DiFX-2.4.3
>>>
>>> I need to assign 1 letter codes for IVS correlation :
>>>
>>>> Ht q
>>>> Hb d
>>>> Is Q
>>>> Ke a
>>>> Ny N
>>>> On X
>>>> Sh C
>>>> Ww u
>>>> Wz V
>>>> Yg i
>>>
>>> I have been looking in the applicatations/difx2mark4 but can't see any
>>> obvious way and nothing under "usage:".
>>>
>>> thanks in advance
>>>
>>> Stuart Weston Bsc (Hons), MPhil (Hons), MInstP
>>>
>>> Mobile: 021 713062
>>>
>>> Skype: stuart.d.weston
>>> Email: stuart.weston at aut.ac.nz
>>>
>>> http://www.atnf.csiro.au/people/Stuart.Weston/index.html
>>>
>>> Software Engineer
>>> Institute for Radio Astronomy & Space Research (IRASR)
>>> School of Engineering, Computer and Mathematical Sciences
>>> Faculty of Design and Creative Technologies
>>> Auckland University of Technology, New Zealand.
>>>
>>> http://www.irasr.aut.ac.nz/
>>>
>>
>> --
>> -------------------------
>> Walter Brisken
>> Director
>> Long Baseline Observatory
>> (505)-234-5912
>>
>> _______________________________________________
>> Difx-users mailing list
>> Difx-users at listmgr.nrao.edu
>> https://listmgr.nrao.edu/mailman/listinfo/difx-users
>
>
> _______________________________________________
> Difx-users mailing list
> Difx-users at listmgr.nrao.edu
> https://listmgr.nrao.edu/mailman/listinfo/difx-users



-- 
----------------------------------------------------
Cormac Reynolds
email: cormac.reynolds at gmail.com
----------------------------------------------------



More information about the Difx-users mailing list