[ncl-talk] How to skip some data using ncl

Dennis Shea shea at ucar.edu
Thu Aug 18 17:48:02 MDT 2016


Not sure I understand your data structure

  x(time,...)  where time=0,12,24,36,...

   x00 = dim_avg_n_Wrap(x(::2,....), 0)      ; start at 00
   printVarSummary(x00)
   printMinMax(x00,0)

   x12 = dim_avg_n_Wrap(x(1::2,....), 0)    ; start at 12z
   printVarSummary(x12)
   printMinMax(x12,0)



On Thu, Aug 18, 2016 at 1:32 PM, Zhuming Ying <zhuming at ucar.edu> wrote:

> HI,
>
> I have  10-day data, each day has 12 hour fcst data (total 10x12 data). I
> need to do is averaging these data (10 days) on every  fcst hours (12
> data). But the problem is some data will missing (some day or some fcst
> hour in one day are missing). So my question is how to skip  these missing
> data in NCL?
>
> Thanks,
> Zhuming
>
> _______________________________________________
> 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/20160818/73c205e9/attachment.html 


More information about the ncl-talk mailing list