Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#37 Reading .CSV data that includes character string

open
nobody
None
5
2013-01-15
2013-01-15
Stuart F. Taylor
No

Request file reading help after making numerous efforts to read my Comma Separated Value data file that includes text. I see that "read_csv" does this in newer IDL.
Numerous other methods failed with error messages about "Catch" and "Count" features not implemented in strsplt/strtok. No luck with readcol... even tried functions found online including read_data_file, read_ascii_cmdline
I remember IDL not doing well on this either, as in the past I couldn't get readascii or read_data to work in IDL 6, such that in 2006 I actually wrote my own routine, but my own routine didn't work in GDL I think due to a similar issue probably with strsplit.

I would greatly appreciate a general data reading routine.

Thank you

Stuart

Discussion