<font face="Verdana, Arial, Helvetica" size="2">Michael Bietenholz updated #12398<br />
---------------------------------<br />
<br />
SNPLT refuses to plot some tables; TABED copies -ive rows even with BCOU=1<br />
--------------------------------------------------------------------------<br />
<br />
<div style="margin-left: 40px;">Ticket ID: 12398</div>
<div style="margin-left: 40px;">URL: <a href="https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/12398">https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/12398</a></div>
<div style="margin-left: 40px;">Name: Michael Bietenholz</div>
<div style="margin-left: 40px;">Email address: <a href="mailto:mbieten@yorku.ca">mbieten@yorku.ca</a></div>
<div style="margin-left: 40px;">Creator: User</div>
<div style="margin-left: 40px;">Department: AIPS Data Reduction</div>
<div style="margin-left: 40px;">Staff (Owner): -- Unassigned --</div>
<div style="margin-left: 40px;">Type: Issue</div>
<div style="margin-left: 40px;">Status: Open</div>
<div style="margin-left: 40px;">Priority: Default</div>
<div style="margin-left: 40px;">SLA: NRAO E2E</div>
<div style="margin-left: 40px;">Template group: Default</div>
<div style="margin-left: 40px;">Created: 24 July 2018 07:36 PM</div>
<div style="margin-left: 40px;">Updated: 24 July 2018 07:36 PM</div>
<div style="margin-left: 40px;">Reply due: 26 July 2018 07:36 PM (2d 0h 0m)</div>
<div style="margin-left: 40px;">Resolution due: 19 April 2021 12:00 AM (999d 4h 24m)</div>
<br />
<br />
<br />
[31DEC18 Midnight job yesterday]<br /><br />SNPLT refuses to plot anything for some SN tables - for reasons that escape me, although I think<br />it may have to do with -ive row numbers.  Also, TABED, OPTY 'COPY'; BCOU 1; ECOU 100<br />*does* copy -ive row numbers, even though I think it shouldn't<br /><br />I ran TABED w/ opco 'DELE' to flag some table rows in an SN table.  SNPLT plots the pr-TABED table just fine,<br />but when I try and plot the post-TABED table it plots nothing (I ran TABED *not* in place, ie. INVER != OUTVER)<br /><br />localh> SNPLT1: polaris 31DEC18 TST: Cpu= 0.0 Real= 2 IO= 1<br />localh> SNPLT1: Task SNPLT (release of 31DEC18) begins<br />localh> SNPLT1:<br />localh> SNPLT1: Appears to have ended successfully<br />localh> SNPLT1: polaris 31DEC18 TST: Cpu= 0.0 Real= 0<br /><br />Now there *are* rows left to plot, and according to TBOUT there are no differences in the table headers, the only difference<br />being that some of the row # have turned -ive in the table after   LISTR OPTY='GAIN' prints<br />out values.  I'm stumped as to why SNPLT doesn't plot anything.  I tried TASRT and TBIN->TBOUT, and SNPLT could plot neither,<br />so whatever "feature" of the SN table causes SNPLT to not plot anything is preserved through those.<br /><br />Whatever goes wrong FITTP/FITLD does seem to fix it - I made a little test TASAV to send you, and when I <br />tried the original version, SNPLT failed, but when I tried it after FITLD'ing it, it worked.  A difference here<br />is that FITTP/FITLD seems to loose the table rows with -ive row numbers that TABED produces.<br /><br />If you FITLD the attached snplt_test.fits file you should get SN1,SN2, both of which plot fine  SN1 is the original<br />SN2 is after TABED. If, however, you use TBIN to read in the sn11.txt file (also attached) to a new SN table <br />(this is the one I passed through TABED; which  retains the rows w/ -ive numbers), then it won't plot.<br /><br />I tried to filter out the -ive row # with<br />TABED; OPTY 'COPY'; BCOU 1; ECOU 1648<br />but that did not work, its happy to copy row number -2, and output table had same # of rows as input.<br /><br />
<br />
<HR style="margin-bottom: 6px; height: 1px; BORDER: none; color: #cfcfcf; background-color: #cfcfcf;" />
Staff CP:  <a href="https://help.nrao.edu/staff" target="_blank">https://help.nrao.edu/staff</a><br />
</font>