Author Topic: New ImageIntegration doesn't like RA degrees in scientific notation  (Read 951 times)

Offline jpaana

  • Newcomer
  • Posts: 13
With the new PI release ImageIntegration gives non-fatal error when integrating images that have RA in scientific notation like INDI produces: *** Error: Parsing RA FITS keyword: Right ascension value out of range: '2.831966E+02'

The file actually has both OBJCTRA and RA headers:

OBJCTRA = '18 52 47.20'        / Object J2000 RA in Hours
OBJCTDEC= '32 58 25.26'        / Object J2000 DEC in Degrees
RA      =         2.831966E+02 / Object J2000 RA in Degrees
DEC     =         3.297368E+01 / Object J2000 DEC in Degrees

Other tools in PI seem to accept the coordinates just fine.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Yes, this is a bug because the RA keyword value has to be interpreted as degrees when it is not a complex angle representation (as hours when it is complex). This requires another core application update, as well as some script updates, which I'll release tomorrow.

Quote
Other tools in PI seem to accept the coordinates just fine.

Unfortunately, this is not the case. All astrometry-related tools will generate similar errors, and what is worse, if the right ascension is within [0,24) in degrees, no error will be generated and an invalid value (degrees multiplied by 15) will be used. So this is a critical error that has to be fixed immediately, an ideal one for a nice weekend! Thank you for reporting this problem, and sorry for the inconvenience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
This bug is now fixed with the release of several updates, including a new build 1475 of the PixInsight core application. Thank you for your patience.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/