error message from mknobsfile
Heather Berrier wrote on Jun 18, 2008
Hi,
I'm trying to run mknobsfile on several apphot databases, and I'm getting this error:
Warning: File: tmp$7347g Image: ERROR: is not in the image sets file
I've used mknobsfile several times before without problem (using the same parameters), but I had to do a mkiraf a few days ago, and now I'm getting this. Any ideas as to what's going on? Thanks!
Heather
I'm trying to run mknobsfile on several apphot databases, and I'm getting this error:
Warning: File: tmp$7347g Image: ERROR: is not in the image sets file
I've used mknobsfile several times before without problem (using the same parameters), but I had to do a mkiraf a few days ago, and now I'm getting this. Any ideas as to what's going on? Thanks!
Heather
Francisco Valdes wrote on Jun 18, 2008
Hello Heather,
Have your resolved this problem? I've been traveling a lot recently so I'm sorry you did not get a reply sooner.
Yours,
Frank Valdes
Have your resolved this problem? I've been traveling a lot recently so I'm sorry you did not get a reply sooner.
Yours,
Frank Valdes
djbard wrote on Jun 18, 2008
Hello,
I came across this problem today and after much fiddling I found the cause and a workaround, so I thought I'd post it here for the record. For some reason, if I make a list containing the files I want to input as photfile, I get this error, no matter how I format the list. If I enter the files by hand, then it works.
e.g. this does not work:
photcal> mknobsfile
The input list of APPHOT/DAOPHOT databases (WDmaglist):
The list of filter ids (r,z,Y4):
The input image set file (WDimagelist):
The output observations file (WDobsout):
but this does:
photcal> mknobsfile
The input list of APPHOT/DAOPHOT databases (r.WD.OBJECT.4378.fits5.mag.1, z.WD.OBJECT.4393.fits5.mag.1, y4.WD.OBJECT.4394.fits5.mag.1):
The list of filter ids (r,z,Y4):
The input image set file (WDimagelist):
The output observations file (WDobsout):
cheers,
Debbie
I came across this problem today and after much fiddling I found the cause and a workaround, so I thought I'd post it here for the record. For some reason, if I make a list containing the files I want to input as photfile, I get this error, no matter how I format the list. If I enter the files by hand, then it works.
e.g. this does not work:
photcal> mknobsfile
The input list of APPHOT/DAOPHOT databases (WDmaglist):
The list of filter ids (r,z,Y4):
The input image set file (WDimagelist):
The output observations file (WDobsout):
but this does:
photcal> mknobsfile
The input list of APPHOT/DAOPHOT databases (r.WD.OBJECT.4378.fits5.mag.1, z.WD.OBJECT.4393.fits5.mag.1, y4.WD.OBJECT.4394.fits5.mag.1):
The list of filter ids (r,z,Y4):
The input image set file (WDimagelist):
The output observations file (WDobsout):
cheers,
Debbie
Mike Fitzpatrick wrote on Jun 18, 2008
One thing to check: If you use emacs or some Mac editors like BBEdit it is possible to sometimes create a file with no proper EOF or a '\n' on the last line of the file. This might be interfering with how the file is (or rather, isn't) being read. Does using 'vi' to edit the file make a difference?
-Mike
-Mike
Last post on Jun 18, 2008