[ncl-talk] Undefined function wetbulb()

Tristan Ballard tballard at stanford.edu
Wed Mar 16 09:34:52 MDT 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160316/74c98ce0/attachment.html 


More information about the ncl-talk mailing list