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

Home » Public Forums » archive » Re: IDL Error GCPC data
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: IDL Error GCPC data [message #69345 is a reply to message #69219] Mon, 04 January 2010 17:13 Go to previous message
sampton is currently offline  sampton
Messages: 8
Registered: December 2009
Junior Member
On 29 déc 2009, 14:35, David Fanning <n...@dfanning.com> wrote:
> sampton writes:
>> Now that Santa is gone back to IDL ;)
>> Itried the code but get some syntax error handling in this code and
>> here is the error:
>> IDL> struct = Read_V2_1_file('gpcp_v2_1_psg.2009')
>
> If you are going to call it as a function, you are going
> to have to write it as a function. At the moment,
> your code is written as a procedure. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Hi,
Thanks again for your help,
I'm just wondering how I can save struct to data.txt after executing
the command under IDL:
IDL> read_v2_1, 'gpcp_v2.1_psg.1979', struct
I want to save struct to data.txt to be oppened with text editor under
windows (so data.txt wil be located under a spedcific folder say: c:
\cgcp\data.txt).
Thanks again
Sam.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fitting contours with ellipse
Next Topic: Re: Reducing a set of curves to a mean curve

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

Current Time: Sat Oct 11 22:01:11 PDT 2025

Total time taken to generate the page: 1.51280 seconds