Opened 19 years ago
Closed 19 years ago
#921 closed enhancement (fixed)
ppImage fails to read my OVERSCAN.VALUE
| Reported by: | Owned by: | eugene | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | ppImage | Version: | 2.2 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Camera SDSS, format SDSS matches header.
Camera SIMPLE, format SIMPLE also matches header --- ignored.
Error copying OVERSCAN.CONSTANT
Error copying OVERSCAN.VALUE
Unable to parse camera.
-> psMetadataAddItem (psMetadata.c:694): unknown psLib error
No matching item found for item requiring existing entry (OVERSCAN.VALUE)
-> p_psMetadataUpdate (psMetadata.c:523): unknown psLib error
failed to update metadata
-> loadRecipeSymbols (pmConfigRecipes.c:490): I/O error
Failed to update recipe for PPIMAGE from camera recipe
-> pmConfigReadRecipes (pmConfigRecipes.c:104): I/O error
Failed to read recipes from symbolic references
-> pmConfigCameraFormatFromHeader (pmConfig.c:991): I/O error
Error reading recipes from camera config for SDSS
-> pmFPAfileDefineFromArgs (pmFPAfileDefine.c:326): I/O error
Failed to read CCD format from /data/ipp001.0/jester/stripe82/coadd/input/fpC-005637-i1-0102.fits
-> ppImageParseCamera (ppImageParseCamera.c:14): I/O error
Failed to build FPA from PPIMAGE.INPUT
Found 1 leaks at ppImage
Unable to perform ppImage: 3 at /home/panstarrs/ipp/psconfig/ipp-2.2.lin64/bin/chip_imfile.pl line 185
main::my_die('Unable to perform ppImage: 3', 32, 32, 'fpa', 3) called at /home/panstarrs/ipp/psconfig/ipp-2.2.lin64/bin/chip_imfile.pl line 125
my sdss/ppImage.config has this section:
# SDSS Softbias and photometry
PPIMAGE_OP METADATA
BASE.FITS BOOL FALSE # Save base detrended image?
BASE.MASK.FITS BOOL FALSE # Save base detrended image?
BASE.WEIGHT.FITS BOOL FALSE # Save base detrended image?
CHIP.FITS BOOL TRUE # Save chip-mosaic-ed image?
CHIP.MASK.FITS BOOL FALSE # Save base detrended image?
CHIP.WEIGHT.FITS BOOL FALSE # Save base detrended image?
OVERSCAN BOOL TRUE # Overscan subtraction
OVERSCAN.CONSTANT BOOL TRUE
OVERSCAN.VALUE F32 1000.0
BIAS BOOL FALSE # Bias subtraction
DARK BOOL FALSE # Dark subtraction
SHUTTER BOOL FALSE # Shutter correction
FLAT BOOL FALSE # Flat-field normalisation
MASK BOOL FALSE # Mask bad pixels
FRINGE BOOL FALSE # Fringe subtraction
BIN1.FITS BOOL FALSE # Save 1st binned chip image?
BIN2.FITS BOOL FALSE # Save 2nd binned chip image?
BIN1.JPEG BOOL TRUE # Save 1st binned jpeg?
BIN2.JPEG BOOL TRUE # Save 2nd binned jpeg?
PHOTOM BOOL TRUE # Source identification and photometry
ASTROM.CHIP BOOL FALSE # Astrometry per chip?
ASTROM.MOSAIC BOOL FALSE # Astrometry for mosaic?
END
and camera.config has this:
# Reduction classes
REDUCTION METADATA
# Detrend processing not needed for these
# photometry & astrometry for pre-detrended images
PROCESSED METADATA
CHIP STR PPIMAGE_OP
JPEG_BIN1 STR PPIMAGE_J1
JPEG_BIN2 STR PPIMAGE_J2
END
END
I think I followed your instructions exactly, haven't I?
Where does the source live for the version I'm using?

I needed to point to the correct ppImage recipe, which I did by removing my copy of the recipes directory from my ippconfig directroy and adding the installation's ippconfig directory to my PATH (with : separator).