Re: Warning message?

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 03 2009 - 13:07:21 MST

Hi Gina,

This could be a problem. Is it possible that your time indexing
expression generates an invalid subscript at some point? If it checks
out okay than you might want to nail down exactly where and when in
your code this error is being generated.
  -dave

On Dec 3, 2009, at 12:08 PM, Gina Henderson wrote:

> Hi there,
>
> I am processing some data and writing the output to new files. I
> just automated it to run over a series of months but started to get
> the following error message:
>
> warning: FileReadVar: time contains a 0 length dimension
>
> The warning occurs after the following code:
> T_max(i,:,:,:,:) = a[:]->T(k:k+(ndys(nmon)-1),:,:,:)
> V_max(i,:,:,:,:) = a[:]->V(k:k+(ndys(nmon)-1),:,:,:)
> PS_max(i,:,:,:) = a[:]->PS(k:k+(ndys(nmon)-1),:,:)
>
> I plotted up the output for one month and all looks fine so I am
> trying to understand if this warning is a problem before I process
> further. Any help or advice would be greatly appreciated.
>
> Thanks, Gina.
>
> _______________________________________________
> 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 Thu Dec 3 13:07:27 2009

This archive was generated by hypermail 2.1.8 : Mon Dec 07 2009 - 16:12:30 MST