[ncl-talk] integrate - Simpne
Dennis Shea
shea at ucar.edu
Wed Jul 21 13:24:34 MDT 2021
The documentation for *simpne *
<http://www.ncl.ucar.edu/Document/Functions/Built-in/simpne.shtml>states it
uses 3 points
*simpne* - Integrates a sequence of unequally or equally spaced points
using Simpson's t*hree-point formula*.
Hence: 2 points will not work.
====================================
Possibly: the *ftcurvi*
<http://www.ncl.ucar.edu/Document/Functions/Built-in/ftcurvi.shtml> could
be used
======================================
On Wed, Jul 21, 2021 at 9:36 AM Chathurika via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> Dear all,
>
>
> I want to integrate latitude (y) over the temperature (T(x,y)). I tried to
> use the function "simpne" but It gives me an error which is "Must have
> three or more non-missing values".
>
>
> Could you please suggest me an another way to do the integration?
>
>
> Millions of thanks and best regards,
>
> Chathu
>
>
> ------------------------------
>
>
>
> Wickramage Chathurika Hemamali
> Msc in Physical Oceanography
> State Key Laboratory of Tropical Oceanography
> South China Sea Institute of Oceanology
> University of Chinese Academy of Science
> China
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210721/ca255d90/attachment.html>
More information about the ncl-talk
mailing list