<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 4, 2014 at 4:59 AM, gonghang.naoc <span dir="ltr"><<a href="mailto:ghang.naoc@gmail.com" target="_blank">ghang.naoc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<br>I am trying astropy.time to do conversion between JD and UT.<br>It is easier to convert UT to JD.  It seems JD equals jd1+jd2, right?  I do not know why there are two parts since one value is enough.<br>
</div></blockquote><div><br></div><div>There are two values to allow you use high precision. A single double precision number can not provide you with nanosecond precision as a JD. If you split the JD into two distinct numbers (apportioned in a way that best suits your requirements) you can retain accuracy.</div>
<div><br></div><div>-- </div><div>Tim Jenness</div><div><br></div></div></div></div>