Lianne |
11/24/2008 09:27PM (Read 9072 times)
|
|
|
Status: offline
Registered: 11/24/2008
Posts: 8
|
Hello, I'm trying to combine a set of 15 darks. I have written them to a text file called dark.list. I get this error when I used the darkcombine command. ccdred> darkcombine @dark.list
)arning: Cannot open image (Dark001.imh
)arning: Cannot open image (Dark002.imh
)arning: Cannot open image (Dark003.imh
)arning: Cannot open image (Dark004.imh
)arning: Cannot open image (Dark005.imh
)arning: Cannot open image (Dark006.imh
)arning: Cannot open image (Dark007.imh
)arning: Cannot open image (Dark008.imh
)arning: Cannot open image (Dark009.imh
)arning: Cannot open image (Dark010.imh
)arning: Cannot open image (Dark011.imh
)arning: Cannot open image (Dark012.imh
)arning: Cannot open image (Dark013.imh
)arning: Cannot open image (Dark014.imh
)arning: Cannot open image (Dark001.imh
)arning: Cannot open image (Dark002.imh
)arning: Cannot open image (Dark003.imh
)arning: Cannot open image (Dark004.imh
)arning: Cannot open image (Dark005.imh
)arning: Cannot open image (Dark006.imh
)arning: Cannot open image (Dark007.imh
)arning: Cannot open image (Dark008.imh
)arning: Cannot open image (Dark009.imh
)arning: Cannot open image (Dark010.imh
)arning: Cannot open image (Dark011.imh
)arning: Cannot open image (Dark012.imh
)arning: Cannot open image (Dark013.imh
)arning: Cannot open image (Dark014.imh
ERROR: No images to combine
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: 'darkcombine ()'
There are 15 images to combine 001 to 015. So i can't understand why its readying 2 sets of 14 of them.
When I tried to do this using the individual files i received pretty much the same error.ccdred> darkcombine Dark0*.imh
Error: No images to combine
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: 'darkcombine (input = Dark0*.imh)'Any help would be very much appreciated!Thanks,
Lianne
|
|
|
|
fitz |
11/24/2008 09:27PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Darkcombine is a CL script calling CCDPROC and COMBINE, I suspect the double list is simply the output of these two tasks being run sequentially.As for the 'Cannot open image' messages: these usually just mean the image does not exist (e.g. isn't readable by you, is in a different directory, etc). Running darcombine directly on the 'Dark0*.imh' would indeed print a 'no images to combine' message if that template didn't match any valid image in the current directory. Are you sure about the filenames, permissions and such for these images? Can you say, IMSTAT the same 'Dark0*.imh" list or is that an error as well?-Mike
|
|
|
|
Lianne |
11/24/2008 09:27PM
|
|
|
Status: offline
Registered: 11/24/2008
Posts: 8
|
It was having a problem with imstat for images 001 through 014. The weird thing was that I could open then images in ds9, and I triple checked the names. I solved the problem by starting over and converting my files to from .FIT to .fits instead of imh, and using imcombine instead. I must have looked over something when doing it the other way. Thanks for your help though.
|
|
|
|
fitz |
11/24/2008 09:27PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Image extension names must all be lower-case, i.e. a foo.fit will work, a foo.FIT will not.By 'converting to imh' did you actually use IMCOPY or RFITS or some other program to write out a .imh format? Simply renaming a FITS file with a .imh extension would certainly explain the problem (the extension is used to determine the image type).-Mike
|
|
|
|
Lianne |
11/24/2008 09:27PM
|
|
|
Status: offline
Registered: 11/24/2008
Posts: 8
|
I used rfits to convert to imh. It transferred the .pix files to another folder, and created .imh files of my images. It also created another set of images. Eg.From image001.FIT these showed up in the folder:image001.imh
..image001.imhSo after encountering problems with this file type, i decided to simply convert to .fits.
|
|
|
|
trudyk |
11/24/2008 09:27PM
|
|
|
Status: offline
Registered: 01/18/2009
Posts: 1
|
I am getting a very similar error:
ccdred> darkcombine @dark.list
ERROR: No images to combine
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: `darkcombine (input=@dark.list)'please note the tick mark, etc.
this is iraf v 2.14, and the dark files are .fits that have been created via rfits.
I have edited login.cl so iraf can deal with .FIT, .fit, and .fits extentions
I am running as root in a folder under the /root directoryplease let me know if there is any other information I can provide, and if there's anything that can be done about this!
|
|
|
|
fitz |
11/24/2008 09:27PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The use of "FIT" is not recognized as a valid extension even if you add it to the 'imextn' list. You'll need to rename the files to have a lower-case extension, e.g.[code:1:ed54e97172]cl> rename *.FIT fits field=extn[/code:1:ed54e97172]will rename all files with .FIT extensions to have .fits extensions.-Mike
|
|
|
|
dpackard |
11/24/2008 09:27PM
|
|
|
Status: offline
Registered: 10/21/2009
Posts: 1
|
I'm running into this exact same error as well, using .fits files.cl> darkcombine 2009feb09*
ERROR: No images to combine
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: `darkcombine (input=2009feb09*)'I have a whole set of images 2009feb09_0006.fits to 2009feb09_0061.fits
flatcombine seems to work, but I'd like to figure out what's wrong with darkcombine. Only #s 51 - 61 are darks, and ccdlist says their type is "DARK" so I changed the parameter in darkcombine from "dark" to "DARK", but I'm sitll getting the same error. Any ideas?
|
|
|
|
irojas |
07/25/2014 05:01PM
|
|
|
Status: offline
Registered: 12/27/2009
Posts: 10
|
I have the same problem, before with iraf 2.14 this problem I did not happen, but now I installed iraf 2.16 gives me this error:
ERROR: No 'instrument' translation file specified.
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: `darkcombine (input=@Darks_15s_d0, output=Dark_15s_d0, combine=median, reject=minmax, ccdtype=none, process=no, delete=no, clobber=no, scale=exposure, statsec=, nlow=0, nhigh=1, nkeep=1, mclip=yes, lsigma=3., hsigma=3., rdnoise=0., gain=1., snoise=0., pclip=-0.5, blank=0.)'
|
|
|
|
irojas |
07/25/2014 05:01PM
|
|
|
Status: offline
Registered: 12/27/2009
Posts: 10
|
I have the same problem, before with iraf 2.14 this problem I did not happen, but now I installed iraf 2.16 gives me this error:
ERROR: No 'instrument' translation file specified.
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: `darkcombine (input=@Darks_15s_d0, output=Dark_15s_d0, combine=median, reject=minmax, ccdtype=none, process=no, delete=no, clobber=no, scale=exposure, statsec=, nlow=0, nhigh=1, nkeep=1, mclip=yes, lsigma=3., hsigma=3., rdnoise=0., gain=1., snoise=0., pclip=-0.5, blank=0.)'
|
|
|
|
valdes |
07/25/2014 05:14PM
|
|
|
Status: offline
Registered: 11/11/2005
Posts: 728
|
In the cases concerning the translation file message I gather that darkcombine is trying to run ccdproc first. This is a feature of darkcombine but it would help to understand the problem, and would make you realize to check and set the ccdproc parameters appropriately, to run ccdproc separately first. Please do that and see if the error occurs. In that case past the ccdproc parameters used.
Frank Valdes
|
|
|
|
mshemuni |
10/29/2016 06:27PM
|
|
|
Status: offline
Registered: 03/11/2014
Posts: 7
|
Quote by: irojasI have the same problem, before with iraf 2.14 this problem I did not happen, but now I installed iraf 2.16 gives me this error:
ERROR: No 'instrument' translation file specified.
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: `darkcombine (input=@Darks_15s_d0, output=Dark_15s_d0, combine=median, reject=minmax, ccdtype=none, process=no, delete=no, clobber=no, scale=exposure, statsec=, nlow=0, nhigh=1, nkeep=1, mclip=yes, lsigma=3., hsigma=3., rdnoise=0., gain=1., snoise=0., pclip=-0.5, blank=0.)'
You can find the solution here:
https://code.google.com/archive/p/myrafproject/issues/13
https://iraf.net/forum/viewtopic.php?showtopic=1467939
|
|
|
|
robsteele49 |
05/13/2017 05:03AM
|
|
|
Status: offline
Registered: 05/03/2010
Posts: 28
|
I'm running the linux64 version I just downloaded from http://iraf.noao.edu/
I tried the fix for setist, which got things to the point below:
ccdred\$this->_split2($m[0]) darkcombine
List of dark images to combine: dark1.fit,dark2.fit
ERROR: No images to combine
"pclip=pclip, grow=0)"
line 47: ccdred$darkcombine.cl
called as: 'darkcombine ()'
As it turns out this is the identical error I'm seeting in the fork of the github repository iraf/iraf-v216
The repository I'm working on is github.com/steele/iraf-v216 on the branch oleboleUpdates if anyone is interested in taking a look at the software.
Quote by: fitzDarkcombine is a CL script calling CCDPROC and COMBINE, I suspect the double list is simply the output of these two tasks being run sequentially.
As for the 'Cannot open image' messages: these usually just mean the image does not exist (e.g. isn't readable by you, is in a different directory, etc). Running darcombine directly on the 'Dark0*.imh' would indeed print a 'no images to combine' message if that template didn't match any valid image in the current directory. Are you sure about the filenames, permissions and such for these images? Can you say, IMSTAT the same 'Dark0*.imh" list or is that an error as well?
-Mike
Rob Steele (Robert.D.Steele@jpl.nasa.gov)
|
|
|
|
| |
|