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

Home » Public Forums » archive » cgscatter2d.pro 'keyword parameters not allowed to call' error
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: cgscatter2d.pro 'keyword parameters not allowed to call' error [message #91597 is a reply to message #91595] Tue, 04 August 2015 18:14 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Tuesday, August 4, 2015 at 5:10:12 PM UTC-4, Wayana Dolan wrote:

>> What am I doing wrong here? Do they both need to be float arrays, or should that not be an issue?

When you get the "Keyword parameters not allowed in call" it means that your setup is incorrect -- most likely because you have a an obsolete CG procedure in your !path (or in your current directory). You should get a traceback message along with the error, something like

Traceback Report from CGSCATTER2D:

% Keyword parameters not allowed in call.
% Execution halted at: CGSCATTER2D 501 /Users/wlandsma/pro/coyote/cgscatter2d.pro

which gives the line number where the error occurred. Look at that line to find the offending procedure being called.

Then follow step 4 of http://www.idlcoyote.com/code_tips/fixcoyoteprogram.php to find the obsolete procedure, e.g. to check on cgsetcolorstate.pro

IDL> print,file_which('cgsetcolorstate.pro')

(I actually prefer to use http://idlastro.gsfc.nasa.gov/ftp/pro/misc/findpro.pro which gives *all* versions of a procedure in one's !PATH -- with the first one being the one that is used, e.g.

IDL> findpro,'cgsetcolorstate' --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Error opening NetCDF - file
Next Topic: LINFIT CHISQ and SIGMA values are correct??

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

Current Time: Wed Oct 08 14:22:03 PDT 2025

Total time taken to generate the page: 0.00450 seconds