Dear Mr. Chuck<div><br></div><div>Thank you very much for checking my script,</div><div><br></div><div>Here I attached 2 figures in this email. Figure by using log command (log.gif)</div><div>and figure without log command (without_log.gif)</div>
<div>Would you tell me about those figures, what should I do to make good figure</div><div>and easy to understant.</div><div><br></div><div>Thank you very much.</div><div><br></div><div>Best regards,</div><div>wendi</div>
<div><br><br><div class="gmail_quote">On Fri, Jul 13, 2012 at 2:53 AM, Charles Seman <span dir="ltr">&lt;<a href="mailto:charles.seman@noaa.gov" target="_blank">charles.seman@noaa.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Wendi,<br>
<br>
I&#39;m sorry but I don&#39;t know what you mean by &quot;strange result&quot;?<br>
<br>
Chuck<br>
<div class="im"><br>
On 07/12/2012 05:31 AM, wendi harjupa wrote:<br>
&gt; Dear Mr Chuck<br>
&gt;<br>
&gt; I am sorry I resend my email:<br>
&gt;<br>
&gt;     Thank you very much for your explanation,<br>
&gt;     I am sorry,  I want to ask you more...<br>
&gt;<br>
&gt;     If I have time series data is 4485, so can I make the script like this:<br>
&gt;<br>
&gt;     &#39;set t 1 4485&#39;<br>
&gt;     &#39;R=pow((pow(10, ref/10))/200,5/8)&#39;<br>
&gt;     &#39;set t 1&#39;<br>
&gt;     &#39;d sum(R/15, t=1, t=4485)&#39;<br>
&gt;<br>
&gt;     R=pow((pow(10, ref/10))/200,5/8) is formula to convert from Z (dBz)<br>
&gt;     to R (mm/hr)<br>
&gt;     to get value mm/hr, I have to use R/15.<br>
&gt;<br>
&gt;<br>
&gt; if I just want to make calculation and no need to convert to R,<br>
&gt; can I use this script :<br>
&gt;<br>
&gt; &#39;set t 1 4485&#39;<br>
&gt; &#39;set t 1&#39;<br>
&gt; &#39;R1=sum(ref, t=1, t=4485)&#39;<br>
&gt; &#39;d log(R1)&#39;<br>
&gt;<br>
&gt; I got strange result if I donot use log!<br>
&gt;<br>
&gt;<br>
&gt;     Thank you very much.<br>
&gt;<br>
&gt;     Best regards,<br>
&gt;     wendi<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     On Thu, Jul 12, 2012 at 6:32 AM, Charles Seman<br>
</div><div><div class="h5">&gt;     &lt;<a href="mailto:charles.seman@noaa.gov">charles.seman@noaa.gov</a> &lt;mailto:<a href="mailto:charles.seman@noaa.gov">charles.seman@noaa.gov</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;         Wendi,<br>
&gt;<br>
&gt;         An idea; set the time dimension to span t=1,15 for the<br>
&gt;         definition of &quot;R&quot;:<br>
&gt;<br>
&gt;         &#39;set t 1 15&#39;<br>
&gt;         &#39;R=pow((pow(10, ref/10))/200,5/8)&#39;<br>
&gt;         &#39;set t 1&#39; ;* see discussion below<br>
&gt;         &#39;d sum(R, t=1, t=15)&#39;<br>
&gt;<br>
&gt;         &#39;set t 1&#39;: for displaying sum; this is OK to go from time range to a<br>
&gt;         single time level to do the sum (see &quot;wild cards&quot; discussion at<br>
&gt;         <a href="http://grads.iges.org/grads/gadoc/variable.html#new" target="_blank">http://grads.iges.org/grads/gadoc/variable.html#new</a>); if left as<br>
&gt;         &#39;set t<br>
&gt;         1 15&#39;, I think you would get 15 time levels with same &quot;sum&quot;<br>
&gt;         result for<br>
&gt;         the display command... you could try it both ways to see what<br>
&gt;         you get...<br>
&gt;<br>
&gt;         Hope this helps,<br>
&gt;         Chuck<br>
&gt;<br>
&gt;         On 07/06/2012 05:53 AM, wendi harjupa wrote:<br>
&gt;          &gt; Dear Grads users,<br>
&gt;          &gt;<br>
&gt;          &gt; I have problem,<br>
&gt;          &gt; below is  my descriptor file<br>
&gt;          &gt;<br>
&gt;          &gt; DSET<br>
&gt;         /misc/home/wendi/data1/radar/kototabang/XDR/data/20040410/%d2%h2.dat<br>
&gt;          &gt; TITLE  RADAR<br>
&gt;          &gt; OPTIONS  TEMPLATE LITTLE_ENDIAN<br>
&gt;          &gt; UNDEF  -1000<br>
&gt;          &gt; XDEF    321 LINEAR    99.688120996    0.004492369<br>
&gt;          &gt; YDEF    321 LINEAR    -1.083708891    0.004522556<br>
&gt;          &gt; ZDEF    39  LINEAR   1.0 0.5<br>
&gt;          &gt; TDEF    15 LINEAR 21:00Z10apr2004  4mn<br>
&gt;          &gt; VARS    2<br>
&gt;          &gt; ref 39  99  Reflectivity(dBZ)<br>
&gt;          &gt; vel 39  99  Doppler Velocity(m/s)<br>
&gt;          &gt; ENDVARS<br>
&gt;          &gt;<br>
&gt;          &gt; As you see time is 15,<br>
&gt;          &gt;<br>
&gt;          &gt; I want to convert the ref (dbz) to Rain (mm/hr)<br>
&gt;          &gt; by using Z-R correlation formula, as below :<br>
&gt;          &gt;<br>
&gt;          &gt; &#39;pow((pow(10, R/10))/200,5/8)&#39;,<br>
&gt;          &gt;<br>
&gt;          &gt; Then I want to accumulate the rainrate for 1 hour,<br>
&gt;          &gt; I use this formula :<br>
&gt;          &gt;<br>
&gt;          &gt; &#39;sum(ref, t=1, t=15)&#39;<br>
&gt;          &gt;<br>
&gt;          &gt; But I got strange result.<br>
&gt;          &gt;<br>
&gt;          &gt; Here my complete gs file,<br>
&gt;          &gt;<br>
&gt;          &gt; &#39;reinit&#39;<br>
&gt;          &gt; &#39;set grads off&#39;<br>
&gt;          &gt; &#39;set mproj latlon&#39;<br>
&gt;          &gt; &#39;set mpdset hires&#39;<br>
&gt;          &gt; &#39;set gxout shaded&#39;<br>
&gt;          &gt; &#39;open RHI.ctl&#39;<br>
&gt;          &gt; &#39;set lon 100 100.8&#39;<br>
&gt;          &gt; &#39;set lat -0.45&#39;<br>
&gt;          &gt; &#39;set Z 1 19&#39;<br>
&gt;          &gt; &#39;set parea 1 7.5 2.8 8.3&#39;<br>
&gt;          &gt; &#39;set clevs 0 50 100 150 200 250 300 350 400 450 500 550 600&#39;<br>
&gt;          &gt; &#39;set ccols 9 14 4 11 5 13 3 10 7 12 8 2 6&#39;<br>
&gt;          &gt; &#39;R=pow((pow(10, ref/10))/200,5/8)&#39;<br>
&gt;          &gt; &#39;d sum(R, t=1, t=15)&#39;<br>
&gt;          &gt; &#39;run /misc/home/wendi/grads-2.0.1/cbarn 0.7 0.7 7.9 5.2&#39;<br>
&gt;          &gt; &#39;draw string  7.7 7.8 [dBz]&#39;<br>
&gt;          &gt;<br>
&gt;          &gt; Would you help me, about this,<br>
&gt;          &gt; please let me know, which part I got wrong<br>
&gt;          &gt;<br>
&gt;          &gt; Thank you very much!<br>
&gt;          &gt;<br>
&gt;          &gt; Best regards,<br>
&gt;          &gt; wendi<br>
&gt;          &gt;<br>
&gt;          &gt;<br>
&gt;          &gt; --<br>
&gt;          &gt; -------------<br>
&gt;          &gt; Wendi Harjupa. ST<br>
&gt;          &gt; ShimaneUniversityGraduateSchool ofEngineering Sciences<br>
&gt;          &gt; Department ofElectronic ControlSystems<br>
&gt;          &gt; RemoteSensingLaboratory<br>
&gt;          &gt; s119447<br>
</div></div>&gt;          &gt; Cellphone : <a href="tel:%2B81-080-4268-6676" value="+818042686676">+81-080-4268-6676</a> &lt;tel:%2B81-080-4268-6676&gt;<br>
&gt;          &gt; email : <a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a><br>
&gt;         &lt;mailto:<a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a>&gt;<br>
&gt;          &gt; &lt;mailto:<a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a><br>
<div class="im">&gt;         &lt;mailto:<a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a>&gt;&gt;<br>
&gt;          &gt;<br>
&gt;          &gt;<br>
&gt;          &gt;<br>
&gt;          &gt; _______________________________________________<br>
&gt;          &gt; gradsusr mailing list<br>
</div>&gt;          &gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a> &lt;mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
<div class="im">&gt;          &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;          &gt;<br>
&gt;<br>
&gt;         --<br>
&gt;<br>
&gt;         Please note that <a href="mailto:Charles.Seman@noaa.gov">Charles.Seman@noaa.gov</a><br>
</div><div class="im">&gt;         &lt;mailto:<a href="mailto:Charles.Seman@noaa.gov">Charles.Seman@noaa.gov</a>&gt; should be considered my NOAA<br>
&gt;         email address, not <a href="mailto:cjs@gfdl.noaa.gov">cjs@gfdl.noaa.gov</a> &lt;mailto:<a href="mailto:cjs@gfdl.noaa.gov">cjs@gfdl.noaa.gov</a>&gt;.<br>
&gt;<br>
&gt;         ********************************************************************<br>
&gt;            Charles Seman <a href="mailto:Charles.Seman@noaa.gov">Charles.Seman@noaa.gov</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:Charles.Seman@noaa.gov">Charles.Seman@noaa.gov</a>&gt;<br>
<div class="im">&gt;            U.S. Department of Commerce / NOAA / OAR<br>
&gt;            Geophysical Fluid Dynamics Laboratory         voice: (609)<br>
</div>&gt;         452-6547 &lt;tel:%28609%29%20452-6547&gt;<br>
<div class="im">&gt;            201 Forrestal Road                              fax: (609)<br>
</div>&gt;         987-5063 &lt;tel:%28609%29%20987-5063&gt;<br>
<div class="im">&gt;            Princeton, NJ  08540-6649 <a href="http://www.gfdl.noaa.gov/~cjs/" target="_blank">http://www.gfdl.noaa.gov/~cjs/</a><br>
&gt;         ********************************************************************<br>
&gt;<br>
&gt;         &quot;The contents of this message are mine personally and do not<br>
&gt;         reflect any<br>
&gt;         official or unofficial position of the United States Federal<br>
&gt;         Government,<br>
&gt;         the United States Department of Commerce, or NOAA.&quot;<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         gradsusr mailing list<br>
</div>&gt;         <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a> &lt;mailto:<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
<div class="im">&gt;         <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;     -------------<br>
&gt;     Wendi Harjupa. ST<br>
</div><div class="im">&gt;     ShimaneUniversityGraduateSchool ofEngineering Sciences<br>
&gt;     Department ofElectronic ControlSystems<br>
&gt;     RemoteSensingLaboratory<br>
&gt;     s119447<br>
</div>&gt;     Cellphone : <a href="tel:%2B81-080-4268-6676" value="+818042686676">+81-080-4268-6676</a> &lt;tel:%2B81-080-4268-6676&gt;<br>
&gt;     email : <a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a><br>
&gt;     &lt;mailto:<a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a>&gt;<br>
<div class="im HOEnZb">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; -------------<br>
&gt; Wendi Harjupa. ST<br>
</div><div class="HOEnZb"><div class="h5">&gt; ShimaneUniversityGraduateSchool ofEngineering Sciences<br>
&gt; Department ofElectronic ControlSystems<br>
&gt; RemoteSensingLaboratory<br>
&gt; s119447<br>
&gt; Cellphone : <a href="tel:%2B81-080-4268-6676" value="+818042686676">+81-080-4268-6676</a><br>
&gt; email : <a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a><br>
&gt; &lt;mailto:<a href="mailto:wendi@rslab.riko.shimane-u.ac.jp">wendi@rslab.riko.shimane-u.ac.jp</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
<br>
--<br>
<br>
Please note that <a href="mailto:Charles.Seman@noaa.gov">Charles.Seman@noaa.gov</a> should be considered my NOAA<br>
email address, not <a href="mailto:cjs@gfdl.noaa.gov">cjs@gfdl.noaa.gov</a>.<br>
<br>
********************************************************************<br>
  Charles Seman                                <a href="mailto:Charles.Seman@noaa.gov">Charles.Seman@noaa.gov</a><br>
  U.S. Department of Commerce / NOAA / OAR<br>
  Geophysical Fluid Dynamics Laboratory         voice: <a href="tel:%28609%29%20452-6547" value="+16094526547">(609) 452-6547</a><br>
  201 Forrestal Road                              fax: <a href="tel:%28609%29%20987-5063" value="+16099875063">(609) 987-5063</a><br>
  Princeton, NJ  08540-6649            <a href="http://www.gfdl.noaa.gov/~cjs/" target="_blank">http://www.gfdl.noaa.gov/~cjs/</a><br>
********************************************************************<br>
<br>
&quot;The contents of this message are mine personally and do not reflect any<br>
official or unofficial position of the United States Federal Government,<br>
the United States Department of Commerce, or NOAA.&quot;<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">-------------</span><br style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">
<span style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">Wendi Harjupa. ST                                            </span><br style="font-family:arial,helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">
<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Shimane</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">University</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Graduate</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">School of</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Engineering Sciences</span><br style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">
<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Department of</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Electronic Control</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Systems</span><br style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">
<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Remote</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Sensing</span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)"> </span><span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">Laboratory</span><div>
<span style="color:rgb(51,51,51);font-family:arial,sans-serif;font-size:16px;background-color:rgb(245,245,245)">s119447</span></div><div><font color="#333333" face="arial, sans-serif" size="3">Cellphone : +81-080-4268-6676</font></div>
<div><font color="#333333" face="arial, sans-serif" size="3">email : <a href="mailto:wendi@rslab.riko.shimane-u.ac.jp" target="_blank">wendi@rslab.riko.shimane-u.ac.jp</a></font></div><br>
</div>