AETIMECALC (May 2007) ftools.suzaku AETIMECALC (May 2007) NAME aetimecalc -- Mission Time Calculator for Suzaku (Astro-E2) USAGE aetimecalc input [mission/date/date_tt/mjd/mjd_tt/yday] DESCRIPTION This task read several types of input time values, and calculates mission time (s), date string in yyyy-mm-ddThh:mm:ss.sss in UTC or TT, Modified Julian Date (dy) in UTC or TT, and the days from the launch. The result is written both to the screen and into the parameter file. This task takes leap seconds after January 1970 into account. The second parameter depends on the option chosen for the first input parameter (see below). PARAMETERS input [string] Any of prompt/mission/date/date_tt/mjd/mjd_tt/yday mission [real] Mission time, i.e. accumulative seconds from date0, only required when input="mission". date [string] Date string in UTC, 'yyyy-mm-ddThh:mm:ss.sss', only required when input="date". Date_tt [string] Date string in TT, 'yyyy-mm-ddThh:mm:ss.sss', only required when input="date_tt". mjd [real] Modified Julian Date in UTC (MJD-UTC), only required when input="mjd". mjd_tt [real] Modified Julian Date in TT (MJD-TT), only required when input="mjd_tt". yday [real] Days from the Y0 (launch date), only required when input="yday". (leapfile = CALDB;$ENV{LHEA_DATA}/leapsec.fits) [file name] Name of the leap second file. The default value is set to indicate that aetimecalc will search for the file in CALDB first and then in the LHEA_DATA directory if necessary (the actual path for the HEADAS installation in use will be shown). (date0 = "2000-01-01T00:00:00.000") [string] Reference date of mission time in UTC. (yday0 = "2005-07-06T12:00:00.000") [string] Date string for Y0 (launch date) in UTC. (mjdrefi = 51544) [integer] Integer part of the MJD-TT reference (2000.0 UTC). (mjdreff = 0.00074287037037037) [real] Fractional part of the MJD-TT reference (64.184 s). (anl_verbose = 0) [integer] ANL verbose level (-1:full, 0:minimum) (anl_profile = no) [integer] Enable ANL module profiling (num_event = -1) [integer] number of event (-1=all,0=exit) (event_freq = 1000) [integer] Event number printout frequency (chatter = 2) [integer] message chatter level (0:min,2:norm,5:max) EXAMPLES 1. % aetimecalc input=mission mission=0.0 \ leapfile=../test/leapsec.fits aetimecalc version 1.0 Written by Y.ISHISAKI (TMU) Built on ANL HEADAS converter 1.60 for ANL version 1.60 aetimecalc: *** show parameter *** INPUT_TYPE 'mission' LEAPSEC_FILE '../test/leapsec.fits' DATE0 '2000-01-01T00:00:00.000' (51544.000 in MJD-UTC) YDAY0 '2005-07-06T12:00:00.000' (53557.500 in MJD-UTC) MJDREFI 51544 MJDREFF 0.00074287037037037 Mission Time = 0.000000 (s) Date in UTC = 2000-01-01T00:00:00 MJD in UTC = 51544.000000000 (dy) Date in TT = 2000-01-01T00:01:04.183999 MJD in TT = 51544.000742870 (dy) Y-2013.500 (dy) BUGS None reported SEE ALSO none AUTHOR This program was developed primarily in the ASTRO-E ANL environment by Yoshitaka Ishisaki (Tokyo Metropolitan University). LAST MODIFIED May 2007