Unable To Load Many...
 
Share:
Notifications
Clear all

UPDATE FROM MABULA

I have had a very rough 2 months unfortunately health wise. I was struck 3x in a row with bacterial infections. The second infection occurred  after a routine hospital checkup and I became very sick. I had to rest and take a lot of antibiotics. Once I was recovering and restarting work 1 month ago, I again became sick. The infection was not yet gone, so even more antibiotics and rest was needed. Needless to say, it took a lot of my energy and I needed a lot of rest.

 

Finally, the infection is really gone and my energy is coming back step-by-step now and I have started work again. I am terribly sorry to have kept you waiting for support. I will address all outstanding questions and e-mails step-by step and will be on the forum daily from today.

 

APP 2.0.0-beta47 will come soon as well, a lot of work was already completed before I became very ill, so the release is also nearly ready for you. Beta47 will be much faster actually. Many workflows will be more than 2x faster, mosaics can even be 10x faster than before because registration really received a major boost... all compared to beta46.  Before I release it, I will make sure that everything is working properly and then I will release it.

[Solved] Unable To Load Many Hubble Lights As .fits Files from MAST

5 Posts
2 Users
0 Reactions
2,204 Views
(@kadarjusa)
Molecular Cloud
Joined: 4 years ago
Posts: 2
Topic starter  

Hello!

New renter here. I'm really thrilled with this software. I am using 2.0.0-beta9 on windows 10 pro.

I have spent the trial period tearing through Webb fits files from MAST ( https://mast.stsci.edu/portal/Mashup/Clients/Mast ) and that has gone very well. I have since purchased the renters license and moved on to hubble fits files at the same location. Unfortunately when loading these as lights and then moving on to calibration I receive the following error:

Encountered error in module:
FloatFitsConverter

Error message:
java.lang.IllegalArgumentException: Raster sun.awt.image.SunWritableRaster@383dd61b is incompatible with ColorModel ColorModel: #pixelBits = 96 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@46c67a88 transparency = 1 has alpha = false isAlphaPre = false

Cause:
Raster sun.awt.image.SunWritableRaster@383dd61b is incompatible with ColorModel ColorModel: #pixelBits = 96 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@46c67a88 transparency = 1 has alpha = false isAlphaPre = false
java.desktop/java.awt.image.BufferedImage.(Unknown Source)
wo.b(Unknown Source)
nA.a(Unknown Source)
nA.doInBackground(Unknown Source)

 

This does not happen with all of the hubble .fits images I have tried so far, but it does seem to be for most of them. For a given project ID however, they will either work as expected, or the above issue takes place.

Part of my workflow are custom steps within Linux. These steps don't modify the fits files themselves, only renaming them for dimensions (WxH) and/or the filter in use (hubble fits file names aren't helpful, JWST ones are but lack the resolution). I used to look at the fits headers for the dimensions however I found that nearly all of the time that data is not present, and if it is, it might be in the Naxis1 and Naxis2 fields, or... somewhere else making scripting difficult. Thus I now use "fitspng" to convert them to .png files, then look at the dimensions in that file, and use that in a script to rename the files with the dimensions -- if they are there, and potentially with the filter name (JWST filenames have that in them, hubble filenames do not). To be clear I am using the png files merely for rough previews and to more easily obtain the dimensions.

The reason I mention these custom steps are that I notice that fitspng also cannot deal with the hubble fits files in question, throwing errors such as:

$ fitspng -v -f asinh ua3d0101m_c0f_F953N.fits
Default intensity scaling: qblack=0.250000 rsense=1.000000. Itt type=1.
Initialisation has finished.
FITS load has begun...
Crash: Only CIE 1931 XYZ colour-space is supported yet.

FITSIO status = 202: keyword not found in header
Error: fitspng failed for `ua3d0101m_c0f_F953N.fits'.

I am, however, able to preview the .fits files in linux software called gwenview. The preview that is shown to me shows the images as red, rather than the usual "black and white" / monochrome. This is only observed for the hubble fits files in question.

I can also open these fits files in fits liberator 4.0.0build1. As expected they show up as "black and white" / monochrome and I can process them as normal, although I really want APP to handle them instead.

I am not quite sure how to proceed from here, I would like to help resolve this issue in any way I can. I have the .fits files in question of course and can upload them upon request.

Thank You!


This topic was modified 4 years ago by Kadar Joseph

   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5379
 

Hi @kadarjusa,

Thank you very much for notifying us with this issue, can you upload some FITS files that create this issue here:

https://upload.astropixelprocessor.com/

to login use:

username: upload

password: upload

Please make a folder like : kadarjusa-FITS-ICC-issue and let me know once uploaded, I will have a look as soon as possible and will try to fix it for the next release 😉

Mabula



   
ReplyQuote
(@kadarjusa)
Molecular Cloud
Joined: 4 years ago
Posts: 2
Topic starter  

@mabula-admin ,

Hello! Happy holidays. Here is the file: https://upload.astropixelprocessor.com/sharing/2ivzsW6K1



   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5379
 

Hi Kadar Joseph, thanks I have found the zip file with the problem file and will investigate 😉 !

Mabula



   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5379
 

Hi Kader Joseph @kadarjusa,

The issue has been fixed, APP 2.0.0-beta10 (next release) will be able to load these Hubble Fits files. Please note however, these are very old files from the Hubble Telescope containing much more data than the image data itself which is monochrome. Furthermore, this particular data is not Deepsky data and thus not really usable in APP yet.

Hubble Fits read fixed

Mabula



   
ReplyQuote
Share: