comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reading in date & time from csv file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Reading in date & time from csv file [message #88620 is a reply to message #88618] Mon, 19 May 2014 04:57 Go to previous messageGo to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
What is the result when you do

IDL> help, data.field01
IDL> print, data.field01[0]

If it is not a string like '2014_05_12_18_39_33.194', then what is the exact line of the file you are reading?

You do not want to use the String function because data.field01 ought to be a string already. You should be doing

IDL> time = strsplit(data.field01, '_', /EXTRACT)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hot pixels
Next Topic: The refresh method and relative coordinate positioning

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:36:43 PDT 2025

Total time taken to generate the page: 0.00441 seconds