Welcome to iraf.net Friday, March 29 2024 @ 01:15 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Gemini nisky task
   
fitz
 04/16/2015 03:59PM (Read 1032 times)  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[Moderator's Note: This message being reposted due to accidental trap in spam filter]

I am trying to reduce my Gemini NIRI data, using the IRAF package they provide. I followed the example reduction packaged with the scripts (niriexample). The problem appears to be in the nisky call, which I copy below:

PHP Formatted Code

----------------------------------------------------------------------------
NISKY -- Thu Apr 16 10:11:37 CDT 2015

Using input files:
blncN20150322S0093.fits
blncN20150322S0094.fits
blncN20150322S0095.fits
blncN20150322S0096.fits
blncN20150322S0097.fits
blncN20150322S0098.fits
blncN20150322S0099.fits
blncN20150322S0100.fits
blncN20150322S0101.fits
blncN20150322S0102.fits
blncN20150322S0103.fits
blncN20150322S0104.fits
blncN20150322S0105.fits
blncN20150322S0106.fits
blncN20150322S0107.fits
blncN20150322S0108.fits
blncN20150322S0109.fits
blncN20150322S0110.fits
blncN20150322S0111.fits
blncN20150322S0112.fits
blncN20150322S0113.fits
blncN20150322S0114.fits
blncN20150322S0115.fits
blncN20150322S0116.fits
blncN20150322S0117.fits
Output image: SKY-HIP_29735.fits
NISKY calling NIFASTSKY
Returning to NISKY
Making mask for image blncN20150322S0093
blncN20150322S0093msk.pl is not an image or a number
Making mask for image blncN20150322S0094
blncN20150322S0094msk.pl is not an image or a number
Making mask for image blncN20150322S0095
blncN20150322S0095msk.pl is not an image or a number
Making mask for image blncN20150322S0096
blncN20150322S0096msk.pl is not an image or a number
Making mask for image blncN20150322S0097
blncN20150322S0097msk.pl is not an image or a number
Making mask for image blncN20150322S0098
blncN20150322S0098msk.pl is not an image or a number
Making mask for image blncN20150322S0099
blncN20150322S0099msk.pl is not an image or a number
Making mask for image blncN20150322S0100
blncN20150322S0100msk.pl is not an image or a number
Making mask for image blncN20150322S0101
blncN20150322S0101msk.pl is not an image or a number
Making mask for image blncN20150322S0102
blncN20150322S0102msk.pl is not an image or a number
Making mask for image blncN20150322S0103
blncN20150322S0103msk.pl is not an image or a number
Making mask for image blncN20150322S0104
blncN20150322S0104msk.pl is not an image or a number
Making mask for image blncN20150322S0105
blncN20150322S0105msk.pl is not an image or a number
Making mask for image blncN20150322S0106
blncN20150322S0106msk.pl is not an image or a number
Making mask for image blncN20150322S0107
blncN20150322S0107msk.pl is not an image or a number
Making mask for image blncN20150322S0108
blncN20150322S0108msk.pl is not an image or a number
Making mask for image blncN20150322S0109
blncN20150322S0109msk.pl is not an image or a number
Making mask for image blncN20150322S0110
blncN20150322S0110msk.pl is not an image or a number
Making mask for image blncN20150322S0111
blncN20150322S0111msk.pl is not an image or a number
Making mask for image blncN20150322S0112
blncN20150322S0112msk.pl is not an image or a number
Making mask for image blncN20150322S0113
blncN20150322S0113msk.pl is not an image or a number
Making mask for image blncN20150322S0114
blncN20150322S0114msk.pl is not an image or a number
Making mask for image blncN20150322S0115
blncN20150322S0115msk.pl is not an image or a number
Making mask for image blncN20150322S0116
blncN20150322S0116msk.pl is not an image or a number
Making mask for image blncN20150322S0117
blncN20150322S0117msk.pl is not an image or a number
WARNING: Negative scale factors -- ignoring scaling
Combining 25 images, using average
Rejection type is avsigclip
with lsigma=3. and hsigma=3.
NISKY exit status:  good.

 


The lpar for nisky is:

PHP Formatted Code

     inimages = \"@OBJECT-HIP_29735.list\" Raw NIRI image list to combine
    (outimage = \"SKY-HIP_29735.fits\") Output sky image
    (outtitle = \"default\")      Title for output image
    (combtype = \"default\")      Type of combine operation
     (rejtype = \"avsigclip\")    Type of rejection
     (logfile = \"nisky_29735.log\") Name of log file
     (statsec = \"[100:924,100:924]\") Statistics section
        (nlow = 0)              minmax: Number of low pixels to reject
       (nhigh = 1)              minmax: Number of high pixels to reject
      (lsigma = 3.)             avsigclip: Lower sigma clipping factor
      (hsigma = 3.)             avsigclip: Upper sigma clipping factor
   (threshold = 3.)             Threshold in sigma for object detection
       (ngrow = 3)              Number of iterations to grow objects into the w
       (agrow = 3.)             Area limit for growing objects into the wings
      (minpix = 10)             Minimum number of pixels to be identified as an
 (key_exptime = \"EXPTIME\")      Keyword for exposure time
     (key_ron = \"RDNOISE\")      Keyword for readout noise in e-
    (key_gain = \"GAIN\")         Keyword for gain in electrons/ADU
  (masksuffix = \"msk\")          Mask name suffix
(fl_keepmasks = yes)            Keep object masks for each input image?
(fl_nifastsky = yes)            Reduce inputs before masking objects
     (sci_ext = \"SCI\")          Name or number of science extension
     (var_ext = \"VAR\")          Name or number of variance extension
      (dq_ext = \"DQ\")           Name or number of data quality extension
    (fl_vardq = yes)            Create variance and data quality frames in outp
   (fl_dqprop = no)             Retain input DQ information in output?
     (verbose = yes)            Verbose actions
      (status = 0)              Exit status (0=good)
    (scanfile = \"tmpfl2053e\")   Internal use only
        (mode = \"ql\")


As you can see, it is throwing the warning message about the pixel maps not being an image or number. It is not saving them even though I ask it to (fl_keepmasks = yes). The output sky image at the end is nonsense: it is all very small values near 10^-9, which feels like maybe rounding errors for 0. Taking a look at the DQ frame in the sky image, almost every pixel is \"1\", which I think means it is flagging everything as a bad pixel? How can I fix this?

Thanks!
Kevin

 
Profile Email
 Quote
fitz
 04/27/2015 07:54AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
This question is being resolved in the Gemini HelpDesk.

 
Profile Email
 Quote
   
Content generated in: 0.17 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login