IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 17 years ago

Closed 17 years ago

#1263 closed defect (fixed)

Mosaic2 detrend creation

Reported by: scamicha@… Owned by: Paul Price
Priority: normal Milestone:
Component: camera Version:
Severity: normal Keywords:
Cc:

Description

When trying to create a master bias from a set of bias I get the following error:

addCell (pmFPAMosaic.c:664) : CELL.XBIN for cell is not set.
addCell (pmFPAMosaic.c:664) : CELL.XBIN for cell is not set.
pmChipMosaic (pmFPAMosaic.c:1064) : Unable to mosaic cells.
ppImageLoop (ppImageLoop.c:160) : Unable to mosaic chip

Unable to loop over input

-> addCell (pmFPAMosaic.c:664): unknown psLib error

CELL.XBIN for cell is not set.

The command that generates this error is:

/home/scamicha/PIPP2/default.linrh64/bin/ppImage -file path://DATA/zero029.fits path://WORK//MOSAIC2.BIAS.1/zero029.34/zero029.34.detproc.1 -recipe PPIMAGE PPIMAGE_O -recipe JPEG BIAS -recipe PPSTATS DETSTATS -stats path://WORK//MOSAIC2.BIAS.1/zero029.34/zero029.34.detproc.1.stats -threads 4 -trace psModules.detrend 10

The file zero029.fits is available at:

http://hydro.astro.indiana.edu/pub/zero029.fits

Change History (2)

comment:1 by Paul Price, 17 years ago

Owner: changed from eugene to Paul Price
Status: newassigned

comment:2 by Paul Price, 17 years ago

Component: PSLibcamera
Resolution: fixed
Status: assignedclosed

The problem was that the header for that cell already existed, which was caused by a preceding write performed at the PHU (FPA) level, which cascades down. pmHDUReadHeader() assumed that the existing header was fine and didn't read the header from the FITS file. I changed it so that it always reads the FITS file and clobbers any existing header entries.

Fixed psModules/src/camera/pmHDU.c on trunk@r24312.

Note: See TracTickets for help on using tickets.