IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#696 closed defect (fixed)

When reading U16 data, the keywords BZERO/BSCALE are put into the metadata

Reported by: rhl@… Owned by: Paul Price
Priority: high Milestone:
Component: fits Version: 0.9.0
Severity: normal Keywords:
Cc:

Description

When reading U16 data with psFitsReadImage, the BSCALE/BZERO values are correctly applied
to the data, but they are then _also_ put into the metadata. If the image is then displayed
using a fits viewer, the scale factors are applied again.

The standard keys (e.g. SIMPLE, NAXIS) are also preserved; all should be removed.

Change History (6)

comment:1 by gusciora@…, 20 years ago

Owner: changed from gusciora@… to David.Robbins@…

David, let me know if it doesn't make sense to assign this one to you.

comment:2 by David.Robbins@…, 20 years ago

Has this been fixed?

comment:3 by Paul Price, 20 years ago

Owner: changed from David.Robbins@… to Paul Price

psFitsWriteHeader now blocks several keywords from being written: "SIMPLE",
"XTENSION", "BITPIX", "NAXIS", "EXTNAME", "BSCALE", "BZERO", "TFIELDS".
It also blocks keywords that start with "NAXIS", "TTYPE", "TFORM" (with the aim
of blocking NAXIS1, NAXIS2, etc, but will also block NAXISABC).

comment:4 by Paul Price, 20 years ago

Resolution: fixed
Status: newclosed

Fixed in CVS head.

comment:5 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:6 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.