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 #92757 is a reply to message #92755] Thu, 25 February 2016 10:24 Go to previous messageGo to previous message
Sapna Mishra is currently offline  Sapna Mishra
Messages: 66
Registered: December 2015
Member
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??
[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 13:51:56 PDT 2025

Total time taken to generate the page: 0.00453 seconds