Re: Storm Density

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 06 2014 - 14:34:13 MST

Hi Soumik,
It means you are trying to coordinate subscript with a value outside the
range of the coordinate variables.

Here's a simple example:
ncl 0> a = ispan(1,20,1)
ncl 1> time = ispan(1901,1920,1)
ncl 2> a!0 = "time"
ncl 3> a&time = time
ncl 4> print(a({1921}))
fatal:NclOneDValGetClosestIndex: finish coordinate index out of range,
can't continue
fatal:Could not obtain coordinate indexes, unable to perform subscript
fatal:["Execute.c":8565]:Execute: Error occurred at or near line 4

Adam

On 03/06/2014 02:19 PM, Soumik Basu wrote:
> Hi,
>
> I am trying to calculate storm density at each grid point using a ncl
> script. But I am getting this error. Can anybody please say what does
> this mean.
>
> fatal:NclOneDValGetClosestIndex: finish coordinate index out of range,
> can't continue
> fatal:Could not obtain coordinate indexes, unable to perform subscript
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 102
> in file cyclone_density_x1.ncl
>
> I am attaching the code.
>
> Thanks,
> Soumik
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
______________________________________________________________
Adam Phillips                                asphilli@ucar.edu
NCAR/Climate and Global Dynamics Division       (303) 497-1726
P.O. Box 3000				
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/staff/asphilli

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 6 14:34:25 2014

This archive was generated by hypermail 2.1.8 : Fri Mar 14 2014 - 15:08:52 MDT