I've been trying to set some bad values in the attached 2d NDF
First I tried this:
$chpix bbm bbm2 section="3:4," newval=bad
Instead of turning off columns 3 and 4 it only seemed to turn off the
first row.
Tried interactive:
$chpix bbm
OUT - Output NDF > bbm2
SECTION - Section to be set to a constant /'3:4'/ > 3:4,
NEWVAL - New value for the section /'bad'/ >
SECTION - Section to be set to a constant /'3:4,'/ >
NEWVAL - New value for the section /'bad'/ >
SECTION - Section to be set to a constant /'3:4,'/ >
As you can see I end up in an infinite loop.
I tried nuking ~/adam/* to no avail.
The infinite loop at least looks like a bug.
Here is the output of ndftrace on bbm:
NDF structure /data0/echapin/rosette/dks/bbm:
Shape:
No. of dimensions: 2
Dimension size(s): 32 x 40
Pixel bounds : 0:31, 0:39
Total pixels : 1280
Data Component:
Type : _DOUBLE
Storage form: SIMPLE
Bad pixels may be present
World Co-ordinate Systems:
Number of co-ordinate Frames: 6
Current co-ordinate Frame (Frame 1):
Frame title : "Data grid indices; first pixel at (1,..."
Domain : GRID
First pixel centre : 1.0, 1.0
Axis 1:
Label : Data grid index 1
Units : pixel
Nominal Pixel scale: 1.0 pixel
Axis 2:
Label : Data grid index 2
Units : pixel
Nominal Pixel scale: 1.0 pixel
Extensions:
PROVENANCE <PROVENANCE>
FITS <_CHAR*80>
History Component:
Created : 2010 Jul 06 17:51:27
No. records: 3
Last update: 2010 Jul 06 18:05:14 (WCSFRAME (KAPPA 1.12-1))
Update mode: NORMAL
cheers,
Ed
|