Re: MJO - error in subscript

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Tue Aug 13 2013 - 16:31:07 MDT

Line 125 is actually the line:

 monInfo(nMon,0) = namMonth(imon(nt)-1)

and a few print statements to show nt, imon(nt) and nMon reveal that nMon ranges from 1-12, and at 12, it exceeds the bounds of monInfo (which is 12x2)

HTH -- Rick

On Aug 13, 2013, at 3:20 PM, Guilherme Martins <jgmsantos@gmail.com> wrote:

> Hi all,
>
> I'm run the script "mjoclivar_15.ncl". but I receive the error:
>
> fatal:Subscript out of range, error in subscript #0
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 125 in file mjoclivar_15.ncl
>
> I saw the line 125, and the problem I saw is in "nMon = nMon+1"
>
> because finish in 11 and not 12.
>
> The files are in attach.
>
> Thanks,
>
> Guilherme.
>
> --
> Guilherme Martins
> https://sites.google.com/site/jgmsantos/
>
> <mjoclivar_15.ncl><MJO_PC_INDEX.novo.nc>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Aug 13 16:31:17 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 14 2013 - 18:35:09 MDT