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

Home » Public Forums » archive » Please help
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: please help [message #51231 is a reply to message #5448] Sat, 04 November 2006 08:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
creon writes:

> Maybe i should explain better. i have some observation data with
> time, object, filter and count in each column. the structure called
> data carries those.There are three diffrent filters U,B, and V. now i
> want to pick the data in V filter and write it to the structure dataV.
> i am new to idl programming so that loop is what i could find to do
> this task. is there any other way to do this? or am i doing something
> wrong?

My guess is that you are doing something wrong. Probably
making assumptions about your variables that aren't
correct--this is the most common reason for these
kinds of problems.

In any case, WE can't help you here. When your program
crashes, why don't you just take a look around? What is
I at that point? What is j? Are the variables you are
trying to subscript big enough to accommodate I and j?
The HELP command is, uh, well, helpful in figuring
these kinds of things out.

The error message indicates that either I or j are
bigger than you think they are, or your data
arrays are not the size you think they are. Only
you can tell us this. :-)

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Segmentation Fault
Next Topic: data removal from array

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

Current Time: Thu Oct 09 21:01:32 PDT 2025

Total time taken to generate the page: 0.80120 seconds