Fwd: Warning message?

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 03 2009 - 14:36:07 MST

Just FYI, Gina has figured out the problem with the 0 length dimension
warning message.
  -dave

Begin forwarded message:
>
> Subject: Re: Warning message?
>
> Hi David,
>
> I figured out the problem and it was and incomplete history tape at
> the end of my model run folder. Time had not yet been written to it.
>
> Thanks for your helpful suggestions,
> Gina.
>
> On Thu, Dec 3, 2009 at 3:15 PM, Gina Henderson <ginah@udel.edu> wrote:
> Hi David,
>
> thanks for getting back to me. The funny thing about the error is
> that I do that indexing read step twice in the script as I am
> processing data from two sets of history tapes. When I access the
> first set of tapes I get this warning.... but when I perform the
> loop on the on other set of tapes I get no warning. This is why I
> don't think it's an indexing problem.
>
> Could it be something set in the .nc files of the one set of history
> tapes?
>
> Thanks again for your suggestion,
> Gina.
>
>
> On Thu, Dec 3, 2009 at 3:07 PM, David Brown <dbrown@ucar.edu> wrote:
> 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
>
>
>
>
> --
> Gina Henderson
> Graduate Student
> Department of Geography
> 215 Pearson Hall
> University of Delaware
> Newark DE
> 19718-2541
>
> Email: ginah@udel.edu
> Ph: 302-831-2344
>
>
>
> --
> Gina Henderson
> Graduate Student
> Department of Geography
> 215 Pearson Hall
> University of Delaware
> Newark DE
> 19718-2541
>
> Email: ginah@udel.edu
> Ph: 302-831-2344

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 3 14:36:16 2009

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