CImage:KwdSetTime
The KwdSetTime method inserts a time value keyword string into the image header.
CImage:KwdSetTime( sKwd, sValue ) |
sKwd is the keyword name
sValue is the string time value.
This method inserts into the image header a time keyword such as TIME-OBS or another TIMExxxx type keyword. If the keyword name already exists, its value is overwritten by the new value.
Suppose a CImage named I exists. The following script fragment sets a standard format TIME keyword in the header:
t = "00:15:12.2" |
-- time is 0h 15m 12.2s in GMT |
I:KwdSetTime("TIME-OBS",t) |
-- set the TIME-OBS keyword |