[ncl-talk] Undefined function wetbulb()

Kyle Griffin ksgriffin2 at wisc.edu
Wed Mar 16 09:54:53 MDT 2016


Tristan,

Please note the "Available in 6.4.0 and later" tag at the top of the
wetbulb page. 6.4.0 is as of yet unreleased.

https://www.ncl.ucar.edu/Document/Functions/Built-in/wetbulb.shtml

Since this is a built-in function, you will have to either wait for the
official release or a developer may offer you a test version if your use of
the function is particularly urgent. You may be able to use the function
now if you have access to the NCAR supercomputers, where a development
version of NCL is also maintained.


Kyle

On Wed, Mar 16, 2016 at 10: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/40ec7ce7/attachment.html 


More information about the ncl-talk mailing list