Looks like a problem with using a comma for decimal point.
Look at the fits header for an image that gives the error message, and for an image that does NOT give the error.
You’re right.
I checked the FITS header.
Previously, the pixel size read: 3.76
Now it says: 3,76
This happens when we goof and use “regional” conversion of numbers to strings (in regions that use comma decimal seps. I’m sure that in my haste I forgot and did this. I’ll take a look.
Hi, I installed the latest beta version 4.5.0.1527 and recorded lights and flats. I noticed that the problem still hasn’t been resolved.
This is true. We have discovered that this is an issue deep within the FITS library we are using for header management. Because of this, it’s not something we can fix directly in SGPro. We will absolutely fix it, but it’s not a small tweak. We’ll either need to start managing this internally or switch libraries.
Okay, thanks for the info. This still worked in version 4.4.1.1441.
Hmm. Maybe I am not understanding the issue. When I trace the writing of these header files, they leave SGPro as a number and not as a textual representation of that number. The underlying library we use is in charge of converting that number into a string and it makes no effort to override regional settings for decimal separators. As such, when it converts the number to text, due to your Windows region it inserts a comma instead of a dot.
What I am confused by is that this issue has been in place for many years and I’m unsure how reverting back to 4.4 will help. It’s not that I am doubting you, I am just honestly saying the cause of this issue as belong specifically to 4.5 is not known to me.
I don’t know anything about programming. I can only tell you what I see.
Attached are the FITS headers for the current and beta versions.
In the beta version, XPIXSZ and YPIXSZ has a “,” and in the previous version, it has a “.”
Also OBJCTALT and so forth
I do believe I have arrived at a solution that will correct this behavior (seen in regions that use the comma decimal separator). It will be available in the next 4.5 beta out Thu / Fri this week.