[ncl-talk] integrate - Simpne

Chathurika chatu at scsio.ac.cn
Fri Jul 23 08:16:21 MDT 2021


Dear Dennis,




Millions of thanks for the clarification. I could use the 'simpne' for integral of T(t,x,y). 




Could you please tell me How can I use this function for integral y.T(t,x,y)?




Thanks again and best regards,

Chathu



-----Original Messages-----
From:"Dennis Shea" <shea at ucar.edu>
Sent Time:2021-07-22 03:24:34 (Thursday)
To: Chathurika <chatu at scsio.ac.cn>
Cc: ncl-talk <ncl-talk at ucar.edu>
Subject: Re: [ncl-talk] integrate - Simpne


The documentation for simpne  states it uses 3 points

simpne - Integrates a sequence of unequally or equally spaced points using Simpson's three-point formula.



Hence: 2 points will not work.
====================================



Possibly: the ftcurvi  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






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


Specialized in Oceanography and Marine Geology (Bachelor)
University of Ruhuna
Matara
Sri Lanka


Email : wickramagechathurika at rocketmail.com
chatu at scsio.ac.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210723/1a642673/attachment.html>


More information about the ncl-talk mailing list