Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 15-03-2009, 01:29 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: SE Tasmania
Posts: 4,574
FITS header / metadata reader?

Is there a way to view the FITS header information? I used to use FITS liberator to see this but since I've installed the Astra Image PS plug-in the FITS liberator no longer comes up when I open a FITS image.
Reply With Quote
  #2  
Old 15-03-2009, 03:24 PM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
I read the header information in the DSS and I think TheSky also reads header information. I once wrote a little program in Qbasic to read it. but I don't think I have it any more. I even forget how many bytes there are but I am sure the information is available on the web.

Barry
Reply With Quote
  #3  
Old 15-03-2009, 03:45 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: SE Tasmania
Posts: 4,574
Thanks Barry,

DSS has the exposure duration info which is mainly what I was looking for.

Peter
Reply With Quote
  #4  
Old 15-03-2009, 03:57 PM
PeterO's Avatar
PeterO
Registered User

PeterO is offline
 
Join Date: Jul 2005
Location: Traralgon Vic
Posts: 129
Try this fits veiwer and editor, called file view.

http://heasarc.gsfc.nasa.gov/ftools/fv
Reply With Quote
  #5  
Old 16-03-2009, 06:53 PM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
Here is another simple Fits header reader.

The file name is ????????.FIT
and it will print out a txt file named FITSDATA.TXT

Compiled QBasic

There is a lot of data and I don't know what it all means.
Attached Files
File Type: zip fitsread.zip (28.6 KB, 6 views)
Reply With Quote
  #6  
Old 16-03-2009, 07:49 PM
Bassnut's Avatar
Bassnut (Fred)
Narrowfield rules!

Bassnut is offline
 
Join Date: Nov 2006
Location: Torquay
Posts: 5,065
What about using open as? (and then FITS liberator).

All the pro (actually paid for ;-) astro apps allow FITs header viewing, and some allow FITs header editing, which can be very usefull.
Reply With Quote
  #7  
Old 16-03-2009, 10:12 PM
Barrykgerdes
Registered User

Barrykgerdes is offline
 
Join Date: Feb 2007
Location: Beaumont Hills NSW
Posts: 2,900
Meade's old Pview program for their CCD camera series 10 years ago had a facility for reading the Fits header and editing it.

Baz
Reply With Quote
  #8  
Old 18-03-2009, 07:34 PM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: SE Tasmania
Posts: 4,574
Thanks for all the suggestions. Fred - the open as is a good option. Thanks for that. Do you know how PS determines which plug-in to use?

Peter
Reply With Quote
  #9  
Old 13-06-2009, 10:20 AM
Dennis
Dazzled by the Cosmos.

Dennis is offline
 
Join Date: May 2005
Location: Brisbane
Posts: 11,811
I had the same problem where installing the Astra Image PS plug-in into CS3 somehow prevented (the previously installed) FITS Liberator from working. I removed the Astra Image plug-in from the plug-in folder and this didn’t fix the problem.

I recently rebuilt my system and installed CS3 again from the OEM CD’s and I didn’t re-install the Astra Image PS plug-in.

This morning I downloaded and installed FITS Liberator (V2.2) and now CS3 opens the FITS files just fine and dandy, so I won’t be installing the Astra Image PS plug-in again. I’ll probably upgrade to the Pro version of Astra Image version as a stand alone application to get round this problem.

Cheers

Dennis
Reply With Quote
  #10  
Old 13-06-2009, 10:37 AM
[1ponders]'s Avatar
[1ponders] (Paul)
Retired, damn no pension

[1ponders] is offline
 
Join Date: Nov 2004
Location: Obi Obi, Qld
Posts: 18,778
I've found this little program great for viewing the FITS header without having to open the image.
http://arnholm.org/astro/software/ImageTOOLSca/

There are two programs in the download, a viewer and a reader. After a while the viewer license expires (unless you pay for it of course ) but the reader keeps working. It allows you to open one header and then click to the next without going back to the image and opening the header. It is a very handy little stand alone.
Reply With Quote
  #11  
Old 13-06-2009, 10:40 AM
[1ponders]'s Avatar
[1ponders] (Paul)
Retired, damn no pension

[1ponders] is offline
 
Join Date: Nov 2004
Location: Obi Obi, Qld
Posts: 18,778
ps mine is a much older version than the latest release. I hope the header viewer still works after free trial period opens on the newer releases.
Reply With Quote
  #12  
Old 13-06-2009, 11:08 AM
peter_4059's Avatar
peter_4059 (Peter)
Big Scopes are Cool

peter_4059 is offline
 
Join Date: Jun 2007
Location: SE Tasmania
Posts: 4,574
Thanks Dennis and Paul.

I wondered if simply removing the AstraImage FITS plugin from the PS folder would mean the FITS liberator would then work - I guess not.

As Fred suggested if you use "open as'" instead of "open" allows you to use the FITS liberator with AI plugins installed.

Peter
Reply With Quote
  #13  
Old 06-08-2009, 11:08 PM
mithrandir's Avatar
mithrandir (Andrew)
Registered User

mithrandir is offline
 
Join Date: Jan 2009
Location: Glenhaven
Posts: 4,161
If all you want is the FITS header in "human readable" form, this bit of perl will do it.

#!/usr/bin/perl -w

open STDIN,$ARGV[0] or die();
while(sysread(STDIN,$line,80)>0) {
print STDERR "$line\n" if $line=~m/.{8}=\s*/o;
last if $line=~m/^END/o;
}
close STDIN;
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 09:11 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement