Welcome to iraf.net Friday, May 10 2024 @ 03:12 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 apextract with more than 1000 apertures
   
kanaan
 12/01/2011 06:23PM (Read 1596 times)  
++---
Junior

Status: offline


Registered: 11/01/2007
Posts: 18
hi All,I am using apextract for IFU spectra. We have 1300 fibers. I get the keywords:APNUM###there is only three digits. In my case it goes all the way to APNUM999actually if I look at apertures around 100 I see:APNUM100= '1009 1009 3098.03 3100.03'
APNUM101= '1019 1019 3130.32 3132.32'
APNUM102= '1029 1029 3162.37 3164.37'
APNUM103= '1039 1039 3194.18 3196.18'
APNUM104= '1049 1049 3223.37 3225.37'
...it obviously is writing the apertures above 1000, but there is no room in the FITS keyword, so it gets written, missing the fourth digit. For instance, apertures 1000 - 1009 get all written as APNUM100, surviving only the last one,1009Any suggestion for a quick solution to this?cheers,Antonio

 
Profile Email
 Quote
kanaan
 12/01/2011 06:23PM  
++---
Junior

Status: offline


Registered: 11/01/2007
Posts: 18
hi folks,no luck yet. I changed APNUM to AP in smwm.x in apextract. Now the files get written with AP1 through AP1234 in the header.However, when I run identify it won't find the APNUM keyword and balks with:Warning: Image header parameter not found (APNUM1)makes sense, so I looked aroung for APNUM in onedspec and twodspec and found several ocurrences of this word in the noao/onedspec/smw directory. I replaced all ocurrences of APNUM for AP. Didn't help, I still get the same error message from identify. So, my new question is: where does identify get this from ? :-)thanks for your attention,Antonio

 
Profile Email
 Quote
valdes
 12/01/2011 06:23PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
I'm sorry I did not respond sooner. It sounds like you are on the right track. I would have done the same thing with grepping and replacing. I can't say why it is not working. It is common to get confused about how to rebuild things so maybe you are not actually getting the changes you made. If you want to tell me which files you modified (or send them to me valdes@noao.edu) I can try and reproduce it.Frank Valdes

 
Profile Email
 Quote
   
Content generated in: 0.09 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