Welcome to iraf.net Friday, March 29 2024 @ 01:20 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 .fit vs .fits
   
Mike Potter
 12/29/2012 03:40AM (Read 4254 times)  
++---
Junior

Status: offline


Registered: 04/23/2006
Posts: 15
Is there a setting to have IRAF output FITS files with a ".fit" extension rather than ".fits"? Thanks!Mike

 
Profile Email Website
 Quote
fitz
 12/29/2012 03:40AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Sure. The extensions are controlled by the 'imextn' iraf environment variable which is set globally in the hlib$zzsetenv.def file, or can be uncommented and reset in your login.cl, or set on the command line. The default value is[code:1:8d99221c18]set imextn = "oif:imh fxf:fits,fit plf:pl qpf:qp stf:hhh,??h"[/code:1:8d99221c18]where the 'fxf' refers to the FITS kernel. By putting the "fit" before the "fits" you'll use ".fit" as default extension for this kernel, e.g. "fxf:fit,fits".Note the 'imtype' variable controls the default image type created for filenames without an extension, it will normally says 'fits' but this only indicates the file type, the 'imextn' options will control the actual extension. For example,[code:1:8d99221c18]
cl> set imextn = "oif:imh fxf:fit,fits plf:pl qpf:qp stf:hhh,??h"
cl> imcopy dev$pix foo
[/code:1:8d99221c18]will create a 'foo.fit' file.

 
Profile Email
 Quote
Mike Potter
 12/29/2012 03:40AM  
++---
Junior

Status: offline


Registered: 04/23/2006
Posts: 15
Thanks Mike!
Mike

 
Profile Email Website
 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