[ncl-talk] source code of function runave

Kevin Hallock hallock at ucar.edu
Wed Dec 5 10:22:23 MST 2018


Hi Chen,

The source code for the NCL function “runave” can be found in the files “ni/src/lib/nfpfort/runave_dp.f <https://github.com/NCAR/ncl/blob/master/ni/src/lib/nfpfort/runave_dp.f>” and “ni/src/lib/nfp/wrunave_W.c <https://github.com/NCAR/ncl/blob/master/ni/src/lib/nfp/wrunaveW.c#L372>”.

The actual computational algorithm is written in Fortran and exists in runave_dp.f as “DRUNAVE” and “DRUNAVX77”. The “runave_W” function in wrunave_W.c contains logic for handling input variables from NCL and looping across dimensions as appropriate.

I hope this helps,
Kevin

> On Dec 5, 2018, at 1:58 AM, Chen <kuroshio at 163.com> wrote:
> 
> Hello friends,
>   I am wondering where can I find the source code of function "runave".
>  Your help means a lot for me. Thank you.
> Best
> Chen
> 
> 
>  
> _______________________________________________
> 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/20181205/8702ccff/attachment.html>


More information about the ncl-talk mailing list