[ncl-talk] Human Discomfort index
Muhammad Omer Mughal
m.mughal1 at graduate.curtin.edu.au
Thu Sep 13 02:39:56 MDT 2018
Hi
I am trying to obtain the discomfort index using the following
a=addfile("../wrfout_d05_2016-04-01_00:00:00","r")
times=wrf_user_getvar(a,"times",-1)
ntimes=dimsizes(times)
do it =0,ntimes-1,1
t= wrf_user_getvar(a,"T2",it)
twb=wrf_user_getvar(a,"twb",it)
rh=wrf_user_getvar(a,"rh",it)
Index=heat_discoi_stull(t,twb,rh,(/0,0/),it)
print(Index)
end do
but I am getting the following warning and error
warning:Argument 4 of the current function or procedure was coerced to the appropriate type and thus will not change if the function or procedure modifies its value
fatal:Lt: Number of dimensions do not match, can't continue
My question is this error from the function heat_discoi_stull
Regards
Muhammad Omer Mughal
MSc BSc Mechanical Engineering
PhD Research Scholar
Remote Sensing and Satellite Research Group
Department of Imaging and Applied Physics
Curtin University
Curtin University
Tel | +61 8 9266 7962
Fax | +61 8 9266 2377
Mobile | 0470 237 525
Email | m.mughal1 at postgrad.curtin.edu.au<mailto:m.lynch at curtin.edu.au>
Web | http://curtin.edu.au<http://curtin.edu.au/>
Curtin University is a trademark of Curtin University of Technology.
CRICOS Provider Code 00301J (WA), 02637B (NSW)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180913/8bcb8ef2/attachment.html>
More information about the ncl-talk
mailing list