A Space & astronomy forum. SpaceBanter.com

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

[fitsbits] Version 1.0 of the nom.tam Java FITS library released



 
 
Thread Tools Display Modes
  #1  
Old June 10th 08, 08:13 PM posted to sci.astro.fits
Tom McGlynn
external usenet poster
 
Posts: 3
Default [fitsbits] Version 1.0 of the nom.tam Java FITS library released

I have just released a new version of the nom.tam FITS library at
http://heasarc.gsfc.nasa.gov/docs/he...its/java/v1.0/
This version has one significant change: support for .Z compressed
images. I've decided that supporting this commonly used format
was a big enough change to push the library to V1.0!

Note the slight change in the location (v1.0 versus v0.9) from earlier
releases. Please let me know if you have any issues or problems.

Regards,
Tom McGlynn

Release 1.0

- The major change to this release is support for .Z compressed images
(at least on Unix platforms).
This is implemented by invoking the uncompress command from
within the Java code. Uncompress must be in the user's execution
path.
- There is much more dynamic checking of the magic number of inputs
to determine whether the input to the FITS constructor is compressed
or not, and if compressed what the compression type is.
The user can still confuse the program if they specify an
incorrect value for the compression flag but in many cases it will
get the compression right regardless of what the user specifies.
Future versions may completely ignore the user specified compression
flag though it will be left in for compatibility.
- A new CompressTester class tests reading both types of
compressed files and also does a test of all of the non-trivial
constructors for Fits objects.
- Handling of string inputs to the Fits constructor is changed so that
instead of looking for a specific set of scheme prefixes, a string
is first tried out as a URL and then as a file.
- Bug fix to BinaryTable by A. Kovacs
Ads
  #2  
Old April 23rd 11, 12:59 PM
David McGinnis David McGinnis is offline
Junior Member
 
First recorded activity by SpaceBanter: Apr 2011
Posts: 1
Default

Quote:
Originally Posted by Tom McGlynn View Post
I have just released a new version of the nom.tam FITS library at
http://heasarc.gsfc.nasa.gov/docs/he...its/java/v1.0/
This version has one significant change: support for .Z compressed
images. I've decided that supporting this commonly used format
was a big enough change to push the library to V1.0!

Note the slight change in the location (v1.0 versus v0.9) from earlier
releases. Please let me know if you have any issues or problems.

Regards,
Tom McGlynn
I've been using nom.tam.fits package for quite awhile with great results. However for a recent application am I am trying to open fits image files that , were created by the CCDOPS software from SBIG.

When I open the fits file with the following call:

Fits fits = new Fits(fitsFileName);
ImageHDU hdu = (ImageHDU) fits.readHDU();

I am getting the exception

nom.tam.fits.PaddingException: Error skipping padding after image
at nom.tam.fits.ImageData.read(ImageData.java:273)
at nom.tam.fits.Fits.readHDU(Fits.java:602)

This call has worked in the past for me on every image file I have come across except for the files from SBIG.

I can open the file in other fits image viewers such as DS9 but the nom.tam.fits package throws the padding exception.

Any thoughts?
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FITS Library Package available Donald H. Gudehus Research 0 September 7th 06 08:28 AM
[fitsbits] ANNOUNCE: Astro::FITS::CFITSIO version 1.0.4 William Pence FITS 0 May 31st 06 07:51 PM
scilab fits library didier miras FITS 0 March 31st 05 09:27 AM
scilab fits library didier miras FITS 0 March 31st 05 09:27 AM
[ANN] Mars24 is 5.0, released 2003-07-28 - Free Java Software Davoud Amateur Astronomy 2 July 31st 03 03:04 AM


All times are GMT +1. The time now is 05:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 SpaceBanter.com.
The comments are property of their posters.