Welcome to iraf.net Friday, May 03 2024 @ 09:45 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 IMCOPY changes OBJECT field
   
kelle
 12/03/2006 06:30PM (Read 5107 times)  
+----
Newbie

Status: offline


Registered: 12/03/2006
Posts: 3
When i use IMCOPY to extract the science extension, the OBJECT field in the header is changed to '2'.example:
> hselect test_mef OBJECT
star79> imcopy test_mef.fits[SCI,inherit] test
> hselect test OBJECT
2this happens whether or not i use the 'inherit' option.any advice on how to perserve my object names in the single extension spectra?thanks,
kelle

 
Profile Email
 Quote
fitz
 12/03/2006 06:30PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Hi Kelle,Please post a URL to a sample image, or else the values of OBJECT in the PHU and in the SCI extension. Also, what version of IRAF are you using, I can't reproduce this using a test image here.Cheers,
-Mike

 
Profile Email
 Quote
kelle
 12/03/2006 06:30PM  
+----
Newbie

Status: offline


Registered: 12/03/2006
Posts: 3
Hi Mike!iraf version is 2.12.2a (the current one, right?)the OBJECT keyword is only in the PHU not in the SCI extn.test_mef.fits and resultant test.fits are available at
ftp.amnh.org
/pub/people/kelle/downloadsthanks!
kelle

 
Profile Email
 Quote
fitz
 12/03/2006 06:30PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Kelle, I think it's the data:[code:1:215023bc16]fitsutil> hselect test_mef[0] OBJECT yes
U20179
fitsutil> hselect test_mef[SCI] OBJECT yes
2
[/code:1:215023bc16]So there is already an OBJECT keyword in the SCI extension with a value '2', the IMCOPY is just preserving this. You can use HEDIT to delete the keyword from the extension, then the IMCOPY will work as expected. How this value got into the data might be a question for the Gemini helpdesk.BTW, I consider V2.13-beta2 to be the latest version. Despite the 'beta' label it is pretty stable, the 'final' release is waiting on new features. Hope this helps.Cheers,
-Mike

 
Profile Email
 Quote
kelle
 12/03/2006 06:30PM  
+----
Newbie

Status: offline


Registered: 12/03/2006
Posts: 3
well, yeah, that helps a lot!I swear I looked for that OBJECT=2 in every possible place -- i don't know how i missed it!thanks!
kelle

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