[ncl-talk] Warning: [CoordArrays.c":591]:No Valid values in Array, unable to compute Min or Max
Marston Johnston
shejo284 at gmail.com
Thu Oct 5 09:45:49 MDT 2017
Not to belabour this point that have been discussed here recently but have you read and tried to understand the error message?
“No Valid values in Array, unable to compute Min or Max”
Perhaps print out the array in question.
From: ncl-talk <ncl-talk-bounces at ucar.edu> on behalf of Aissatou Faye <aichafaye8 at gmail.com>
Date: Thursday, 5 October 2017 at 17:41
To: <ncl-talk at ucar.edu>
Subject: [ncl-talk] Warning: [CoordArrays.c":591]:No Valid values in Array, unable to compute Min or Max
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
_______________________________________________ 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/20171005/c9be3d43/attachment.html>
More information about the ncl-talk
mailing list