<div dir="ltr"><div>Just to mention that <br><br><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml</a><br><br></div>could be quite useful. In particular, Example 2<br><br><pre><span style="font-family:arial,helvetica,sans-serif">  f    = <strong>addfiles</strong> (wrf_fils, "r")   ; note the "s" of <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml"><strong>addfile</strong></a>
  <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/ListSetType.shtml"><strong>ListSetType</strong></a> (f, "join")  <br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">If you have (say) 3 WRF files with the same dimension (eg: 3 different ensemble members) then<br><br>    T    = f[:]->T                ; read T from all files
   <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/printVarSummary.shtml"><strong>printVarSummary</strong></a> (T)


The <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/printVarSummary.shtml"><strong>printVarSummary</strong></a> procedure yields:

   Variable: T
   Type: float
   Total Size:  460800 bytes
                115200 values
   Number of Dimensions: 5
   Dimensions and sizes:   <b>[ncl_join | 3]</b> x [time|?] x  [lev | 5] x [lat | 48] x [lon | 96]<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Basically, you have 3 versions (ensemble members) of the same variable . <br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">This variable (data) structure facilitates  selecting individual ensemble members via the leftmost dimension.<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Really, using NCL's 'dim_*_n* fumctions alloes you to do a lot of statistics.<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Good luck<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif"><br></span></pre><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 2:56 PM, Nicholas Thomas Luchetti <span dir="ltr"><<a href="mailto:Nicholas.Luchetti@colorado.edu" target="_blank">Nicholas.Luchetti@colorado.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">Ahh! <br><br>Didn't think to do that! This makes plenty sense. I'll give this a try!<br><br>Many thanks! <br><br>Nick Luchetti</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 2:52 PM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@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="auto">It's still not clear to me. Why do you want to read the data in the same variable? Do you want to merge the data over time or still have 3 different lines?<div dir="auto"><br></div><div dir="auto">In the latter case you need 3 differnt variables a1, a2, a3 which you can then put in an array data=(/a1, A2, a3/) and plot with gsn_csm_xy. NCL will already interpret this as data with a shared x axis and plot it with 3 differnt lines.</div><div dir="auto"><br></div><div dir="auto">I suggest you to read the beginner guide of NCL. </div></div><div class="m_2150475589589938129HOEnZb"><div class="m_2150475589589938129h5"><div class="gmail_extra"><br><div class="gmail_quote">Il 27 feb 2018 8:45 AM, "Nicholas Thomas Luchetti" <<a href="mailto:Nicholas.Luchetti@colorado.edu" target="_blank">Nicholas.Luchetti@colorado.ed<wbr>u</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guido,<br><br>Thanks for the response. <br><br>I suppose I'm confused considering that the NCL WRF samples suggest using the "addfile" function to read in the data as so:<br><br>




<span></span>





