<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yui_3_16_0_1_1449806328664_3916"><span></span></div><div></div><div id="yui_3_16_0_1_1449806328664_3918"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 16px;" id="yui_3_16_0_1_1449806328664_3858"><div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1449806328664_3857"><div dir="ltr" id="yui_3_16_0_1_1449806328664_3856"> </div> <div class="y_msg_container" id="yui_3_16_0_1_1449806328664_3860"><br><div id="yiv0499712637"><div id="yui_3_16_0_1_1449806328664_3863"><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;" id="yui_3_16_0_1_1449806328664_3862"><div><span></span></div><div></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3862">Hello Colleagues</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3862"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3862">This is my second request. I am using Grads version 2.0.1.oga.1 in a windows 7 platform and have been having a problem with calculating spatial correlation using the tcorr.gs script attached. </div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3837"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3836" dir="ltr">I have been trying to get spatial correlation of Dec- Feb rainfall against other parameters such as slp or sst or temperature in months for example July or June. I have a script I am using but it keeps on giving me the error "Data request error: Invalid grid coordinate. World coordinates convert to non-integer grid points".</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3992" dir="ltr"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3993" dir="ltr"> Can anybody help me solve this problem</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3999" dir="ltr"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4000" dir="ltr">Here is the script I was using and data attached</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4223" dir="ltr"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4001" dir="ltr"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4002" dir="ltr">**************************************************************************************************************<br id="yiv0499712637yui_3_16_0_1_1449575505393_4134">'Reinit'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4135">'set display color white'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4136">'c'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4137">'set mpdset hires'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4138">'set map 15 1 4'</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4139" dir="ltr">***ENSURE THAT THE RAINFALL DATA IS CORRECTLY DOWNLOADED ONLY FOR THE SPECIFIC MONTH</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4140" dir="ltr"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4141" dir="ltr">'sdfopen F:\OLD\RESEARCH_THESIS\DATA\NOAA\rainfall79.nc'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4142">'set x 1'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4143">'set y 1' <br id="yiv0499712637yui_3_16_0_1_1449575505393_4144">*'set z 1' <br id="yiv0499712637yui_3_16_0_1_1449575505393_4145">'set time jan1980 jan2010'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4146">'define RF = aave(prcp_est,lon=25,lon=33,lat=-22.5,lat=-15.5)'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4147">'close 1'</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4148" dir="ltr">***ENSURE THAT THE SSTL DATA IS CORRECTLY DOWNLOADED ONLY FOR THE SPECIFIC MONTH</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4149" dir="ltr"><br id="yiv0499712637yui_3_16_0_1_1449575505393_4150">'sdfopen F:\OLD\RESEARCH_THESIS\DATA\NOAA\AugSLP.nc'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4151">'set time jan1980 jan2010'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4152">'define pp=pressure'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4153">'set time jan1980'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4154">'define CORR1 = tcorr(RF, pp, time=jan1980, time=jan2010)'</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4155" dir="ltr"><br id="yiv0499712637yui_3_16_0_1_1449575505393_4156">'set lon -20 90'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4157">'set lat -50 20'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4158">'set gxout contour'<br id="yiv0499712637yui_3_16_0_1_1449575505393_4159">'d corr1'</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4160" dir="ltr"><br id="yiv0499712637yui_3_16_0_1_1449575505393_4161">'Draw title CORR (JAN RF, SST)'</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4162" dir="ltr">'gxyat F:\OLD\RESEARCH_THESIS\DATA\NcepDataMonthly\Corr.jpeg'</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4163" dir="ltr">;</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4164" dir="ltr">$$$$$$$$$$$$</div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4015" dir="ltr"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4016" dir="ltr"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4003" dir="ltr">Regards</div><div class="yiv0499712637signature" id="yiv0499712637yui_3_16_0_1_1449575505393_3827"><div id="yiv0499712637yui_3_16_0_1_1449575505393_3828"><font size="2">_ _ _<br></font><font id="yiv0499712637yui_3_16_0_1_1449575505393_3892" size="3">Shingirai S. Nangombe</font></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3828"><font size="3" id="yui_3_16_0_1_1449806328664_5207">Gradute Student</font></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3828"><font size="3" id="yui_3_16_0_1_1449806328664_5199">University of Zimbabwe</font></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3835"><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3826"><em id="yiv0499712637yui_3_16_0_1_1449575505393_3985"><font id="yiv0499712637yui_3_16_0_1_1449575505393_3984" color="#4c76a2" style="background-color:transparent;"></font></em><br></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_3986"><em><font color="#4c76a2"><br></font></em></div><div id="yiv0499712637yui_3_16_0_1_1449575505393_4108"><br></div></div></div></div></div><br><br></div> </div> </div></div></body></html>