<div dir="ltr">Dear Jennifer,<div><br></div><div style>Thank you so much for your kind reply. Yes i was able to display 'c1-c2'. </div><div style><br></div><div style>After trying different ways of calculating a difference, i obtained correct results by defining the 'fut' and 'pas' at the end of file instead of the defining them during 'set dfile 1 and 2'.</div>
<div style><br></div><div style>I really appreciate your kind help as well.</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><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 19, 2014 at 3:08 AM, Jennifer Adams <span dir="ltr"><<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Are you able to 'd c1-c2' ? If not, then you will have to write out your intermediate results (fut and pas) using fwrite, create descriptors with the same time axis (should be a tsize of 1, right?), and then you'll be able to display the difference. <div>
--Jennifer</div><div><br><div><br><div><br><div><div><div class="h5"><div>On Apr 18, 2014, at 3:57 AM, mehwish ramzan wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><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>'set display color white'</div><div>'c'</div><div><br></div><div>'set lon 10 100'</div>
<div>'set lat -20 50'</div><div>'set mpdset hires'</div><div><br></div><div>'set dfile 1'</div><div>'set t 1 12'</div><div>'define c1= ave(prec, t+0, time=dec2050, 12)'</div>
<div>'modify c1 seasonal'</div><div>'define fut= ave(c1, t=6, t=8)'</div><div><br></div><div>'set dfile 2'</div><div>'set t 1 12'</div><div>'define c2 = ave(prec, t+0, time=dec2005, 12)'</div>
<div>'modify c2 seasonal'</div><div>'define pas= ave(c2, t=6, t=8)'</div><div><br></div><div>'define diff = fut - pas'</div><div><br></div><div>'d diff'</div>
<div><br></div><div>But i receive an error message. </div><div>'' cannot contour grids--- all undefined values''....</div><div><br></div><div>So please tell me where i am doing wrong in the above script? Or is there an alternate method to calculate it?</div>
<div><br></div><div><br></div><div>Thank you</div><div><br></div><div>With Best Regards,</div><div><br></div><div>Mehwish</div><div><br></div></div></div></div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br></div><br>
</span></span></div></span></span><br>
</div>
<br></div></div></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Mehwish RAMZAN<div>Doctoral Candidate,</div><div>====================================================================</div><div><span style="color:rgb(80,0,80)"> </span><span style="font-family:arial;font-size:small">Oki Laboratory / Yoshimura Laboratory</span><br>
</div><div style="font-family:arial;font-size:small"><font color="#666666">Available at:</font></div><div style="font-family:arial;font-size:small"><font color="#666666">Atmosphere and Ocean Research Institute, Kashiwa Campus, University of Tokyo,Japan</font></div>
<div style="font-family:arial;font-size:small"><font color="#666666"><b>Also at:</b>Institute of Industrial Science, Komaba Campus, University of Tokyo,Japan</font></div><div style="font-family:arial;font-size:small"><font color="#666666">phone : +81-80-4806-3962</font></div>
<div style="font-family:arial;font-size:small"><font color="#666666">email: <a href="mailto:mehwish@rainbow.iis.u-tokyo.ac.jp" target="_blank">mehwish@rainbow.iis.u-tokyo.ac.jp</a></font></div><div style="font-family:arial;font-size:small">
<font color="#500050"> </font></div><div><br></div><div><br></div></div>
</div>