<div dir="ltr"><div><div><div><div><div>There are several issues with your code:<br><br></div>[1] You have 2 'do loops':<br> One loop reads and writes values<br></div> The 2nd is supposed to plot the values from the 5 grid points.<br></div> You did not save the values in the 1st loop so you are using the last values from the 1st loop. <br><br></div><div> Punch line: You should have one loop.<br></div><div><br></div>[2] <br><br></div>You imported CAPE via<br><br>cape = f->CAPE_P0_L1_GLC0 ; array<br><div><br>It should be<br><br>cape = f->CAPE_P0_L1_GLC0(nt,nn,mm) ; scalar<br><br>[3]<br><br></div><div>You tried to print cape as: cape(lv)<br></div><div>This is wrong. cape does not have levels.<br><br>[4] <br><br></div><div>You did not have a required resource for paneling skewT:<br><br> <a href="http://www.ncl.ucar.edu/Applications/skewt.shtml">http://www.ncl.ucar.edu/Applications/skewt.shtml</a><br></div><div>See Example 5<br></div><div><pre>skewtOpts@Panel = True ; Default is False</pre></div><div>[5]<br></div><div>As noted in example 5, the paneling does not allow the wind speed and direction to be included on paneled skewT. As noted in the example, the 'wmvect' output can not be paneled. This causes problems if you try to do that.<br><br>=========<br><br></div><div>Really, for you, I think 'manual paneling' is appropriate. See Example 8.<br><br></div><div>I modified your code to do 4 of your 5 points. I just don;t have the time to calculate where the 5th skewT should go. I also included a few other changes.<br><br></div><div>FYI: I think 5 skewT plots would yield a figure with very small images. <br><br></div><div>See attached<br><br></div><div>Good luck<br></div><div><div><div><div><div> <br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 20, 2016 at 11:22 AM, Michelle Serino <span dir="ltr"><<a href="mailto:mmserino@tamu.edu" target="_blank">mmserino@tamu.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">Good afternoon everyone,<br><div class="gmail_quote"><div dir="ltr"><div><br></div><div>With NCL version 6.3.0, I am trying to create a plot consisting of 5 skew-T panels with one panel at the top, two in the middle, and two on the bottom. I am varying the coordinates for each panel, and having them plotted together makes comparing them easier. I have attached my data (<a href="https://drive.google.com/file/d/0B0VUa1xUjt5GTktLNnBpcjl0WGs/view?usp=sharing" target="_blank">https://drive.google.com/<wbr>file/d/<wbr>0B0VUa1xUjt5GTktLNnBpcjl0WGs/<wbr>view?usp=sharing</a>), code, and the resulting plot. The problem I am having is getting the sounding for each set of coordinates to actually plot in each panel - currently, I have one sounding overlaid on five blank panels.</div><div><br></div><div>Included in my code, I am saving the sounding data generated from the <u>first</u> set of coordinates to a csv file. I am trying to add CAPE to the list of data that is written to the csv file, and I am having some trouble with that.</div><div><br></div><div>For both issues, I imagine that the fixes are not too involved. I am just having trouble getting there as I am not too strong in NCL. I really appreciate the help!</div><div><br></div><div>Michelle Serino</div><br clear="all"><div><div class="m_-6114451922556413842m_6607261809045221508gmail-m_-8395276723796579889m_-616641490954523384gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Michelle M. Serino<div>M.S. Candidate</div><div><span style="font-size:small">Texas A&M University</span><br></div><div>Atmospheric Sciences Dept.</div><div>Eller O&M, Suite 1017</div><div>College Station, TX 77843<br></div><div><a href="tel:%28484%29%20769-0949" value="+14847690949" target="_blank">(484) 769-0949</a></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div><br></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>