[ncl-talk] Undefined function wetbulb()
Dennis Shea
shea at ucar.edu
Wed Mar 16 10:02:54 MDT 2016
Hi Tristan,
This is a 6.4.0 function. I did not identify it as such in the
documentation. My bad!
I have added the identifier.
http://www.ncl.ucar.edu/Document/Functions/Built-in/wetbulb.shtml
The underlying code is fortran because a Newton-Raphson style iteration is
used.
D
On Wed, Mar 16, 2016 at 9:34 AM, Tristan Ballard <tballard at stanford.edu>
wrote:
> Hello,
>
> I cannot seem to use the wetbulb() function. I receive the error:
>
> *"fatal:Undefined identifier: (wetbulb) is undefined, can't continue"*
>
> Is there an NCL script that I should be calling with 'load' each time or
> that I should reinstall?
>
> Thank you for your help,
> Tristan
>
>
>
> Example script:
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>
> begin
> p = (/1000, 975 , 850 /) ; hPa, mb
> tc = (/40 , 30 , 20 /) ; C
> tdc = (/27.6, 26.17, 14.37/) ; C
>
> twb = wetbulb(p, tc, tdc)
>
> end
>
>
> I'm running NCL 6.3.0.
>
>
> _______________________________________________
> 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/20160316/cc4fe00e/attachment.html
More information about the ncl-talk
mailing list