IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1558


Ignore:
Timestamp:
Aug 16, 2004, 5:18:19 PM (22 years ago)
Author:
eugene
Message:

fixed broken psTime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibADD.tex

    r1555 r1558  
    1 %%% $Id: psLibADD.tex,v 1.26 2004-08-17 03:09:16 price Exp $
     1%%% $Id: psLibADD.tex,v 1.27 2004-08-17 03:18:19 eugene Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    694694
    695695Correct time representation is critical in astronomical software.
    696 PSLib uses the \code{psTime} structure to represent all time
    697 values.  This structure represents a time which is equivalent to TAI
    698 (International Atomic Time) and has the following properties:
    699 \begin{itemize}
    700 \item it represents both seconds and microseconds
    701 \item the seconds are continuous (no leap seconds)
    702 \item the zero reference point is \tbd{1970/01/01,00:00:10} UTC.
    703 \end{itemize}
     696PSLib uses the \code{psTime} structure to represent all time values.
     697This structure represents a time which is consists of seconds and
     698fractions of seconds in a time system defined by the \code{psTimeType}
     699element \code{type}.  Two possible time systems are currently
     700available: TAI and UTC.  Both are defined in terms of the reference
     701epoch 1970-01-01T00:00:00Z, but with minor modifications for
     702leap-seconds as needed.  The first represenatation, TAI (International
     703Atomic Time), has seconds of uniform length and no leap seconds.  The
     704exact zero reference is 1970/01/01,00:00:10 UTC.  The second
     705representations is UTC, which has seconds of uniform length and
     706leap-seconds as needed to adjust it to remain within 0.9 seconds of
     707the Earth's rotation.  It has a zero-point of exactly
     7081970/01/01,00:00:00 UTC.
    704709
    705710Julian Day (JD) and Modified Julian Day (MJD) are both continuous time
     
    758763\end{verbatim}
    759764
     765The conversion from a time and longitude to local mean sidereal time
     766is performed using the SLA Lib function \code{sla_GMST}.  This
     767function requires the value $\Delta$ UT1 = UTC - UT1.  The value of
     768$\Delta$ UT1 may be determined from the following site in real time:
     769
     770\code{ftp://maia.usno.navy.mil/ser7/ser7.dat}
     771
     772In addition, the long-term values may be determined from the table
     773found at: \code{ftp://maia.usno.navy.mil/ser7/finals.all}.  See also
     774the web page \code{http://maia.usno.navy.mil/}.  The most significant
     775accuracy requirements are for the current value when calculating the
     776LST.  For this purpose, the table above (\code{ser7.dat}), which
     777provides predictions over a 2 month period, must be made available
     778locally to PSLib and updated regularly.
     779
    760780%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    761781
Note: See TracChangeset for help on using the changeset viewer.