Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gemini gmos gprepare error

 
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF
View previous topic :: View next topic  
Author Message
jellyman



Joined: 27 Nov 2010
Posts: 9

PostPosted: Thu Oct 11, 2012 11:41 am    Post subject: gemini gmos gprepare error Reply with quote

Hello,

I am trying to reduce some gemini gmos longslit data. When trying to gprepare the data, i get this error:

GPREPARE -- Thu Oct 11 12:33:10 BST 2012

Input list = @objects.lis
Output list =
Output prefix = obj
Raw path =
Add MDF = yes
Input MDF in case header keyword not found = 0.75arcsec.fits

Input N20100720S0243.fits Output objN20100720S0243.fits
GPREPARE: Using MDF defined in the header 0.75arcsec
GPREPARE: Taking MDF from directory gmos$data/
ERROR: Cannot open file (NULL)
"delete-, verify-, show-)"
line 102: gemtools$gemhedit.cl
called as: `gemhedit (image=objN20100720S0243.fits[1], field=EXTNAME, value=SCI, comment=)'
"gemhedit (outimg[n_i]//"["//n_j//"]", "EXTNAME", l_sci_ext, "")"
line 511: gmos$gprepare.cl
called as: `gprepare (mode=h)'


I have checked in the gmos$data directory, the MDF is there, but this error still appears. I also try to feed it to the gprepare task with the parameter
(mdffile = "0.75arcsec.fits") MDF file to use if keyword not found

yet the same error appears.
I am using
Beta Version 1.11beta2, August 19, 201
Requires IRAF 2.12.2a to 2.14.1
Tested with IRAF 2.14.1

My iraf version is 2.14.1

Any help will be very appreciated!
Many thanks,
J
Back to top
View user's profile Send private message
jellyman



Joined: 27 Nov 2010
Posts: 9

PostPosted: Fri Oct 12, 2012 11:19 am    Post subject: Reply with quote

Hi, I believe I have found a solution to the problem.
Some tasks are passing a "NULL" file around. This should be equivalent to "" in iraf, but for some reason iraf searches for an actual file called NULL, and since it can not find it, it crashes with an error. So I just replaced NULL with "" in the files gemhedit.cl and ggain.cl. These tasks are found in the gemtools package and gmos package within the parent gemini iraf external package.

After this little "hack" gprepare works alright.
Back to top
View user's profile Send private message
emma
Active IRAF User


Joined: 23 Jan 2006
Posts: 98
Location: Chile

PostPosted: Mon Oct 22, 2012 10:19 pm    Post subject: Reply with quote

Hi jellyman,

There is a newer version of the Gemini IRAF package available (v1.11.1, see http://www.gemini.edu/sciops/data-and-results/processing-software for more details). The problem you describe should not occur if you use the latest version of the Gemini IRAF package.

Also, since you are using IRAF v2.14.1, you should ensure that you are using the appropriate version of fitsutil (see http://www.gemini.edu/sciops/data-and-results/processing-software/requirements for more details).

Many thanks,

Emma Smile
Back to top
View user's profile Send private message
jellyman



Joined: 27 Nov 2010
Posts: 9

PostPosted: Fri Nov 16, 2012 3:07 pm    Post subject: Reply with quote

Thank you very much for your reply.
I will try this asap, and I will let you know how it goes!

Thank you again.
J.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.18 seconds