[Difx-users] RULE and SETUP section name issue

Walter Brisken wbrisken at lbo.us
Wed May 16 06:27:45 EDT 2018


Hi Jan,

This is expected behavior: you picked a bad name (in fact, the only 
special name) for the setup!  A setup called "default" is executed if no 
RULE matches.  So if the RULE matches, it makes explicit use of "default". 
Otherwise it defaults to "default".

Hope this helps,

W

On Wed, 16 May 2018, Jan Wagner wrote:

> Hi, ran into a bizarre issue 'vex2difx' in DiFX trunk and 2.5.1.
> Perhaps someone can reproduce this?
>
> When the SETUP and RULE sections have identical names then the rule
> gets ignored. For example:
>
> singleScan = True
> SETUP default {
>    tInt =  1.0
>    specRes = 0.015625
> }
> RULE default {
>   setup = default
>   scan = No0364
> }
>
> The above rule ought to select only scan No0364. Yet 'vex2difx'
> produces .input files for all scans. When on the other hand the
> SETUP section is given a unique name, e.g.,
>
> singleScan = True
> SETUP defaultSetup {
>    tInt =  1.0
>    specRes = 0.015625
> }
> RULE default {
>   setup = defaultSetup
>   scan = No0364
> }
>
> With the above, 'vex2difx' now produces the desired single .input
> file that processes the desired scan No0364.
>
> Could there be a section name lookup issue in vex2difx...?
>
>
> _______________________________________________
> Difx-users mailing list
> Difx-users at listmgr.nrao.edu
> https://listmgr.nrao.edu/mailman/listinfo/difx-users
>

-- 
-------------------------
Walter Brisken
Director
Long Baseline Observatory
(575)-835-7133 (office)
(505)-234-5912 (cell)


More information about the Difx-users mailing list