View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Task Asttime

astro wrote on Feb 10, 2016


Hi,

I'm using astutil.asttime to calculate epoch and julian day of my data from the local dates and times. I got the results in the form

EPOCH JD LMST

1987.82398 2447097.7083 0:01:35.8

I need more digits after the decimal point for the epoch and JD. My question is: is there a way to change the format (precision) of these two results? Thank you in advance.

Mike Fitzpatrick wrote on Feb 11, 2016


Have a look at the ASTCALC task in the same ASTUTIL package as a way to do the same calculation, but with control over the output format. More precision can only be added to ASTTIMES with a code change.

Last post on Feb 11, 2016