I just wonder, why did i get this error message when i simply use
the my stat_dispersion function as follow:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "./stat_dispersion.ncl"
begin
[snip]
opt = True
opt@PrintStat = True
stat = stat_dispersion(temp(:,{10:50}), opt )
end
----
the error :
fatal:Subscript out of range, error in subscript #0
fatal:Execute: Error occurred at or near line 92 in file
./stat_dispersion.ncl
----
My variable is:
Variable: temp
Type: float
Total Size: 30240 bytes
7560 values
Number of Dimensions: 2
Dimensions and sizes: [lat | 21] x [lon | 360]
Coordinates:
lat: [ -10.. 10]
lon: [-180.. 179]
Number Of Attributes: 6
----
I attached the "stat_dispersion" file here.
Thank you for any response.
Xi
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Fri Jan 04 2013 - 15:32:29 MST