<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear NCL-experts,</div><div><br></div><div>I would like to plot the wavelet from a daily time series (40 summers; 121 days)</div><div>X axis is years and Y axis is Period (days).</div><div><br></div><div>The examples on the web page appear to be for one value per year only.</div><div><br></div><div>I attached the sample data to this email and the script from here: </div><div><a href="https://www.ncl.ucar.edu/Applications/wavelet.shtml">https://www.ncl.ucar.edu/Applications/wavelet.shtml</a><br><br></div><div>I encounter this error:</div><div><font color="#ff0000">fatal:NclOneDValGetRangeIndex: Non-monotonic coordinate value being used, can't complete coordinate subscript<br>fatal:Could not obtain coordinate indexes, unable to perform subscript<br>fatal:["Execute.c":8637]:Execute: Error occurred at or near line 92 in file wavelet.ncl</font><br></div><div><br></div><div>I would like to ask, what values should I put in these lines (for the power() and sig():</div><div><br></div><div><b>plot(0) = gsn_csm_contour(wks,power({0:43},0:121),res)</b></div><div><b>plot(1) = gsn_csm_contour(wks,SIG({0:43},0:121),res)</b><br></div><div><br></div><div>Is it correct to specify dt = 122 for the wavelet function?</div><div><br></div><div>I'll appreciate any help on this.</div><div><br></div><div>Sincerely,</div><div>Lyndz</div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div>