<div dir="rtl"><div dir="ltr" style="text-align:left"><span id="result_box" class="" lang="en"><span class="">Well</span> <span class="">I changed</span> <span class="">the lon and the lat  to 33 34 ,</span></span><span id="result_box" class="" lang="en"><span class="">And</span> <span class="">the script</span> <span class="">works fine</span><span class="">, I got</span> <span class="">a decimal</span> <span class="">result</span><span>,</span> <span class="">but it works.</span> <span class="">Attaching</span> <span class="">a screenshot</span> <span class="">of</span> <span class="">Grads.<br>
</span></span><span id="result_box" class="" lang="en"><span class="">The problem is</span> <span class="">that I</span> <span class="">must</span> <span class="">the</span> <span class="">relative</span> <span class="">humidity</span> <span class="">points</span> <span class="">I mentioned</span> <span class="">at the beginning 32  35   </span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">Which</span></span> </span></span><span id="result_box" class="" lang="en"><span class="">Located within</span> <span class="">inland.<br>
</span></span><span id="result_box" class="" lang="en"><span class="">You mentioned</span> <span class="">there is a possibility to &quot;</span></span>compute RH using surface data&quot;  .   <span id="result_box" class="" lang="en"><span class="">Can you</span> <span class="">give me</span> <span class="">an example of</span> <span class="">how to do it</span><span class="">,</span> <span class="">I am pretty new in</span> <span class="">Grads.<br>
<br></span></span></div><div dir="ltr" style="text-align:left"><span id="result_box" class="" lang="en"><span class="">Avi.<br></span></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">
2013/7/19 Mike Bosilovich <span dir="ltr">&lt;<a href="mailto:mike.bosilovich@gmail.com" target="_blank">mike.bosilovich@gmail.com</a>&gt;</span></div><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex">
<div dir="ltr"><div><div><div><div>This likely isn&#39;t a problem with grads.  Grads is returning the undef value. If you take a look at the region around that point, at 1000mb most land points are undef. This is because MERRA does not extrapolate to pressure levels &gt;  Ps.<br>

<br><a href="http://gmao.gsfc.nasa.gov/research/merra/pressure_surface.php" target="_blank">http://gmao.gsfc.nasa.gov/research/merra/pressure_surface.php</a><br><br></div>So, check PS to see if it is &lt; 1000mb.  It maybe a land point. If a water point is OK to use in your work, move just a bit into the Meditterenean Sea and you should find real values. but it is possible that there may be undeffs over water, if the Ps becomes &lt;1000.<br>

<br></div>If you really want data at this point, you can compute RH using surface data, or, there is a third party routine available to perform the extrapolation to values under the surface.<br><br><a href="https://reanalyses.org/atmosphere/extrapolation-merra-reanalyses-obtain-continuous-fields" target="_blank">https://reanalyses.org/atmosphere/extrapolation-merra-reanalyses-obtain-continuous-fields</a><br>

<br></div>If you find that this is not a grads issue, feel free to contact me offline, or use the <a href="mailto:merra-questions@lists.nasa.gov" target="_blank">merra-questions@lists.nasa.gov</a> listserv.<br><br></div>
Mike<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 19, 2013 at 5:51 AM, avi kojokro <span dir="ltr">&lt;<a href="mailto:kojokroavi@gmail.com" target="_blank">kojokroavi@gmail.com</a>&gt;</span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="rtl"><div dir="ltr" style="text-align:left"><span lang="en"><span>I&#39;m trying</span> <span>to calculate</span> <span>a monthly average of</span> <span>relative humidity,</span> <span>but the answer</span> <span>of</span> <span>Grads</span> <span>unreasonable</span><span>.</span><br>


<span>Is</span> <span>the script</span> <span>right?</span> <span>I attach</span> <span>it.</span><br><span>I am</span> <span>also</span> <span>attaching</span> <span>a</span> <span>screenshot</span> <span>of</span> <span>Grads</span> <span>answer</span><span>.<br>


<br></span></span></div><div dir="ltr" style="text-align:left"><span lang="en"><span>The </span></span><span lang="en"><span>Script: <br><br><br>&#39;reinit&#39;<br>
&#39;c&#39;<br>&#39;set display color white&#39;<br>&#39;c&#39;<br>&#39;sdfopen <a href="http://goldsmr3.sci.gsfc.nasa.gov:80/dods/MATMCPCLD" target="_blank">http://goldsmr3.sci.gsfc.nasa.gov:80/dods/MATMCPCLD</a>&#39;<br>

&#39;set lev 1000&#39;<br>
&#39;set lat 32.0&#39;<br>&#39;set lon 35.0&#39;<br>yr=1979<br>tt=&#39;&#39;<br>while(yr&lt;=2013)<br>&#39;set time 1MAY&#39;yr<br>&#39;q time&#39;<br>say &#39; &#39;result<br>*&#39;set gxout print&#39;<br>&#39;d rh&#39;<br>


tt1=subwrd(result,4)<br>tt=tt&#39; &#39;tt1<br>say &#39; &#39;result<br>yr=yr+1<br>endwhile<br>say &#39;apr <a href="tel:%281979-2013%29%20850" value="+19792013850" target="_blank">(1979-2013) 850</a>_hgt [m] : &#39;tt<br>

<br><br><br><br></span></span></div></div>
<br></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>
<br></blockquote></div><br></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></div>