EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ISO time format for tsStampToText
From: Jim Thomas <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Thu, 6 Dec 2001 11:32:32 -1000 (HST)
>>>>> "Peregrine" == Peregrine M McGehee <[email protected]> writes:
>>>>> "Peregrine" == Maren Purves <[email protected]> writes:

 Peregrine> *       For any of the formats, the fractional part of the time
 Peregrine> *       (represented as `nano-secs' above) is variable length.
 Peregrine> *       If the usec and nsec part of the time are both zero,
 Peregrine> *       only milli-seconds will be printed; or else if the nsec
 Peregrine> *       part is zero, only milli-seconds and micro-seconds will
 Peregrine> *       be printed.

and

 Peregrine> TS_TEXT_ISO        36   YYYY-MM-DDThh:mm:ss.nano-secsTZD
 Peregrine> TS_TEXT_ISOFITS    20   YYYY-MM-DDThh:mm:ss

1)  Why 36?  If we're only doing nano-seconds, shouldn't it be 30?

2)  The FITS standard (http://archive.stsci.edu/fits/fits_standard) does not
    limit the time fields to seconds.  From the definition for the DATE
    reserved keyword, "The decimal part of the seconds field is optional
    and may be arbitrarily long, so long as it is consistent with the rules
    for value formats (5.2)".  We happen to use hundredths of seconds.  The
    above just indicates how the string form will appear.  IMHO we should
    not have "ISOFITS" meaning seconds only.  I don't have a reasonable
    solution for Maren's problem though :-(

Jim


Replies:
Re: ISO time format for tsStampToText Peregrine M. McGehee
References:
ISO time format for tsStampToText Peregrine M. McGehee
Re: ISO time format for tsStampToText Maren Purves
Re: ISO time format for tsStampToText Peregrine M. McGehee

Navigate by Date:
Prev: Re: ISO time format for tsStampToText Peregrine M. McGehee
Next: Re: ISO time format for tsStampToText Peregrine M. McGehee
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ISO time format for tsStampToText Peregrine M. McGehee
Next: Re: ISO time format for tsStampToText Peregrine M. McGehee
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·