[ncl-talk] Where does index start

Rick Brownrigg brownrig at ucar.edu
Tue Aug 2 07:08:20 MDT 2016


Hi,

NCL is zero-based, so 0--384.

If you are new to NCL, there are some good docs at the following link;  the
quick-reference card in particular is handy for syntax, etc.:

http://ncl.ucar.edu/Document/Manuals/

Hope that helps...
Rick

On Mon, Aug 1, 2016 at 11:38 PM, Jacob Alberto Garcia <
jacob_garcia at dlsu.edu.ph> wrote:

> Good day
>
> I am going to use this to get the average temperature from a wrfout file
>
> t2a_avg_part = dim_avg_n_Wrap(t2a(3:7,:,:), 0)
>
> If I have 385 time slices what do I input? Do I start at 1 to 385 or 0 to
> 384?
>
>
> Jacob
>
> <http://www.dlsu.edu.ph> <https://www.facebook.com/DLSU.Manila.100>
> <http://instagram.com/dlsu> <https://twitter.com/dlsumanila>
> <http://dlsumanila.tumblr.com/> <http://iblog.lasalle.ph/>
>
> DISCLAIMER AND CONFIDENTIALITY NOTICE
> The information contained in this e-mail, including those in its
> attachments, is confidential and intended only for the person(s) or
> entity(ies) to which it is addressed. If you are not an intended recipient,
> you must not read, copy, store, disclose, distribute this message, or act
> in reliance upon the information contained in it. If you received this
> e-mail in error, please contact the sender and delete the material from any
> computer or system. Any views expressed in this message are those of the
> individual sender and may not necessarily reflect the views of De La Salle
> University.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160802/5597c703/attachment.html 


More information about the ncl-talk mailing list