<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="gmail_extra"><br><div class="gmail_quote">Il 27 feb 2018 8:45 AM, "Nicholas Thomas Luchetti" <<a href="mailto:Nicholas.Luchetti@colorado.edu">Nicholas.Luchetti@colorado.edu</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_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_7588118936068790958gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_7588118936068790958gmail-Apple-converted-space"> </span>a = addfile("/Users/<wbr>nicholasluchetti/Build_WRF/<wbr>WRFV3/test/em_quarter_ss/<a href="http://wrfout_d01_simulation_1.nc" target="_blank">wrfou<wbr>t_d01_simulation_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_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_7588118936068790958m_-6366081495688069944Apple-interchange-newline"></div></div><div><div><div class="m_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_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 face="Calibri, Arial, Helvetica, sans-serif" size="2">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_7588118936068790958HOEnZb"><font color="#888888"><br></font></span></div></blockquote></div><span class="m_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_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_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 color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="2">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>