<p class="m_2150475589589938129m_340931273965340203m_7588118936068790958gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_2150475589589938129m_340931273965340203m_7588118936068790958gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_2150475589589938129m_340931273965340203m_7588118936068790958gmail-Apple-converted-space"> </span>a = addfile("/Users/nicholasluchet<wbr>ti/Build_WRF/WRFV3/test/em_qua<wbr>rter_ss/<a href="http://secure-web.cisco.com/124RRQDniXpQP_mnEMBPYjNp_N4N8PBqZ60K61bo2n63M_HxMGayFHhB6l0uJywwpe7WHqr-LxyoQf718diKRQtIGTqtVfc0XCZnszB0isK5szD9AaakR2H9ts9MSqhw4vkPGJSMY6f2hYg0v0j9aUAofAmZ6h2l1-MUJ7Lt9xI6XmWwKN7iQs3BsjKz2FxwC7Es0--QrPC3KzJl45lrAEycZXWNUYr7IwvnATqDztdTrNRFLTPKCXQzxibrAyj5AqSbhE5WwTpL-0guBg_h99MXZx87Cb-4vAxLN_T4apcmUOXL0yBjMwq5i-owtY-jkkoIVoJSCfjSLsfjqU3cV7c-aG_hPgl4wxjkwDhVRFt7HhAS0ZPwxehOzj3IhLHRacxE-cnBOZF1T0pSuevzLj2ixkIcjkE_elizbYuucGySO200ukRp-scvrVIRqqyvF/http%3A%2F%2Fwrfout_d01_simulation_1.nc" target="_blank">wrfout_d01_simulation_<wbr>1.nc</a>","r")</span></p>


<br><div>That's for 1 simulation..... Can I add a second wrfoutput .nc file (with my second simulation) in the same variable a? I don't see how this is possible? <br><br>Thanks!<br><br>Nick Luchetti</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 2:39 PM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@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 style="word-wrap:break-word;line-break:after-white-space">Nicolas,<div>if the data is dimensioned the same in all simulations there is really nothing different from plotting 3 variables from the same simulation :) </div><div><br></div><div>Just read the data, put it in an array and plot it using gsn_csm_xy.</div><div><br></div><div>Otherwise you'll have to explain in detail why it doesn't work.</div><div><br></div><div>Cheers <br><div><br><blockquote type="cite"><div><div class="m_2150475589589938129m_340931273965340203m_7588118936068790958h5"><div>On 27. Feb 2018, at 07:57, Nicholas Thomas Luchetti <<a href="mailto:Nicholas.Luchetti@colorado.edu" target="_blank">Nicholas.Luchetti@colorado.ed<wbr>u</a>> wrote:</div><br class="m_2150475589589938129m_340931273965340203m_7588118936068790958m_-6366081495688069944Apple-interchange-newline"></div></div><div><div><div class="m_2150475589589938129m_340931273965340203m_7588118936068790958h5"><div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">Hi all,</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">I am trying to plot the same variable from 3 separate WRF runs (sensitivity type analysis) on the same x y plot... However, after scouring over all xy plot examples on the NCL help site, I can't find a clear cut way to do this.... All the examples seem have each line from 1 input data source (just sliced arrays from the same data source)...</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">Can you provide guidance, or a link to an example that plots the same variable, over the same time period, but from 3 different data sources? </span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">Thanks!</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;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">Nick Luchetti   </span><br clear="all"><div><br></div>-- <br><div class="m_2150475589589938129m_340931273965340203m_7588118936068790958m_-6366081495688069944gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px;font-family:Calibri,Arial,Helvetica,sans-serif"><font size="2">Nicholas Luchetti</font></span><div><div><font size="2" face="Calibri, Arial, Helvetica, sans-serif">Graduate Student<br>Department of Atmospheric and Oceanic Sciences (ATOC)<br>CU Boulder <br></font><div style="font-size:12.8px;font-family:Calibri,Arial,Helvetica,sans-serif"><br></div></div></div></div></div></div></div>
</div></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" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><span class="m_2150475589589938129m_340931273965340203m_7588118936068790958HOEnZb"><font color="#888888"><br></font></span></div></blockquote></div><span class="m_2150475589589938129m_340931273965340203m_7588118936068790958HOEnZb"><font color="#888888"><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="m_2150475589589938129m_340931273965340203m_7588118936068790958m_-6366081495688069944Apple-interchange-newline">Guido Cioni</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://secure-web.cisco.com/1g-90tMnR_YCu_cJsHHQIlV2s7gjyKNDfZTNaWvzzYXeGY26H6P5IicImdCBslB42b1QkIXGjv93SQ6ym8q39x6Dl2F7YsADUjIgc53fwtK_zy0ICUzxvOE_3pZxidLnp7SegehspEsmxR02PdeLKn-YLc7sWJ4d1bl9QTxCwgW8Xbyclm3g6xNj6qpyzRxQZLrjrS_X_w5No8PTahre2SjO_8xZy6ldiEvkHxwS_eOgcA0n8QG9qpVuyQpJ2wlfOkv66iuQAo9Mc9Au1P8CvA-nYKQ_Yy4NmIRXahEiOH_bNAN71MoKVn97RunUrB2EY7jHd5jBeGI6M2d1rpY0-CcaLysI2YVvooMze_SOW5PVxNS1FRnuUyl0rBC7LNxNQxp2AxKy4u3sVXRo_ThX2e1LzK0QfSzUnhMNcaGElWJejysRxWdLGsLCy4yVdlGSQ/http%3A%2F%2Fguidocioni.altervista" target="_blank">http://guidocioni.altervista</a>.o<wbr>rg</div>

</div>
<br></font></span></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_2150475589589938129m_340931273965340203m_7588118936068790958gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><font size="2">Nicholas Luchetti</font></span><div><div><font size="2" face="Calibri, Arial, Helvetica, sans-serif" color="#000000">Graduate Student<br>Department of Atmospheric and Oceanic Sciences (ATOC)<br>CU Boulder <br></font><div style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><br></div></div></div></div></div></div></div>
</div>
</blockquote></div></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_2150475589589938129gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><font size="2">Nicholas Luchetti</font></span><div><div><font size="2" face="Calibri, Arial, Helvetica, sans-serif" color="#000000">Graduate Student<br>Department of Atmospheric and Oceanic Sciences (ATOC)<br>CU Boulder <br></font><div style="font-size:12.8px;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif"><br></div></div></div></div></div></div></div>
</div>
</div></div><br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>