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

Home » Public Forums » archive » Re: MEAN function not working properly.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: MEAN function not working properly. [message #84372] Wed, 29 May 2013 11:04
Martín Garay-MacLea is currently offline  Martín Garay-MacLea
Messages: 4
Registered: May 2013
Junior Member
On Wednesday, May 29, 2013 1:40:40 PM UTC-4, Martín Garay-MacLean wrote:
> I am trying to use the mean function, in idl 8.1, with the NAN keyword. However, when I run it, it gives the error that the NAN keyword cannot be used with the mean function. I understand this was a problem before 7.1, and that it should not be happening in 8.1
>
>
>
> I checked the mean.pro file, and it does in fact have the NAN keyword in it. Hve anyone run into this?

Thank you very much. Problem is solved.

Martín
Re: MEAN function not working properly. [message #84373 is a reply to message #84372] Wed, 29 May 2013 10:48 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Martín Garay-MacLean writes:

> I am trying to use the mean function, in idl 8.1, with the NAN keyword. However, when I run it, it gives the error that the NAN keyword cannot be used with the mean function. I understand this was a problem before 7.1, and that it should not be happening in 8.1
>
> I checked the mean.pro file, and it does in fact have the NAN keyword in it. Hve anyone run into this?

You are finding a MEAN function from somewhere else on your IDL path. To
locate which one you are using, type this:

IDL> Print, File_Which('mean.pro')

Remove that one, or rearrange your IDL path directories, to get it
sorted out.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MEAN function not working properly.
Next Topic: Contour plot-Closed Polygon Intersection?

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

Current Time: Wed Oct 08 15:13:21 PDT 2025

Total time taken to generate the page: 0.00632 seconds