[ncl-talk] Subscript out of range error

Ipsita Putatunda ipsita.putatunda at gmail.com
Tue Sep 9 05:01:33 MDT 2014


In continuation of my previous mail, I have a little query.
http://www.ncl.ucar.edu/Applications/Scripts/scatter_5.ncl in the same
script I simply tried to see how does it works with npts=56 instead of 300
and the same script is giving the similar error (Subscript out of range,
error in subscript #1) as am getting in my script. It is working only with
some larger number like 200 and above. Why is it happening? can anyone give
me some idea?

Thanks,
Ipsita

On Tue, Sep 9, 2014 at 3:31 PM, Ipsita Putatunda <ipsita.putatunda at gmail.com
> wrote:

> 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/e7aee42c/attachment.html 


More information about the ncl-talk mailing list