[ncl-talk] Daily average not working

ali mughal mughalali655 at gmail.com
Wed Sep 22 01:09:33 MDT 2021


Why is the following script providing error? I am using ncl 6.5

load "/opt/ncl-6.5/lib/ncarg/nclscripts/wrf/WRF_contributed.ncl"

a=addfile("BEM_April","r")
xb=a->TA_MEAN(24:695,0,:,:)
times=a->Times(24:695,:)
xb&Time :=  wrf_times_c(times, 0)
xbDayAvg = calculate_daily_values(xb, "avg", 0, False)

*Error*

fatal:Undefined identifier: (calculate_daily_values) is undefined, can't
continue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210922/7e7b85de/attachment.html>


More information about the ncl-talk mailing list