[ncl-talk] reading station data

Dennis Shea shea at ucar.edu
Thu Dec 20 08:48:28 MST 2018


Attached is a a method to get appropriate times.

You can write code that finds indices that occur within the desired time
range.

Say:good luck

   1 hour: + /- 0.5 hours
   3 hour: +/- 1.5 hours
etc

    ii = ind(...)
    if (.not.ismissing(ii(0))) then
        AOT??? = avg(aot(ii))
    end if

good luck

On Wed, Dec 19, 2018 at 3:22 PM Debasish Hazra <debasish.hazra5 at gmail.com>
wrote:

> Hi,
> I am trying to use NCL to read station data observation which spans over a
> month and at irregular intervals. Idea is to produce observation averages
> around fixed time intervals in a day (like 3,6,9,12,15,18 and 21z) using 1
> hour windows. However, I am getting fill values in result, although valid
> observations are available at those times. Both input and ncl code is
> attached. Any help is appreciated.
> Thank you
> Debasish.
> _______________________________________________
> 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/20181220/646a454a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hazra_time.ncl
Type: application/octet-stream
Size: 1533 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181220/646a454a/attachment.obj>


More information about the ncl-talk mailing list