<div dir="ltr">Hi Jan,<div><br></div><div>Indeed, the reason why the setup produced by sched in the tv2d files is called default is so it is applied to every scan.  sched assumes you will want to correlate everything.</div><div><br></div><div>This is probably a biased sampling, but I find calling the default setup "default" fairly reasonable.  The situation where it doesn't produce your expected result is the one where:</div><div>1) you have a setup called default</div><div>2) you have one or more RULE sections that point at the default setup, and</div><div>3) collectively, the RULEs do not cover all the scans (and so some scans will get defaulted even though you might have thought you were being explicit in your selection)</div><div><br></div><div>The logic to determine if this was the case might be a little convoluted.  Perhaps a simple warning print statement in the case that a rule with non-zero selection criteria references the default setup would suffice.  Something along the lines of "Note: RULE xxx references the default setup explicitly, but remember that any scans not matching other RULEs will also be correlated with the default setup."</div><div><br></div><div>Cheers,</div><div>Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 May 2018 at 21:49, Jan Wagner <span dir="ltr"><<a href="mailto:jwagner105@googlemail.com" target="_blank">jwagner105@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Walter, Mike!<br>
<br>
Lol so you too Mike! Yeah the logic is confusing indeed. A blank<br>
name for SETUP, if it doesn't break the parser, would I think be<br>
more intuitive for a setup that should be applied to everything not<br>
covered by any RULE.<br>
<br>
Anyway, well, I can see how a special 'default' SETUP might be a<br>
useful feature. And looks like it is actually documented so I<br>
should've just RTFM earlier   (vex2difx wiki: "A setup with the<br>
special name default will be applied to any scans not otherwise<br>
assigned to setups by rule sections")<br>
<br>
Btw, I didn't choose the unfortunate name of 'default' myself.<br>
<br>
It comes from the Template v2d (*.tv2d) generated by sked(?) and<br>
distributed with VLBA log files etc on the archive server.<br>
<br>
Probably there is some good reason for the 'default' in the *.tv2d<br>
as well.<br>
<br>
cheers,<br>
Jan<br>
<br>
Am 16.05.2018 um 12:54 schrieb Mike Titus:<br>
<br>
> Jan,<br>
><br>
> Just to say that misery loves company - I ran into the same<br>
> problem a couple weeks ago, and it took me a while to figure out<br>
> how to get around it.  I eventually solved it exactly the same way<br>
> you did i.e. re-naming the "SETUP" section to something other than<br>
> "default" and pointing to it in the RULE section.  In the end I<br>
> decided not to report it because I figured it was just me<br>
> mis-interpreting the rules of the RULE section, and it seems<br>
> that's the case given Walter's response.<br>
><br>
> Given that we both ran into it however, I think the logic is<br>
> confusing and probably should be changed.<br>
><br>
> Mike<br>
<div class="HOEnZb"><div class="h5">><br>
><br>
<br>
______________________________<wbr>_________________<br>
Difx-users mailing list<br>
<a href="mailto:Difx-users@listmgr.nrao.edu">Difx-users@listmgr.nrao.edu</a><br>
<a href="https://listmgr.nrao.edu/mailman/listinfo/difx-users" rel="noreferrer" target="_blank">https://listmgr.nrao.edu/<wbr>mailman/listinfo/difx-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8000001907349px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px">!=============================================================!<br>Dr. Adam Deller         </div><div dir="ltr" style="font-size:12.8px">ARC Future Fellow, Senior Lecturer</div><div style="font-size:12.8px">Centre for Astrophysics & Supercomputing </div><div dir="ltr" style="font-size:12.8px">Swinburne University of Technology    <br>John St, Hawthorn VIC 3122 Australia</div><div style="font-size:12.8px">phone: +61 3 9214 5307</div><div style="font-size:12.8px">fax: +61 3 9214 8797</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">office days (usually): Mon-Thu<br>!=============================================================!</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>