[ncl-talk] Warning: [CoordArrays.c":591]:No Valid values in Array, unable to compute Min or Max

Aissatou Faye aichafaye8 at gmail.com
Thu Oct 5 09:41:40 MDT 2017


Dear NCL users,

I have a  problem I am getting a message error when I run my script  (warning:["CoordArrays.c":591]:No Valid values in Array, unable to compute Min or Max)  
Please find below my script and attached the data used.

I would appreciate any help and thank you fin advance.

Best,
Aissatou

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

path_data="/Volumes/Data/"
f=addfile(path_data + "chirpsbis-v2.0.1981_2015_days.nc","r")
h1=f->precip(:,:,:)
prMonthAvg = calculate_monthly_values(h1, "avg", 0, False)
printVarSummary(h1)

pre=clmMonTLL(prMonthAvg)
pr=rm_single_dims(pre)
printVarSummary(pr)
printMinMax(pr,True)

wks=gsn_open_wks("x11","annual_cycle")
res=True
res at gsnFrame=True
res at gsnDraw=True
mon=ispan(1,12,1)

plot=gsn_csm_xy(wks,mon,pr,res)

end



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171005/8446c645/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chirpsbis-v2.0.1981_2015_days.nc
Type: application/octet-stream
Size: 847818 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171005/8446c645/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171005/8446c645/attachment-0003.html>


More information about the ncl-talk mailing list