<div dir="ltr">Mary,<div><br></div><div>I was trying with the following attached script. But vertical motion near the equator, as well as the 30S and 30N, shows rising motion in the output which is not correct in real term. Please kindly look into my script and figure and inform me what I am missing or doing any wrong in this.</div><div><br></div><div>Data structure is below;</div><div><br></div><div><div>Variable: t</div><div>Type: float</div><div>Total Size: 655360 bytes</div><div>            163840 values</div><div>Number of Dimensions: 4</div><div>Dimensions and sizes:   [time | 1] x [lev_p | 20] x [lat | 64] x [lon | 128]</div><div>Coordinates:</div><div>            time: [ 791.. 791]</div><div>            lev_p: [950..50]</div><div>            lat: [-87.8638..87.8638]</div><div>            lon: [ 0..357.1875]</div><div>Number Of Attributes: 1</div><div>  _FillValue :  9.96921e+36</div><div><br></div><div>Variable: u</div><div>Type: float</div><div>Total Size: 655360 bytes</div><div>            163840 values</div><div>Number of Dimensions: 4</div><div>Dimensions and sizes:   [time | 1] x [lev_p | 20] x [lat | 64] x [lon | 128]</div><div>Coordinates:</div><div>            time: [ 791.. 791]</div><div>            lev_p: [950..50]</div><div>            lat: [-87.8638..87.8638]</div><div>            lon: [ 0..357.1875]</div><div>Number Of Attributes: 1</div><div>  _FillValue :  9.96921e+36</div><div><br></div><div>Variable: v</div><div>Type: float</div><div>Total Size: 655360 bytes</div><div>            163840 values</div><div>Number of Dimensions: 4</div><div>Dimensions and sizes:   [time | 1] x [lev_p | 20] x [lat | 64] x [lon | 128]</div><div>Coordinates:</div><div>            time: [ 791.. 791]</div><div>            lev_p: [950..50]</div><div>            lat: [-87.8638..87.8638]</div><div>            lon: [ 0..357.1875]</div><div>Number Of Attributes: 1</div><div>  _FillValue :  9.96921e+36</div><div><br></div><div>Variable: w</div><div>Type: float</div><div>Total Size: 655360 bytes</div><div>            163840 values</div><div>Number of Dimensions: 4</div><div>Dimensions and sizes:   [time | 1] x [lev_p | 20] x [lat | 64] x [lon | 128]</div><div>Coordinates:</div><div>            time: [ 791.. 791]</div><div>            lev_p: [950..50]</div><div>            lat: [-87.8638..87.8638]</div><div>            lon: [ 0..357.1875]</div><div>Number Of Attributes: 1</div><div>  _FillValue :  9.96921e+36</div></div><div><br></div><div><br></div><div>Thanking you,</div><div>Jenny</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 1:17 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</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"><div class="gmail_default" style="font-size:small">Jenny,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In order to do plot overlays of different variables, you need to use the "overlay" procedure in NCL.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">--------<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">------<wbr>--</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">----<wbr>----</span></div><br></div><div class="gmail_default" style="font-size:small">The overlay procedure works one of two ways:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">[1] It overlays data from one plot (called the "overlay" plot) into the data space of another plot (called the "base" plot). </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The two plots must have intersecting data spaces for this to work. By "data space", I mean the range of the X and Y axes of the two plots must intersect. Otherwise, you will not see the overlay plot at all.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For an example, see overlay_8.ncl at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/overlay.shtml#ex8" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/overlay.shtml#ex8</a><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">[2] It simply "lines up" the two plots in the same rectangular region and draws them. It's not as common to do overlays this way, because it requires that you do all the work of making sure the two plots are in the same data space.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For an example, see overlay_9.ncl at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><a href="http://www.ncl.ucar.edu/Applications/overlay.shtml#ex9" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/overlay.shtml#ex9</a><br></div><div class="gmail_default" style="font-size:small"><br></div></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">------<wbr>--</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">--------</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">----<wbr>----</span><div class="gmail_default" style="font-size:small"><br class="m_8469251774671623798gmail-Apple-interchange-newline">It doesn't matter whether you are doing contour plots, vector plots, or XY plots: you can overlay any of these on another one using the "overlay" procedure.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The "overlay" examples page has several other scripts showing how to use the overlay procedure. In particular, you might want to look at overlay_1.ncl, overlay_6.ncl, and/or wrf_gsn_5.ncl:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><a href="http://www.ncl.ucar.edu/Applications/overlay.shtml" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/overlay.shtml</a></div><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">If you continue to have problems, please post back to ncl-talk and include your script and a "printVarSummary" of the data you are trying to plot.</div><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Thanks,</div><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">--Mary</div><div class="gmail_default" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Feb 16, 2018 at 9:59 AM, Jenny Taylor <span dir="ltr"><<a href="mailto:jenny63taylor91@gmail.com" target="_blank">jenny63taylor91@gmail.com</a>></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="auto">Dear NCL Users,<div dir="auto"><br></div><div dir="auto">I am trying to plot vector wind field at different pressure level for latitute range 40N-40S. I am following the below mention script;</div><div dir="auto"><a href="https://www.ncl.ucar.edu/Applications/Scripts/h_lat_7.ncl" target="_blank">https://www.ncl.ucar.edu/Appli<wbr>cations/Scripts/h_lat_7.ncl</a><br></div><div dir="auto"><br></div><div dir="auto">I am trying to overlay vertical motion (rising/sinking) in vector arrows and zonal wind in color scheme.</div><div dir="auto"><br></div><div dir="auto">Can anyone suggest me, in that case which funtion I need to use in it?</div><div dir="auto">Any help will be appriciated.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Jenny</div></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>