Re: IDL8.0 Total - keyword dimension not allowed [message #74647] |
Wed, 26 January 2011 03:46 |
Gray
Messages: 253 Registered: February 2010
|
Senior Member |
|
|
On Jan 25, 9:08 pm, kisCA <ki...@hotmail.com> wrote:
> On Jan 25, 5:35 pm, Heinz Stege <public.215....@arcor.de> wrote:
>
>
>
>
>
>
>
>
>
>> On Tue, 25 Jan 2011 17:27:47 -0800 (PST), kisCA wrote:
>>> HI there,
>
>>> I was trying to make :
>
>>> inteql=total(mp1,dimension=1,/nan)
>
>>> with mp1 FLOAT = Array[6, 192]
>
>>> but I read this on the prompt : % Keyword DIMENSION not allowed in
>>> call to: TOTAL
>
>>> I have check in help, and this keyword should be allowed...Do any of
>>> you got this problem ?
>
>>> Thanks
>
>> Sure, Dimension is a parameter and not a keyword. Type
>> inteql=total(mp1,1,/nan)
>
>> Greetings, Heinz- Hide quoted text -
>
>> - Show quoted text -
>
> My bet, thank!
>
> Cheers
I agree this is confusing, as every other similar routine has
dimension as a keyword. Consistency??
|
|
|
Re: IDL8.0 Total - keyword dimension not allowed [message #74650 is a reply to message #74647] |
Tue, 25 January 2011 18:08  |
kisCA
Messages: 78 Registered: January 2011
|
Member |
|
|
On Jan 25, 5:35 pm, Heinz Stege <public.215....@arcor.de> wrote:
> On Tue, 25 Jan 2011 17:27:47 -0800 (PST), kisCA wrote:
>> HI there,
>
>> I was trying to make :
>
>> inteql=total(mp1,dimension=1,/nan)
>
>> with mp1 FLOAT = Array[6, 192]
>
>> but I read this on the prompt : % Keyword DIMENSION not allowed in
>> call to: TOTAL
>
>> I have check in help, and this keyword should be allowed...Do any of
>> you got this problem ?
>
>> Thanks
>
> Sure, Dimension is a parameter and not a keyword. Type
> inteql=total(mp1,1,/nan)
>
> Greetings, Heinz- Hide quoted text -
>
> - Show quoted text -
My bet, thank!
Cheers
|
|
|
Re: IDL8.0 Total - keyword dimension not allowed [message #74651 is a reply to message #74650] |
Tue, 25 January 2011 17:35  |
Heinz Stege
Messages: 189 Registered: January 2003
|
Senior Member |
|
|
On Tue, 25 Jan 2011 17:27:47 -0800 (PST), kisCA wrote:
> HI there,
>
> I was trying to make :
>
> inteql=total(mp1,dimension=1,/nan)
>
> with mp1 FLOAT = Array[6, 192]
>
> but I read this on the prompt : % Keyword DIMENSION not allowed in
> call to: TOTAL
>
> I have check in help, and this keyword should be allowed...Do any of
> you got this problem ?
>
> Thanks
Sure, Dimension is a parameter and not a keyword. Type
inteql=total(mp1,1,/nan)
Greetings, Heinz
|
|
|