URL:
<https://savannah.gnu.org/bugs/?56667>
Summary: Bad sorting with asttable if nan is present (GNU
version 0.9.57-0e349)
Project: make
Submitted by: rbaena
Submitted on: jue 25 jul 2019 10:48:27 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: None
Operating System: Any
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
When using asttable with the following txt file...
$ asttable sect3-cam2-ccd1-pixel-coord-with-GNU_c.txt --sort=MAGNITUDE
the output seems correct (5th column is MAGNITUDE)
565 1 251.04 255.531 -2.998
565 2 250.664 246.994 -1.293
568 1 53.368 278.122 -0.825
570 1 187.437 385.514 -0.667
569 1 423.262 190.972 -0.59
571 1 355.011 92.329 -0.437
572 1 493.845 206.195 0.024
575 1 332.334 4.522 0.142
574 1 304.064 125.519 0.181
575 2 332.433 14.036 0.201
573 1 330.8 53.411 0.23
576 1 390.143 479.363 0.58
579 1 73.412 303.046 0.82
577 1 203.813 444.179 0.859
571 2 327.932 79.264 0.882
578 1 54.708 201.683 0.896
580 1 107.814 280.312 1.014
[...]
BUT the last lines are not coherent. Could be related with the presence of
NANs in such column
[...]
658 11 472.629 127.676 9.602
1568 1 482.5 151.342 9.602
1421 2 187.961 445.13 9.608
1565 1 170.654 377.099 9.698
1567 1 389.854 424.525 9.718
568 11 49.426 289.522 9.739
1566 1 342.373 246.705 9.839
565 66 205.996 235.795 9.869
1476 1 273.643 235.646 9.882
716 23 206.315 224.796 9.883
1319 1 242.232 213.502 9.912
807 5 352.817 489.323 9.963
157 1 7.077 6.354 10.063
565 3 251.498 266.997 nan
565 4 250.917 262.561 nan
565 5 250.988 240.5 -0.112
565 6 251.304 234.652 nan
565 7 251.366 228.498 nan
565 8 295.069 264.146 -0.099
565 9 263.113 249.405 0.529
565 11 284.436 254.615 1.983
565 10 242.036 310.224 1.995
565 12 256.537 209.006 2.49
565 13 259.636 232.61 3.329
565 15 269.414 227.117 4.277
565 14 236.637 269.096 4.422
565 19 175.874 243.933 4.499
565 16 265.255 280.357 4.527
565 17 236.699 314.997 4.886
565 20 294.113 242.507 4.89
565 21 279.984 224.877 4.927
565 18 216.915 244.458 4.977
566 1 251.496 272 nan
566 2 251.302 277.87 nan
567 1 51.984 97.723 -2.209
567 2 43.709 116.617 2.789
567 3 75.392 86.463 4.265
567 4 68.301 110.431 4.432
566 3 260.864 289.108 5.01
566 4 265.216 294.722 5.408
566 5 259.653 283.896 6.109
1582 1 152.58 499.034 10.24
623 13 102.203 37.755 10.475
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: jue 25 jul 2019 10:48:27 UTC Name:
sect3-cam2-ccd1-pixel-coord-with-GNU_c.txt Size: 86KiB By: rbaena
Catalogue file used
<http://savannah.gnu.org/bugs/download.php?file_id=47255>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56667>
_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make