<div dir="ltr"><div class="gmail_default" style="font-size:small">Again, without a script, we can't tell what the problem might be. Your tickmarks are pointing in, which is strange. This seems to indicate that you are plotting your data with gsn_contour, and not gsn_csm_contour.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">One thing might be to try using gsn_csm_contour, and setting res@gsnYAxisIrregular2Linear = True</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style=""><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnYAxisIrregular2Linear">http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnYAxisIrregular2Linear</a><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">If you continue to have issues with this, *please* include a script. We might also have to ask for the data.</div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="">--Mary</div><div class="gmail_default" style=""><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 24, 2016 at 11:39 PM, sangeeta maharjan <span dir="ltr"><<a href="mailto:sangeetamaharjan@gmail.com" target="_blank">sangeetamaharjan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Xiaoming and Mary,<div><br></div><div>Thanks for your reply.</div><div>I am aware that it is a west-east cross section plot. I tried but could not add the minor tick marks in vertical axes. The values in ter_plane used in the scripts yields (max value is red in color (21th value)</div><div><p><span style="font-family:'Courier New'">Variable:
ter_plane<br>
Type: float<br>
Total Size: 272 bytes<br>
68 values<br>
Number of Dimensions: 1<br>
Dimensions and sizes: [Horizontal |
68]<br>
Coordinates: <br>
Number Of Attributes: 3<br>
_FillValue : 9.96921e+36<br>
units : m<br>
description : Terrain Height<br>
(0) 537.3745<br>
(1) 556.2093<br>
(2) 556.2093<br>
(3) 552.6631<br>
(4) 551.8929<br>
(5) 588.4611<br>
(6) 640.3762<br>
(7) 713.1735<br>
(8) 804.7409<br>
(9) 854.6913<br>
(10) 849.4119<br>
(11) 805.8835<br>
(12) 763.5001<br>
(13) 735.0173<br>
(14) 856.4299<br>
(15) 1169.83<br>
(16) 1492.322<br>
(17) 1652.575<br>
(18) 1694.905<br>
(19) 1765.424<br>
(20) 1889.178<br>
(21) <font color="#ff0000"> 1945.099</font><br>
(22) 1869.276<br>
(23) 1755.734<br>
(24) 1730.924<br>
(25) 1704.013<br>
(26) 1546.452<br>
(27) 1411.18<br>
(28) 1363.609<br>
(29) 1243.166<br>
(30) 1051.444<br>
(31) 936.7072<br>
(32) 941.271<br>
(33) 928.4125<br>
(34) 861.8909<br>
(35) 960.158<br>
(36) 1142.136<br>
(37) 1091.726<br>
(38) 925.554<br>
(39) 876.4838<br>
(40) 894.1756<br>
(41) 927.5086<br>
(42) 1036.723<br>
(43) 1188.228<br>
(44) 1198.813<br>
(45) 1186.619<br>
(46) 1269.593<br>
(47) 1163.258<br>
(48) 913.6985<br>
(49) 847.5559<br>
(50) 987.7681<br>
(51) 1175.981<br>
(52) 1240.032<br>
(53) 1103.708<br>
(54) 881.4406<br>
(55) 781.1543<br>
(56) 893.9818<br>
(57) 1047.922<br>
(58) 1127.229<br>
(59) 1131.302<br>
(60) 1081.057<br>
(61) 976.4305<br>
(62) 924.3822<br>
(63) 904.832<br>
(64) 861.3491<br>
(65) 830.9657<br>
(66) 798.5671<br>
(67) 748.0306<br>
</span></p></div><div>With reference to plot in the attachment, the temperature contour left and right of maximum peak is close to 1500 m so i fell that the the terrain height is reduced by some hundreds.</div><div><br></div><div>Regards</div><div>Sang.</div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 8:47 PM, xiaoming Hu <span dir="ltr"><<a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><span>I don't see anything wrong with your
plot. <br>
<br>
Are you questioning the interpolated terrain height is wrong? <br>
Since your angle is 90degree, basically west-east cross section.
It is very easy to check the terrain height yourself to see if the
interpolated terrain height by
wrf_CrossSection_add_smooth_terrain4.ncl is reasonable. <br>
<br>
Cheers!<br>
Xiaoming <br><br></span><div><span><hr>Date: Sun, 22 May 2016 09:38:27 +0545<br>From: <a href="mailto:sangeetamaharjan@gmail.com" target="_blank">sangeetamaharjan@gmail.com</a><br>To: <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>Subject: [ncl-talk] Managing terrain height in the script        wrf_CrossSection_add_smooth_terrain4.ncl<br><br></span><div><div><div dir="ltr"><span style="font-size:12.8px">Dear All,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have used the <span style="font-size:12.8px">wrf_CrossSection_add_smooth_</span><span style="font-size:12.8px">terrain4.ncl to study distribution of TKE</span><span style="font-size:12.8px"> along the cross section</span><span style="font-size:12.8px">. The problem is the height of terrain seems to lesser than the actual one. For example, the maximum terrain height with in the cross section has to be about 1900 meters but it is lesser by 300 meters in the plot generated by the script.</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Please find the sample of plot showing the reduced terrain height for your kind reference in the attachment.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I would appreciate any insight to manage the terrain heights in the script.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks & Regards.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Sang,</div></div>
<br></div></div><span>_______________________________________________
ncl-talk mailing list
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></span></div>                                            </div></div>
</blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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><br>
<br></blockquote></div><br></div>