Re: 1-D version of local_max/local_min

From: Saji Hameed (saji AT hawaii.edu)
Date: Mon Sep 26 2005 - 10:08:37 MDT

  • Next message: Mike: "Weather font"

    Hi Dennis,

    Thanks for the very fast help. I tested the functions and with some minor
    changes it worked great for me.

    saji

    On Fri, 23 Sep 2005, Dennis Shea wrote:

    >> I am trying to find the local maxima of a 1-D time series and looked
    >> around for available functions within NCL to do this. The closest I came
    >> to were the functions local_max and local_min are for a 2-D array. It
    >> would be nice to have a similar function for a 1-D array.
    >
    > Hi Saji
    >
    > Attached you will find *untested* NCL functions
    > that [I hope] will work on 1D arrays.
    >
    > I did not program for the cyclic case. I must leave.
    >
    > good luck
    > D
    >
    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Mon Sep 26 2005 - 10:27:38 MDT