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

Home » Public Forums » archive » Writting intoFile
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: Writting intoFile [message #92758 is a reply to message #92757] Thu, 25 February 2016 10:31 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hello,

On 02/25/16 13:24, Sapna Mishra wrote:
> Yes I am doing the same,
>
> IDL> a=mrdfits('2QZJ0234_CHIP1_GRIS_600V_SCIENCE_SKY_SPECTRUM_FOR S1.2007_11_12T05_08_04.084redwave.fits',0,h)
> MRDFITS: Image array (2094,5) Type=Real*4
> IDL>fname='data1.dat'
> IDL> OPENW,1,fname
> IDL> PRINTF,a
> then i am getting error:
> % PRINTF: Expression must be a scalar or 1 element array in this context: A.
> % Execution halted at: $MAIN$
>
> I don't know how to solve this error. Any idea??

Yes. It is a syntax error.

See http://www.harrisgeospatial.com/docs/PRINT.html

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Build 2D array from loops
Next Topic: Check for duplicate locations

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

Current Time: Wed Oct 08 19:28:40 PDT 2025

Total time taken to generate the page: 0.00234 seconds