Welcome to iraf.net Friday, April 19 2024 @ 08:05 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 mknobsfile error in V2.16.1
   
cngeow
 05/09/2017 07:57AM (Read 1808 times)  
+----
Newbie

Status: offline


Registered: 02/10/2009
Posts: 6
Hi, I have trouble with mknobsfile in IRAF with the following version:

NOAO/IRAF PC-IRAF Revision 2.16.1 EXPORT Mon Oct 14 21:40:13 MST 2013

Below is the input for mknobsfile

PACKAGE = photcal
TASK = mknobsfile
photfile= stdobs.mag.1 The input list of APPHOT/DAOPHOT databases
idfilter= B,V,I The list of filter ids
imsets = stdimgset The input image set file
observat= stdout The output observations file
(wrap = yes) Format output file for easy reading ?
(obspara= ) The input observing parameters file
(obscolu= 2 3 4 5) The format of obsparams
(minmage= 0.001) The minimum error magnitude
(shifts = ) The input x and y coordinate shifts file
(apercor= ) The input aperture corrections file
(apertur= 1) The aperture number of the extracted magnitude
(toleran= 5.) The tolerance in pixels for position matching
(allfilt= no) Output only objects matched in all filters
(verify = no) Verify interactive user input ?
(verbose= yes) Print status, warning and error messages ?
(mode = ql)

And here is the error message I receive:

ERROR: Cannot open file (stdimgset)
"verify=verify, verbose=verbose)"
line 102: photcal$mknobsfile.cl
called as: `mknobsfile (mode=h)'

I verify that the input file, stdimgset, is a plain text file, with correct permission. In fact, I tried the same inputs files in earlier version of IRAF, say V2.16 and V2.15a, the mknobsfile just work fine.

Any clues why I got this error message in V2.16.1?

Thanks for the help.


 
Profile Email
 Quote
fitz
 05/09/2017 04:44PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You can rule out permission/file access problems with the file by trying open it with some other task, e.g.

cl\$this->_split2($m[0]) type stdimgset

If that works, or not, you can check for other obscure weirdities like the file doesn't have a proper EOF or a newline on the last line (can sometimes happen with emacs or some OSX editors), or if the path to the file contains a space (e.g. your name is in the directory path and includes a space). There are know 64-bit issues you can resolve by seeing https://iraf.net/forum/viewtopic.php?showtopic=1469590 but I doubt that is the problem here.

Otherwise, the task hasn't changed since 2001.


 
Profile Email
 Quote
cngeow
 05/10/2017 01:19AM  
+----
Newbie

Status: offline


Registered: 02/10/2009
Posts: 6
Thanks, here is the "type" command:

photcal\$this->_split2($m[0]) type stdimgset
GD71 : GD71_B.fits GD71_I.fits GD71_V.fits
PG0918 : PG0918_I.fits PG0918_V.fits PG0918_B.fits
PG1323 : PG1323_B.fits PG1323_V.fits PG1323_I.fits
photcal\$this->_split2($m[0])

The problem still there. I will try to check the text file again.

Thanks for the help.


 
Profile Email
 Quote
cngeow
 05/01/2018 04:07AM  
+----
Newbie

Status: offline


Registered: 02/10/2009
Posts: 6
I have the same problem here. Any solution yet?

Here is my command:

photcal\$this->_split2($m[0]) type stdimgset
95 : SA95_B.fits SA95_V.fits


I still get the same error when running mknobsfile for IRAF 2.16.1 (but OK for 2.16):

ERROR: 741 stdimgset
"verify=verify, verbose=verbose)"
line 102: photcal$mknobsfile.cl
called as: `mknobsfile (mode=h)'


Any help will be really appreciated.

 
Profile Email
 Quote
robsteele49
 05/02/2018 04:15PM  
++---
Junior

Status: offline


Registered: 05/03/2010
Posts: 28
Ole Streicher has a updated v 2.16.1 of IRAF in github, the link: https://github.com/olebole/iraf-v216

This is working quite well for me and perhaps the problem you are seeing has been fixed in this version of IRAF.

You can look over the release notes https://github.com/olebole/iraf-v216/releases

Rob Steele (Robert.D.Steele@jpl.nasa.gov)
 
Profile Email
 Quote
cngeow
 05/08/2018 03:07AM  
+----
Newbie

Status: offline


Registered: 02/10/2009
Posts: 6
Thanks, I will take a look. At the mean time it seems work if I copy my files to /tmp and run the mknobsfile there.

 
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