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

Home » Public Forums » archive » Read several files into one big data array?
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: Read several files into one big data array? [message #89510 is a reply to message #89509] Wed, 22 October 2014 14:55 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
lucesmm@gmail.com writes:

> I really don't care about the names of the columns, they are fixed for all the files. But when I referred to title, I meant the last 5 digits of the file's name, to be in a new column (first column). (i.e. FILE_00001.data -> extract the "00001" and storage it with the data in the first column.


Oh. Something like this, then:

locate_underscore = StrPos(filename, "_")
fileNumber = StrMid(filename, locate_underscore, locate_underscore+5)

> Also, my code is still not working, so I am curious if this will group the data from FILE_00001.dat with FILE_00002.data and so on?

I doubt it, but can't tell without some code that tries to do it. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bug in cgHasImageMagic
Next Topic: Fleurdelas - Carbomap's Open Source LiDAR file manipulator - now fully support LAS 1.4 and the Extra Bytes VLR

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

Current Time: Wed Oct 08 17:31:52 PDT 2025

Total time taken to generate the page: 0.00385 seconds