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

Walter Alef alef at mpifr-bonn.mpg.de
Tue Apr 18 03:49:06 EDT 2017


Hi,

In DiFX 2.5 it is possible to give file with 2letter-1letter relations as an 
argument to difx2mark4. So no need to bother with anything. Just get 2.5 out 
of the door.  

For an example see attached file.

Am Dienstag, 18. April 2017, 10:34:37 schrieb Cormac Reynolds:
> 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/stationcode
> s
> 
> 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

-- 

        Regards,
                        Walter

Dr. Walter Alef 
Head, VLBI Technology
Max Planck Institute for Radio Astronomy
Bonn, Germany
walef at mpifr-bonn.mpg.de=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
For private email use: walef at netcologne.de ---------------------------------
-------------- next part --------------
n Nl
f Fd
o Ov
p Pt
k Kp
l La
m Mk
E Eb
b Br
Y Ys
X On
Z Mh
P Pv
B Pb
u Ku
y Ky
t Kt


More information about the Difx-users mailing list