<div dir="ltr">Ok, this works (opcode = 'reas', reas 'Ellipsoid posn error [no trailing quote], all other adverbs defaulted.<div><br></div><div>I suggest adding an example like this (including using PRTAB to determine the exact text of the flag reason, and the lower case match]  to the explain file for UVFLG, because this procedure is not completely clear from the write-up. </div>
<div><br></div><div>[I think most users would expect that opcode = 'uflg' would work, but as Eric said, it is very</div><div>particular and difficult to get to work]</div><div><br></div><div>Thanks to everyone for responding. </div>
<div><br></div><div>R<br><div><div><br><div class="gmail_quote">On Thu, Jul 17, 2008 at 3:05 PM, Lorant Sjouwerman <<a href="mailto:lsjouwer@nrao.edu">lsjouwer@nrao.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Thu, 17 Jul 2008, Robert Mutel wrote:<br>
<br>
#Perhaps one or more adverbs are not set to 'ignore this adverb', but I can't<br>
<div class="Ih2E3d">#determine which one(s).<br>
#I also tried REASON  '*', no luck. The PRTAB table says REASON = 'Ellipsoid<br>
#posn error', which I also tried<br>
#without success - anten 5 is still flagged [as determined by, e.g., LISTR<br>
#output]<br>
<br>
</div>I've successfully unflagged data this way - be aware that the reason<br>
is in lower case so if you have used the closing quote as seems from the<br>
above it may not work<br>
<br>
These were my inputs:<br>
<div class="Ih2E3d"><br>
AIPS 2: UVFLG:  Task to Flag selected UV data on disk.<br>
</div>AIPS 2: Adverbs     Values                 Comments<br>
AIPS 2: ----------------------------------------------------------------<br>
<div class="Ih2E3d">AIPS 2: INFILE     *all ' '                Text file name.<br>
AIPS 2: SOURCES    *all ' '                Sources selected/deselected<br>
AIPS 2: SUBARRAY      0                    Subarray number 0=>all.<br>
</div><div class="Ih2E3d">AIPS 2: SELBAND      -1                    Bandwidth to flag (kHz)<br>
AIPS 2: SELFREQ      -1                    Frequency to flag (MHz)<br>
AIPS 2: FREQID       -1                    Freq. ID to flag. -1=>all.<br>
</div><div class="Ih2E3d">AIPS 2: TIMERANG   *all 0                  Time: start day,hr,min,sec<br>
</div>AIPS 2: BCHAN         0                    First frequency channel<br>
AIPS 2: ECHAN         0                    Last channel 0=>all<br>
AIPS 2: BIF           0                    First IF 0=>1<br>
AIPS 2: EIF           0                    Last IF 0=>all<br>
AIPS 2: ANTENNAS      5        *rest 0     Antennas<br>
<div class="Ih2E3d">AIPS 2: BASELINE   *all 0                  Baselines with ANTENNAS<br>
AIPS 2: STOKES     ' '                     Stokes' parameters<br>
AIPS 2: OUTFGVER      2                    Flag table version number<br>
</div><div class="Ih2E3d">AIPS 2: APARM      *all 0                  1:elevation lower cutoff deg<br>
</div>AIPS 2: OPCODE     'REAS'                  'FLAG','UFLG', 'REAS', 'WILD'<br>
AIPS 2: REASON     'Ellipsoid posn error'  Reason (24 char.)<br>
<br>
<br>
<br>
<br>
Regards,<br>
<br>
Loránt Sjouwerman - Scientific Services - <a href="mailto:lsjouwerman@nrao.edu">lsjouwerman@nrao.edu</a><br>
--------------------------------------------------------------<br>
c/o NRAO Array Operations Center       Phone:  +1-575-835-7332<br>
    P.O. Box 0 (1003 Lopezville Rd)    Switch: +1-575-835-7000<br>
    Socorro NM 87801                   Fax:    +1-575-835-7027</blockquote></div><br></div></div></div></div>