Author Topic: error file Fits Sbig  (Read 4098 times)

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
error file Fits Sbig
« on: 2013 March 13 08:00:23 »
Hello
in trying to save a file fits-Sbig, always in fits format, I get this error.
If instead you save in Tif's okay. Why?
thanks,
Giorgio.

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: error file Fits Sbig
« Reply #1 on: 2013 March 13 08:32:19 »
FFFFFFB0 converts to ÿÿÿ°

If I were you, I'd look under Files | FITS Header and see what's written and if that value is correct. My guess is not...
It is probably a value that PixInsight uses to evaluate signal or noise.
Philip de Louraille

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: error file Fits Sbig
« Reply #2 on: 2013 March 13 08:36:05 »
Then again... FFFFFFB0 converts as a number to 4294967216 which is 2^32 - 80...
Philip de Louraille

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Re: error file Fits Sbig
« Reply #3 on: 2013 March 13 09:05:45 »
thanks Philip
Can you see it?

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: error file Fits Sbig
« Reply #4 on: 2013 March 13 09:52:50 »
A wild guess, try to change or remove the OBSERVER NAME, as the value has a single quote. My Guess is that it may have 'Obervers's name' in the comment and that this COULD be misinterpreted by the fits io.
-- bitli

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: error file Fits Sbig
« Reply #5 on: 2013 March 13 10:17:16 »
Maybe it is the degree symbol in the file name.
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Re: error file Fits Sbig
« Reply #6 on: 2013 March 13 10:26:53 »
Great Bitli, Great Giorg.
Both words D F Observer
Thank you very much.
Ciao,
Giorgio

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: error file Fits Sbig
« Reply #7 on: 2013 March 13 10:42:48 »
I see the answer was written as I was looking.
I was thinking that it was either the ° symbol or the "s Name'" comment field...

However the fact that PI could not save the file may be a bug in the FITS interpreter?
Philip de Louraille

Offline Giorgio

  • PixInsight Addict
  • ***
  • Posts: 140
Re: error file Fits Sbig
« Reply #8 on: 2013 March 13 10:54:19 »
Thanks Philip.
Giorg

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: error file Fits Sbig
« Reply #9 on: 2013 March 13 11:49:12 »
Quote
However the fact that PI could not save the file may be a bug in the FITS interpreter?

Not at all. It is a bug in the software that has generated the original FITS file. A degree symbol is illegal in a FITS header because the FITS standard only allows ASCII characters (in the DARK-IMG keyword). To prevent propagation of nonstandard FITS files, our FITS support module allows loading the image, but not writing it until the header is fixed.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: error file Fits Sbig
« Reply #10 on: 2013 March 13 12:09:20 »
Hi Juan,
I was thinking that rather than output a cryptic note having FFFFFFB0 in it, PI could state that a non-ASCII character was found it it and state what it is, in this case °?
Might be a tad more helpful to the masses. ;-)
Philip de Louraille

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: error file Fits Sbig
« Reply #11 on: 2013 March 13 13:41:51 »
The name of the key would be nice too.

For information, the following page: http://fits.gsfc.nasa.gov/fits_verify.html or program: http://heasarc.gsfc.nasa.gov/docs/software/ftools/fitsverify/ may be useful to validate FITS file. I am not sure how useful the error messages are, but may be worth trying in case of problem.

-- bitli