<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>'open rain_future.ctl'</div><div>'open rain_past.ctl'</div><div style>'set display color white'</div><div style>'c'</div><div style><br></div><div style>'set lon 10 100'</div>
<div style>'set lat -20 50'</div><div style>'set mpdset hires'</div><div style><br></div><div style>'set dfile 1'</div><div style>'set t 1 12'</div><div style>'define c1= ave(prec, t+0, time=dec2050, 12)'</div>
<div style>'modify c1 seasonal'</div><div style>'define fut= ave(c1, t=6, t=8)'</div><div style><br></div><div style>'set dfile 2'</div><div style>'set t 1 12'</div><div style>'define c2 = ave(prec, t+0, time=dec2005, 12)'</div>
<div style>'modify c2 seasonal'</div><div style>'define pas= ave(c2, t=6, t=8)'</div><div style><br></div><div style>'define diff = fut - pas'</div><div style><br></div><div style>'d diff'</div>
<div style><br></div><div style>But i receive an error message. </div><div style>'' cannot contour grids--- all undefined values''....</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>