Opening Rice compressed FITS

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Opening Rice compressed FITS

zemogle
I've been trying to open Rice compressed files but without success. I wonder if you had any plans to add this functionality.

I work for Las Cumbres Observatory and all of our archive is Rice compressed. Some of our software engineers have updated a similar package to AstroImageJ (SalsaJ) so it can open FZ files, using the nom.tam.fits library. You can see the commit history on GitHub (https://github.com/SalsaJ/SalsaJ) if that's helpful.

We have around 1500 users and would love them to be able to use AstroImageJ with our data. Please let me know if I can help make this happen.

Thanks!

Edward
Reply | Threaded
Open this post in threaded view
|

Re: Opening Rice compressed FITS

karenacollins
Administrator
Hi Edward,

Thanks for pointing out that apparently the Rice decompression code has been ported to Java, and specifically that it
has been merged with SalsaJ. This will be an important new feature for AIJ, but it may take me a month or so to get time
to look into the implementation.

Thanks again for making this suggested improvement to AIJ!

Karen

Reply | Threaded
Open this post in threaded view
|

Re: Opening Rice compressed FITS

zemogle
HI Karen,

Wonderful news! Please let me know if you need any help. Some of my software engineer colleagues helped the SalsaJ folks by doing the integration with the nom.tam.fits. I'm sure they would be more than happy to help out again.

Edward

On 31 May 2017 at 12:02, karenacollins [via AstroImageJ] <[hidden email]> wrote:
Hi Edward,

Thanks for pointing out that apparently the Rice decompression code has been ported to Java, and specifically that it
has been merged with SalsaJ. This will be an important new feature for AIJ, but it may take me a month or so to get time
to look into the implementation.

Thanks again for making this suggested improvement to AIJ!

Karen




If you reply to this email, your message will be added to the discussion below:
http://astroimagej.1065399.n5.nabble.com/Opening-Rice-compressed-FITS-tp686p687.html
To unsubscribe from Opening Rice compressed FITS, click here.
NAML



--
Dr Edward Gomez
Education Director - Las Cumbres Observatory
School of Physics & Astronomy, Cardiff University
+44 (0) 29 2087 5121

Reply | Threaded
Open this post in threaded view
|

Re: Opening Rice compressed FITS

zemogle
Hi Karen,

Just wondering if you'd had any time to look at adding Rice compression support. I know of quite a few groups which are really looking forward to having this feature. At the moment they have to uncompress all their FITS data before using AstroImageJ.

Let me know if I can help!

Thanks,

Edward
Reply | Threaded
Open this post in threaded view
|

Re: Opening Rice compressed FITS

karenacollins
Administrator
Hi Edward,

I took at a look at the github code you provided a link for. I see a new fits java file that appears to be for the
purpose of opening fz files, but I'm not clear how that interfaces with the fits-reader code (or if it does). Do you
know how to run the github code? I downloaded it, but there doesn't seem to be a java executable.

I also installed the latest (Oct. 2012) SalsaJ version from here:

http://www.euhou.net/index.php/salsaj-software-mainmenu-9/download-mainmenu-10?task=view&id=8

It will not open fz files. Is there a way to merge the two installations, or is there an installation package for a
version of SalsaJ that uses the code from github that will open fz files?

Karen

Reply | Threaded
Open this post in threaded view
|

Re: Opening Rice compressed FITS

zemogle
Hi Karen,

Thanks for looking into this. It looks like they haven't deployed the latest version yet (I've pinged the maintainer again). My colleague Mark Bowman did the updates and I can see that Eu-HoU have pulled them into their master GitHub branch: https://github.com/SalsaJ/SalsaJ/commits/master

I'm not a java developer but I think a Jar file has to be built using Maven (?).

Mark has made his own jar file of the update, which you can use in place of the one you downloaded from EU-HoU website, to try it out.
https://www.dropbox.com/s/i45xg40b9wfy8e8/SalsaJ.jar?dl=0

Let me know if thats enough to go on. If not I'll ask Mark to weigh in.

Thanks again.

Edward
Reply | Threaded
Open this post in threaded view
|

Re: Opening Rice compressed FITS

karenacollins
Administrator
Could you ask Mark for an overview of how he tied the FITS.java code into the underlying IJ file opener code? I scanned
FITS_Reader.java and couldn't see any connection there.

Karen

Reply | Threaded
Open this post in threaded view
|

Re: Opening Rice compressed FITS

karenacollins
Administrator
In reply to this post by zemogle
Just FYI, the jar file at the link below indeed opens an fz compressed file. However, it would still be helpful to have
a primer for how all of this was integrated into the IJ code.

If you want, you and Mark feel free to communicate directly with me at karenacollins atat outlook dotdot com until we
get the code integrated.

Karen