Produced by IDL 7.1.1
User Documentation

./toolbox
utcinfoinp.pro

Last modification date:
Wed Sep 28 13:27:11 2016

utcinfoinp

function utcinfoinp(juliandate, utcInfo)

Input parameters to convert utc to ut1

Read the utc to ut1 information from the utcToUt1.dat file. The UTC_INFO structure will return the information needed to go from utc to UT1. the routine utcToUt1 converts from utc to ut1 using the information read in here into the UTC_INFO structure. The conversion algorithm is:

   utcToUt1= ( offset + ((julDay - julDayAtOffset))*rate
 
The offset, rate, data are input from the utcToUt1.dat file.

The user passes in the julian date and the utcToUt1.dat file will be searched for the greatest julian date that is less than or equal to the date passed in. If all of the values are after the requested juliandate, the earliest value in the file will be used and and error will be returned.

Note: \@utc_info must be done before this function is called.

This code came from Phil Perillat at Arecibo. Local changes:

NOTE: The file is updated whenever a leap second occurs or whenever the drift rate changes (usually every 6 months or a year). If you have downloaded this file from ao, then you need to redownload the newer versions occasionally. Check the file aodefdir()/data/pnt/lastUpdateTmStamp for when your file was last updated.

Returns
status; 0=problem, 1=ok {utcInfo} DESCRIPTION
Uses
file_exists dmtodayno daynotodm

Parameters
juliandate
in, required
double
Julian date
utcInfo
out, required
variable
utcInfo structure


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:39 2016