-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUGS
36 lines (25 loc) · 1.28 KB
/
BUGS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
this works:
wip test.wip -e wipcmd arg1
but this doesn't seem to be able to enter a command argument with whitespace
wip test.wip -e wipcmd "arg1a arg1b"
pretty serious bug when images have masks. It works on either solaris
(the old code) or linux (the new current code).... We should have really used the
miriad library!! (xyio.c and maskio.c)
Some items for the future:
--------------------------
1) wip uses homebrewn routines to read miriad and fits files. these have proven
to be fragile and the cause of numerous problems. they should ideally by default
be using the miriad and cfitsio library (though a fallback would be nice to have).
2) pyWIP: python-to-wip interface. there are already some python pgplot interfaces.
3) allow via the commandline to set arbitrary key=val pairs, which then get
flagged and interpreted in the code when these variables are encounteres.
This way one can provide template wip (.twip?) files then can be reused,
e.g.
data $file
xcol $xcol
xcol $ycol
...
wip -d /xs file=aaa.dat xcol=1 ycol=3
4) code has IEEEByteSwap wipdefs.h, its detection is not very good and based on OS, not CPU
5) only the first HDU of a fits file is handled. It would be nice if, like
in ds9, there is a way to say "image map.fits[2]" to get at the 2nd HDU.