Re: Missing function wk_smooth121

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 25 2012 - 17:22:01 MST

Dave,

wk_smooth121 is a procedure and not a function.

    wk_smooth121( x )
not
    x = wk_smooth121( x )
or
    y = wk_smooth121( x )

--
It is prefaced with 'wk_' because it is specifically
to be used by the Wheeler-Kiladis space-time
suite of codes.
It alters the variable being passed.
    x = (/3.,4,6,3,7,2/)
    wk_smooth121( x )
Passing a temporary like (/3.,4,6,3,7,2/)
probably 'works' but can not return the altered values.
The is used by the 'diagnostics_cam.ncl' library.
It was not intended for general use but was documented
because I knew people would look at the 'diagnostics_cam.ncl' library
and I wanted some record of what it does.
We should probably add that to the doc.
D
On 01/25/2012 03:47 PM, Dave Allured wrote:
> NCL team,
>
> The function wk_smooth121 seems to be missing from NCL 5.2.1 and 6.0.0
> distributions.  I checked on both Linux and Mac OS.  It is listed as a
> built-in function.  There is no trace of it in the script libraries,
> either.  Am I missing something?
>
> --Dave
>
> mac56:~ 1>  ncl
>   NCAR Command Language Version 6.0.0
>   ...
> ncl 0>  x = wk_smooth121((/3.,4,6,3,7,2/))
> fatal:syntax error: line 0 before or near wk_smooth121
> x = wk_smooth121
> ---------------^
> ncl 1>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jan 26 05:22:10 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 02 2012 - 03:10:31 MST