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

Home » Public Forums » archive » Data reading
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: Data reading [message #91590 is a reply to message #91589] Tue, 04 August 2015 02:41 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, August 4, 2015 at 11:28:29 AM UTC+2, Nikola Vitas wrote:
> On Tuesday, August 4, 2015 at 4:36:08 AM UTC+1, Joyrles Fernandes wrote:
>> I'm starting with IDL, wanted to know how many read txt files that are in a folder and combine them all in one file with the IDL?
>>
>> thank you very much
>
> That'd be a good exercise for someone just starting. IDL has excellent and extensive help documentation. Many good tips you can find at www.idlcoyote.com
>
> Search for functions FILE_SEARCH, FILE_INFO, OPENR, READF, and check the examples in the code.

Hi,
I would say IDL "can" do that, but would not be my first choice. Linux and Win doe the job in a one liner:
See for instance:
http://unix.stackexchange.com/questions/3770/how-to-merge-al l-text-files-in-a-directory-into-one

http://superuser.com/questions/111825/any-command-line-or-ba tch-cmd-to-concatenate-multiple-files

Cheers,
Helder

PS: sorry for spoiling the "IDL" learning process, but I really think, that this should not be done in IDL... unless you use spawn of course!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Colorbar Formatting Issue with New IDL 8.4 Graphics
Next Topic: Error opening NetCDF - file

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

Current Time: Wed Oct 08 14:21:55 PDT 2025

Total time taken to generate the page: 0.00354 seconds