GNU Astronomy Utilities - Tasks: task #13767, Support FITS compressed with fpack
You are not allowed to post comments on this tracker with your current authentication level.
task #13767: Support FITS compressed with fpack
Submitter: | Mosè Giordano <giordano> | ||
Submitted: | Fri 09 Oct 2015 09:39:11 AM UTC | ||
Should Start On: | Thu 08 Oct 2015 10:00:00 PM UTC | Should be Finished on: | Thu 08 Oct 2015 10:00:00 PM UTC |
Category: | All Gnuastro | Priority: | 5 - Normal |
Item Group: | Input/Output | Status: | None |
Privacy: | Public | Percent Complete: | 50% |
Assigned to: | makhlaghi | Open/Closed: | Open |
Effort: | 0.00 |
Jump to the original submission
Mon 30 May 2016 09:03:42 AM UTC, comment #12: |
Mosè Giordano <giordano>![]() |
Mon 30 May 2016 02:00:48 AM UTC, comment #11: You are right, thanks! I updated the metadata for this task.
|
Mohammad Akhlaghi <makhlaghi>![]() ![]() |
Sun 29 May 2016 04:57:51 PM UTC, comment #10: I don't think this task is complete: gnuastro programs still don't compress the output file when it has ".fits.fz" extension. |
Mosè Giordano <giordano>![]() |
Fri 20 May 2016 10:55:40 AM UTC, comment #9: Sorry, this was my mistake! Adding a -h1 option to the command before fixed the problem and a JPEG image showing the pixels was created!
|
Mohammad Akhlaghi <makhlaghi>![]() ![]() |
Fri 20 May 2016 10:50:42 AM UTC, comment #8: I explained the installation of fpack and funpack in the manual. However, when I try opening the attached file (in the previous comment) in Gnuastro (for example converting it to JPEG), I get the following error:
|
Mohammad Akhlaghi <makhlaghi>![]() ![]() |
Fri 06 Nov 2015 10:26:07 AM UTC, comment #7: I'm attaching one of the test file compressed with fpack, but if you have the fpack program on you system (which is probably the case since you have CFITSIO) you can compress a fits file with
|
Mosè Giordano <giordano>![]() |
Fri 06 Nov 2015 02:14:20 AM UTC, comment #6: Ok, when I get the chance I will have a look at this issue, thanks for all the basic information ;-).
|
Mohammad Akhlaghi <makhlaghi>![]() ![]() |
Thu 05 Nov 2015 01:12:20 PM UTC, comment #5: Sorry, I made a mistake: if I got it correctly "astmknoise" preserves the same data type of the original file, so if it was TLONG, like the file I was testing, the program can't write a compressed file. But now I tested a double precision file and it works as expected.
|
Mosè Giordano <giordano>![]() |
Thu 05 Nov 2015 10:57:54 AM UTC, comment #4: I was testing "astimgcrop" and it can't write compressed files because it uses "fits_write_null_img" to write the fits file and this function ("ffpprn" in CFITSIO code) doesn't support writing to compressed files. Instead, "fits_write_img" does. Mohammad, could you please give it a look when you have time? You're more familiar than me with CFITSIO functions and internals of Gnuastro. No rush ;-)
|
Mosè Giordano <giordano>![]() |
Thu 05 Nov 2015 03:09:25 AM UTC, comment #3: Since the topic of this task is generally to "Support FITS compressed with fpack", not just reading the input, I think it is appropriate to also deal with creating ".fits.fz" output in this task too.
|
Mohammad Akhlaghi <makhlaghi>![]() ![]() |
Wed 04 Nov 2015 06:11:45 PM UTC, comment #2: It turned out that there wasn't much to do: "nameisfits" and "nameisfitssuffix" didn't accept a file with "fits.fz" extension, once you add that to the list of acceptable extensions Gnuastro is able to read fpacked fits files.
|
Mosè Giordano <giordano>![]() |
Wed 04 Nov 2015 11:22:16 AM UTC, comment #1: I'd like to implement this feature as a function to be used across the whole project. In the vein of having shared libraries, I proposed in task #13765 a new naming convention for this project. |
Mosè Giordano <giordano>![]() |
Fri 09 Oct 2015 09:39:11 AM UTC, original submission:
Gnuastro is able to read FITS compressed with gzip, but not those compressed with fpack. CFITSIO should give the tools to do that anyway. |
Mosè Giordano <giordano>![]() |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-05-30 | makhlaghi | Percent Complete | 100% | ![]() |
50% |
Open/Closed | Closed | ![]() |
Open | ||
2016-05-20 | makhlaghi | Percent Complete | 30% | ![]() |
100% |
Open/Closed | Open | ![]() |
Closed | ||
2016-05-20 | makhlaghi | Percent Complete | 50% | ![]() |
30% |
2015-11-06 | giordano | Attached File | - | ![]() |
Added convolve_spatial_warped.fits.fz, #35396 |
2015-11-06 | makhlaghi | Assigned to | giordano | ![]() |
makhlaghi |
2015-11-05 | makhlaghi | Percent Complete | 0% | ![]() |
50% |
Effort | 0.50 | ![]() |
0.00 | ||
2015-11-05 | makhlaghi | Assigned to | None | ![]() |
giordano |
Effort | 0.00 | ![]() |
0.5 |
I don't think I'm able to change the open/closed status and the progress of a ticket once it's closed