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

Home » Public Forums » archive » write_csv header problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
write_csv header problems [message #85743] Fri, 30 August 2013 05:39 Go to previous message
morganlsilverman is currently offline  morganlsilverman
Messages: 46
Registered: February 2013
Member
I'm trying to use write_csv and am having problems using the header keyword. It works fine if I only write one variable and have one header, but as soon as I add a second variable and a second string to the header array I get an error message that says 'HEADER must be a string array of length equal to the number of columns'. From what I can tell my string array is the same length as the number of variables I'm trying to write.

header = ['Altitudes','DEM_gnd_alt']
write_csv, 'Seac4rs_DIAL_DC8_20130808_RA_Nav.csv', alt, demgndalt, header=header

Can someone please help? Thanks.

-Morgan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there a less clunky syntax for retrieving data from an array of hashes?
Next Topic: Keyword UNAME not allowed in call to: CW_FSLIDER

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

Current Time: Wed Oct 08 15:19:55 PDT 2025

Total time taken to generate the page: 0.00491 seconds