<div dir="ltr"><div>re: How can I plot for multiple centers? <br></div><div><br></div><div>Use a do loop:</div><div><pre>d<span style="font-family:arial,sans-serif">o nc_plot=0,nctr-1 ; loop over centers <br> :<br></span></pre><pre><span style="font-family:arial,sans-serif">end do<br>==============<br></span></pre><pre><span style="font-family:arial,sans-serif">re: How can I set x tick and y tick (-300,300) like radar_2 example?<br><br></span></pre><pre><span style="font-family:arial,sans-serif">radar_2 uses cartesian coordinates not lat/lon<br><br></span></pre><pre><span style="font-family:arial,sans-serif">A minor minor addition to place a grid over the middle figure.<br><br><a href="https://www.ncl.ucar.edu/Applications/regrid.shtml"><b>https://www.ncl.ucar.edu/Applications/regrid.shtml</b></a><br>Example 15<br><br></span></pre><pre><span style="font-family:arial,sans-serif">If you want to convert to cartesian, you will have to do that yourself.<br><br></span></pre><pre><span style="font-family:arial,sans-serif"><br></span></pre><pre><br></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 9, 2019 at 3:00 AM Md. Jalal Uddin <<a href="mailto:dmjalal90@gmail.com">dmjalal90@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you, sir. regrid_15 example works very well for one center (attached figure). <div><br></div><div>How can I plot for multiple centers? </div><div>How can I set x tick and y tick (-300,300) like radar_2 example? (<a href="https://www.ncl.ucar.edu/Applications/Scripts/radar_2.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/radar_2.ncl</a>)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 9, 2019 at 5:42 AM Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Not sure what you are asking: What does "my TRMM rainfall data" look like.</div><div>===<br></div><div><br></div><div>Generally: TRMM is on a 0.25 global rectilinear grid [400x1440] spanning 49.875S to 49.875N</div><br><div>===</div><div><br></div><div>If you have the latitudes and longitudes corresponding to some r,theta [say: plat(:,:), plon(:,:) ] then use</div><div><br></div><div>res@sfXArray = plon</div><div>res@sfYArray = plat</div><div><br></div><div>and use appropriate contour function.<br></div><div>====</div><div><br></div><div>If you want to specify some central location [clat, clon] then maybe</div><div><br></div><div><a href="http://www.ncl.ucar.edu/Applications/regrid.shtml" target="_blank"><b>http://www.ncl.ucar.edu/Applications/regrid.shtml</b></a></div><div>Example 15</div><div><br></div><div>If you do not want the plot over a map: eliminate 'mp' related resources and use (say) gsn_csm_contour instead of gsn_csm_contour_map. See the leftmost and center figures.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 7, 2019 at 11:53 PM Md. Jalal Uddin via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>How can I plot my TRMM rainfall data as a similar to radar_2 example (<a href="https://www.ncl.ucar.edu/Applications/Scripts/radar_2.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/radar_2.ncl</a>)?</div><div><br></div><div> How can I modify here?</div><div><br></div><div>angles = f->azimuth<br> angles(0:63) = angles(0:63)-360 ; fix to make angles monotonic<br><br> DEGTORAD = 0.017453292519943<br> xcenter = 0.0<br> ycenter = 0.0<br> radius = 960 * 0.25 ; this is radius in kilometers<br><br>; Create 2D coordinate arrays.<br> inc = radius / (dsizes(1) - 1)<br> x = inc * ispan(0,dsizes(1)-1,1) <br> angles2d = conform(dbz,angles,0)<br> x2d = conform(dbz,x,1)<br> xarr = xcenter + x2d * cos(DEGTORAD * angles2d)<br> yarr = ycenter + x2d * sin(DEGTORAD * angles2d)<br></div><div><br></div><div><br></div><div>Best wishes,</div><div>Jalal<br>-- <br><div dir="ltr" class="gmail-m_3696048888201059012gmail-m_3150498748219258595gmail-m_-8158346072190326871gmail-m_5968650812487375594gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="2" color="#000000"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_3696048888201059012gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="2" color="#000000"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>