<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Dear Suman </div><div> Hello, </div><div> Thank you very much for the guidence. I think you sort out the solution of my problem and this stuff will be useful for me. </div><div><br></div><div>Best Regards</div><div>Muhammad Salman Khalid</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: "Dr. Suman Maity" <suman.buie@gmail.com> </div><div>Date: 04/07/2019 15:21 (GMT+03:00) </div><div>To: GrADS Users Forum <gradsusr@gradsusr.org> </div><div>Subject: Re: [gradsusr] Spatial standard deviation </div><div><br></div></div>Dear Salman<br>Let me explain with an example:<br>Suppose you have temperature data and you want to calculate the<br>spatial standard deviation over a lat-lon box covering 65-100E,5-40N.<br>The grads script for calculation of spatial standard deviation will be<br>as follows:<br><br>sdfopen temp.nc<br>tempave=aave(sst,lon=65,lon=100,lat=5,lat=40)<br>ssd=sqrt(aave(pow(sst-tempave,2),lon=65,lon=100,lat=5,lat=40))<br>d ssd<br><br>which will give the spatial standard deviation over the domain.<br>I hope this will help you.<br><br>Best<br>Suman<br><br>On 7/4/19, salmankhalid29 <salmankhalid29@gmail.com> wrote:<br>> Dear All Hello I want to calculate the spatial standard deviation. So<br>> how i can do in grads. Can anyone guide me for that. Thank you very<br>> much.Best regardsMuhammad Salman KhalidSent from my Samsung Galaxy<br>> smartphone.<br><br><br>-- <br>++++++++++++++++++++++++++++++++++++<br>Dr. Suman Maity<br>Research Scientist<br>Interdisciplinary Program in Climate Studies<br>Indian Institute of Technology Bombay<br>Powai, Mumbai-400076, Maharashtra<br>India.<br>++++++++++++++++++++++++++++++++++++<br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></body></html>