[ncl-talk] stat_dispersion option

David Ahijevych ahijevyc at ucar.edu
Wed Dec 30 16:55:54 MST 2015


NCL Version 6.3.0


Perhaps this is expected behavior, but when I supply the option "True" to
the stat_dispersion function, I get an error because the "PrintStat"
attribute isn't defined.


Simple script:

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"

a = random_normal(0,50,(/64,128/))

STATX = stat_dispersion(a, True)

Warnings and Error:


warning:Attempt to reference attribute (PrintStat) which is
undefinedfatal:The result of the conditional expression yields a missing
value. NCL can not determine branch, see ismissing function

fatal:["Execute.c":8575]:Execute: Error occurred at or near line 12687 in
file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl


fatal:["Execute.c":8575]:Execute: Error occurred at or near line 4 in file
t.ncl

System:


Darwin pecan.mmm.ucar.edu 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18
16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64


On Wed, Dec 30, 2015 at 3:58 PM, David Ahijevych <ahijevyc at ucar.edu> wrote:

> NCL Version 6.3.0
>
>
> Perhaps this is expected behavior, but when I supply the option "True" to
> the stat_dispersion function, I get an error because the "PrintStat"
> attribute isn't defined. See attachment for simple script.
>
>
> Warnings and Error:
>
>
> warning:Attempt to reference attribute (PrintStat) which is
> undefinedfatal:The result of the conditional expression yields a missing
> value. NCL can not determine branch, see ismissing function
>
> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 12687 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
>
>
> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 4 in file
> t.ncl
>
> System:
>
>
> Darwin pecan.mmm.ucar.edu 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18
> 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151230/5cefadd8/attachment.html 


More information about the ncl-talk mailing list