EranOfek / AstroPack

Astronomy & Astrophysics Software Pacakge
Other
16 stars 4 forks source link

add more decimal figures to FITS header values #456

Closed EastEriq closed 1 month ago

EastEriq commented 1 month ago

As of today the format seems to be %.4f. Eran says that four is not enough, and once there were more figures. I.e.

M_RA    =             311.4326 /                                                
M_DEC   =              30.0073 /                                                
EQUINOX =                2000. /                                                
M_AZ    =             359.9885 /                                                
M_ALT   =             -29.9397 /                                                
M_JRA   =             311.1752 /                                                
M_JDEC  =              29.9473 /                                                
M_ARA   =             311.4333 /                                                
M_AHA   =             179.9875 /                                                
M_ADEC  =              30.0073 /                                                
M_ADRA  =             311.4333 /                                                
M_ADHA  =             179.9875 /                                                
EastEriq commented 1 month ago

Not your bug, sorry, please ignore. That came from my code, corrected now by https://github.com/PolishookDavid/LAST_OCS/commit/16fa4a00b850cc50d304a86d2cbff1932ff3fddc.

EranOfek commented 1 month ago

Why it was closed?

On Mon, Jun 10, 2024 at 4:32 PM EastEriq @.***> wrote:

As of today the format seems to be %.4f. Eran says that four is not enough, and once there were more figures. I.e.

M_RA = 311.4326 / M_DEC = 30.0073 / EQUINOX = 2000. / M_AZ = 359.9885 / M_ALT = -29.9397 / M_JRA = 311.1752 / M_JDEC = 29.9473 / M_ARA = 311.4333 / M_AHA = 179.9875 / M_ADEC = 30.0073 / M_ADRA = 311.4333 / M_ADHA = 179.9875 /

— Reply to this email directly, view it on GitHub https://github.com/EranOfek/AstroPack/issues/456, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJUQ4IVWYMYU6UM4AIQRN3ZGWTGFAVCNFSM6AAAAABJCKNQEWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DGOJTHE4TOOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

EastEriq commented 1 month ago

Not your bug, sorry, please ignore. That came from my code, corrected now by PolishookDavid/LAST_OCS@16fa4a0.

Read above?