Welcome to iraf.net Wednesday, May 01 2024 @ 02:49 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 TIME-OBS Y2K problem!!!
   
auriga
 11/28/2007 12:15AM (Read 2893 times)  
+----
Newbie

Status: offline


Registered: 09/07/2007
Posts: 2
I do not have a "time-obs" keyword in my FITS header that has the time of the observation. I do have the "date-obs" keyword in the format YYYY-MM-DDTHH:MM:SS.
I am trying to figure out how to get the HH:MM:SS part out of the "date-obs" keyword, but without success.

 
Profile Email
 Quote
auriga
 11/28/2007 12:15AM  
+----
Newbie

Status: offline


Registered: 09/07/2007
Posts: 2
It works simple script ;list = "datalist"
while (fscan (list, s1) !=EOF) {
imgets (s1, "DATE-OBS")
hedit (s1, "TIME-OBS", substr(imgets.value,12,19), add+, ver-)
}

 
Profile Email
 Quote
   
Content generated in: 0.07 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login