Skip to content

90prime images with mucked up FWHM values -- lots of noise  #349

Description

@moustakas

Creating this issue as I track down the 90prime images in DR8 without -photom.fits files. Lots of complaining that we should be catching much earlier.

ioannis@cori08:~/dr8c% python ~/repos/git/legacypipe/py/legacyzpts/legacy_zeropoints.py --image 90prime/BOK_CP/CP20180419/ksb_180420_110216_ooi_r_v1.fits.fz --outdir . --camera 90prime --calibdir calib --threads 1
Reading /global/homes/i/ioannis/repos/git/legacypipe/py/legacyzpts/data/90prime-bad_expid.txt
Working on image 1/1: 90prime/BOK_CP/CP20180419/ksb_180420_110216_ooi_r_v1.fits.fz
CP Header: EXPNUM =  82280092
CP Header: PROCDATE =  2018-04-21T06:40:34
CP Header: PLVER =  V2.1
CP Header: PLPROCID =  915ddf1
File not found ./90prime/CP20180419/ksb_180420_110216_ooi_r_v1-survey.fits
File not found ./90prime/CP20180419/ksb_180420_110216_ooi_r_v1-annotated.fits
File not found calib/90prime/psfex-merged/82280/90prime-82280092.fits
File not found calib/90prime/splinesky-merged/82280/90prime-82280092.fits
File not found ./90prime/CP20180419/ksb_180420_110216_ooi_r_v1-photom.fits
TIMING:before-run  Wall: 0.17 s, CPU: 0.03 s
CP Header: EXPNUM =  82280092
CP Header: PROCDATE =  2018-04-21T06:40:34
CP Header: PLVER =  V2.1
CP Header: PLPROCID =  915ddf1
File not found calib/90prime/splinesky-merged/82280/90prime-82280092.fits
File not found calib/90prime/psfex-merged/82280/90prime-82280092.fits
Fpack quantization method: SUBTRACTIVE_DITHER_2
Traceback (most recent call last):
  File "/global/homes/i/ioannis/repos/git/legacypipe/py/legacyzpts/legacy_zeropoints.py", line 430, in read_weight
    fixed = fix_weight_quantization(wt, fn, self.ext, self.slc)
  File "/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/image.py", line 1533, in fix_weight_quantization
    raise ValueError('fix_weight_quantization: ZZERO is not all zero: [%.g, %.g]!' % (np.min(zzero), np.max(zzero)))
ValueError: fix_weight_quantization: ZZERO is not all zero: [4e+03, 5e+03]!

> WARNING: No source with appropriate FWHM found!!


> WARNING: No appropriate source found!!


> WARNING: 1st context group removed (not enough samples)


> WARNING: No source with appropriate FWHM found!!


> WARNING: No appropriate source found!!

Fpack quantization method: SUBTRACTIVE_DITHER_2
Traceback (most recent call last):
  File "/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/image.py", line 786, in read_invvar
    fixed = fix_weight_quantization(invvar, self.wtfn, self.hdu, slice)
  File "/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/image.py", line 1533, in fix_weight_quantization
    raise ValueError('fix_weight_quantization: ZZERO is not all zero: [%.g, %.g]!' % (np.min(zzero), np.max(zzero)))
ValueError: fix_weight_quantization: ZZERO is not all zero: [4e+03, 5e+03]!
/global/common/software/desi/cori/desiconda/20190311-1.2.7-img/aux/lib/python3.6/site-packages/astrometry/util/miscutils.py:54: FutureWarning: `rcond` parameter will change to the default of machine precision times ``max(M, N)`` where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
  res = np.linalg.lstsq(A, b)
Fpack quantization method: SUBTRACTIVE_DITHER_2
Traceback (most recent call last):
  File "/global/homes/i/ioannis/repos/git/legacypipe/py/legacyzpts/legacy_zeropoints.py", line 430, in read_weight
    fixed = fix_weight_quantization(wt, fn, self.ext, self.slc)
  File "/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/image.py", line 1533, in fix_weight_quantization
    raise ValueError('fix_weight_quantization: ZZERO is not all zero: [%.g, %.g]!' % (np.min(zzero), np.max(zzero)))
ValueError: fix_weight_quantization: ZZERO is not all zero: [3e+03, 5e+03]!

> WARNING: No source with appropriate FWHM found!!


> WARNING: No appropriate source found!!
[snip]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions