[PINPOINT-1828]  Reference catalog magnitude limits are rounded to integral values
Type Bug
Priority High
Severity Trivial
Component Astrometric Engine
Fixed In Version [7.07.0
Versions Affected [6.06.0
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 4/8/2021

Description
This is unbelievable. All these years, Plate.CatalogMaximumMagnitude and Plate.CatalogMinimumMagnitude have been internally rounded to even integral values upon writing these properties. They were being cast to (short)!! Discovered when doing the ATLAS catalog work.

Comments
4/8/2021 4:23:53 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/pinpoint
SVN Revision 243
Affected files /trunk/engine/Plate.cpp (Modified)
Check-in comment Oops left a __debugbreak() in the Plate.cpp GEM:1828 GEM:1568
4/8/2021 4:19:10 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/pinpoint
SVN Revision 242
Affected files /trunk/HTML Help/doc/PinPointRELNOTES.htm (Modified)
/trunk/engine/Plate.cpp (Modified)
/trunk/engine/common.h (Modified)
Check-in comment COMBINED COMMIT. Make CatalogMaximumMagnitude of 30 MAXMAG_DEFAULT for ATLAS logic to allow missing fainter catalog bands. Also preserve the floating point fractional values for CatalogMaximumMagnitude and CatalogMinimum Magnitude when these properties are set. GEM:1568 GEM:1828 GEM:1568