#393 closed defect (fixed)
Configuration file types
| Reported by: | Owned by: | jhoblitt | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | PSLib SDRS | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In SDR-14 section 5.1.4.2.1 mentions valid time types are UTC, UT1, TAI, and TT
but there is no corresponding type defined in psMetadataType in section 5.1.2.
There is also a comment that time type values be in ISO8601 format, but there
is no time type specified.
Change History (2)
comment:1 by , 21 years ago
| Owner: | changed from to |
|---|
comment:2 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

UTC, UT1, TAI, and TT are psTimeTypes and as such are only relevant to a psTime
object. A psTime objects is what would be stored in a psMetadataItem. I hope
that answers your question. However, I did notice that there was no meta flag
for psTimes in psMetadataType.
The following change to the SDRS has been made:
Index: psLibSDRS.tex
===================================================================
RCS file:
/usr/local/cvs/repositories/pan-starrs/datasys/IP3/doc/PSLib/psLibSDRS.tex,v
retrieving revision 1.211
diff -u -r1.211 psLibSDRS.tex
--- psLibSDRS.tex 2 May 2005 21:04:26 -0000 1.211
+++ psLibSDRS.tex 5 May 2005 03:10:42 -0000
@@ -3769,6 +3769,7 @@
item.data.V).
+ PS_META_TIME, /< psTime object (Stored as item.data.V).
metadata item of this type.
UTC, UT1, TAI, and TT can all be expressed as an ISO8601 formatted string. I've
changed the psTimeFromISO() prototype so the time system of the resulting psTime
object can be specified.
Index: psLibSDRS.tex
===================================================================
RCS file:
/usr/local/cvs/repositories/pan-starrs/datasys/IP3/doc/PSLib/psLibSDRS.tex,v
retrieving revision 1.212
diff -u -r1.212 psLibSDRS.tex
--- psLibSDRS.tex 5 May 2005 03:11:19 -0000 1.212
+++ psLibSDRS.tex 5 May 2005 03:21:20 -0000
@@ -4856,7 +4856,7 @@
-psTime *psTimeFromISO(const char *input);
+psTime *psTimeFromISO(const char *input, psTimeType timeSystem);