[ncl-talk] Subscript out of range error

Ipsita Putatunda ipsita.putatunda at gmail.com
Tue Sep 9 04:01:16 MDT 2014


Hi all,
   Am doing something similar to
http://www.ncl.ucar.edu/Applications/Scripts/scatter_5.ncl
this scatter plot. While doing this am getting error:

fatal:Subscript out of range, error in subscript #1
fatal:["Execute.c":7743]:Execute: Error occurred at or near line 28 in file

I have checked the dimension and size of my array at line 28.
Which gives :

Variable: data2d
Type: float
Total Size: 1568 bytes
            392 values
Number of Dimensions: 2
Dimensions and sizes:    [7] x [56]
Coordinates:
Number Of Attributes: 1
  _FillValue :    9.96921e+36

Variable: apr
Type: float
Total Size: 224 bytes
            56 values
Number of Dimensions: 1
Dimensions and sizes:    [56]
Coordinates:
Number Of Attributes: 1
  _FillValue :    9.96921e+36

But still am getting the same error. Any help will be appreciated.
My script is attached herewith.

Thanks in advance,
Ipsita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140909/b6bff3a1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IN2_point.ncl
Type: application/octet-stream
Size: 2582 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140909/b6bff3a1/attachment.obj 


More information about the ncl-talk mailing list