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

Home » Public Forums » archive » Writing float array to 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: Writing float array to file [message #91427 is a reply to message #91426] Tue, 14 July 2015 02:25 Go to previous messageGo to previous message
Kai Heckel is currently offline  Kai Heckel
Messages: 51
Registered: April 2015
Member
Am Dienstag, 14. Juli 2015 10:56:16 UTC+2 schrieb Kai Heckel:
> Hey there!
>
> I have a quite simple problem but I didn't find a solution yet.
>
> Given a float array with the dimensions 2048*5492 ("variables[0]"), I want to put these files in a .csv-file...
>
> This is what I have:
>
> b1=foldername[f]+'\b1.csv'
> OPENW,1,b1
> PRINTF,variables[0]
> CLOSE,1
>
> The error I get is:
>
> PRINTF: Expression must be a scalar or 1 element array in this context: <FLOAT Array[2048, 5492]>.
>
> What does it mean?
>
> Thanks

Just found the mistake...

The line: "PRINTF,variables[0]"
Should be: "PRINTF,1,variables[0] "
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Advice on using julian day with the image function?
Next Topic: Compare satellite images

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

Current Time: Wed Oct 08 11:27:13 PDT 2025

Total time taken to generate the page: 0.00439 seconds