Hi again,
I found a "gamma" function that Dennis implemented for another user. Maybe it would work for you too.
I've attached the Fortran file, and a sample NCL script that uses it. You'll need to run WRAPIT on the Fortran file:
WRAPIT gamma_interface.f
This should create a "gamma_interface.so" file, which is loaded by "gam.ncl".
ncl gam.ncl
--Mary
On Jun 23, 2011, at 12:06 PM, pliu@notes.cc.sunysb.edu wrote:
> Hi,
>
> The pre-compiled ncl6.0.0 is installed.
> nm $NCARG_ROOT/bin/ncl | grep -i gamma
> 0000000000833a4d T gamma_
>
> However,http://www.ncl.ucar.edu/Document/Functions/Built-in/gamma.shtml
> returns
>
> xgam=gamma(x)
> fatal:Undefined identifier: (gamma) is undefined, can't continue
> fatal:Execute: Error occurred at or near line 9
>
> This error also occurs on mirage3.ucar.edu
>
> Is there anything missing?
>
> Thanks
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 23 14:02:25 2011
This archive was generated by hypermail 2.1.8 : Thu Jun 30 2011 - 12:54:44 MDT