IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 19 years ago

Closed 19 years ago

#903 closed enhancement (fixed)

psphot fails to run on stacked image

Reported by: jester@… Owned by: Paul Price
Priority: high Milestone:
Component: psphot Version: 2.2
Severity: minor Keywords:
Cc:

Description

(ipp001:stripe82/coadd/run_ipp) jester% psphot -file ppStack-run1.fits psphot_stack_run1

Camera _SDSS-SKYCELL, format SKYCELL matches header.
Camera SIMPLE, format SIMPLE also matches header --- ignored.
Unable to parse concept FPA.FILTERID, but concept not marked as required.

file PSPHOT.INPUT not defined

-> pmFPAfileDefineOutputForFormat (pmFPAfileDefine.c:177): unexpected NULL found

Unable to find automatically generated camera configuration SDSS-SKYCELL-CHIP in site configuration.

Error setting up the camera

-> pmFPAfileDefineOutputForFormat (pmFPAfileDefine.c:177): unexpected NULL found

Unable to find automatically generated camera configuration SDSS-SKYCELL-CHIP in site configuration.

-> psphotParseCamera (psphotParseCamera.c:34): Problem in configure files

Unable to generate new file from PSPHOT.INPUT

Change History (1)

comment:1 by Paul Price, 19 years ago

Resolution: fixed
Status: newclosed

The psphot command-line executable (not the library version, I believe) does a chip mosaic on the input data before any photometry is performed --- it assumes that you're working with data straight from the camera (for which you want to deal with all cells on the chip together), rather than a skycell.

Fixed by telling the system (in psModules/src/camera/pmFPAfileDefine.c) that it doesn't have to make a chip-mosaicked camera out of the skycell camera. Also cleaned up the concepts that are set by default for skycell cameras. These changes allow the psphot command-line executable to run on the stacked (or warped or diffed) image.

Note: See TracTickets for help on using tickets.