<div dir="ltr">Dear GrADS Community,<div><br></div><div>I need help your kind help. I am trying to make a differential map between JJA precipitation in mm/day for past and future climate using the same climate model with same resolution but with different time periods by using the following script;</div>
<div><br></div><div>&#39;open rain_future.ctl&#39;</div><div>&#39;open rain_past.ctl&#39;</div><div style>&#39;set display color white&#39;</div><div style>&#39;c&#39;</div><div style><br></div><div style>&#39;set lon 10 100&#39;</div>
<div style>&#39;set lat -20 50&#39;</div><div style>&#39;set mpdset hires&#39;</div><div style><br></div><div style>&#39;set dfile 1&#39;</div><div style>&#39;set t 1  12&#39;</div><div style>&#39;define c1= ave(prec, t+0, time=dec2050, 12)&#39;</div>
<div style>&#39;modify c1 seasonal&#39;</div><div style>&#39;define fut= ave(c1, t=6, t=8)&#39;</div><div style><br></div><div style>&#39;set dfile 2&#39;</div><div style>&#39;set t 1 12&#39;</div><div style>&#39;define c2 = ave(prec, t+0, time=dec2005, 12)&#39;</div>
<div style>&#39;modify c2 seasonal&#39;</div><div style>&#39;define pas= ave(c2, t=6, t=8)&#39;</div><div style><br></div><div style>&#39;define diff = fut - pas&#39;</div><div style><br></div><div style>&#39;d diff&#39;</div>
<div style><br></div><div style>But i receive an error message. </div><div style>&#39;&#39; cannot contour grids--- all undefined values&#39;&#39;....</div><div style><br></div><div style>So please tell me where i am doing wrong in the above script? Or is there an alternate method to calculate it?</div>
<div style><br></div><div style><br></div><div style>Thank you</div><div style><br></div><div style>With Best Regards,</div><div style><br></div><div style>Mehwish</div><div style><br></div></div>