<div dir="ltr">Mark,<div><br></div><div>Have you tried using 'set z 1' (assuming that's your surface level)?</div><div><br></div><div>Stephen</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 11, 2018 at 5:24 PM, Mark Sponsler <span dir="ltr"><<a href="mailto:msponsler@comcast.net" target="_blank">msponsler@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

    
<div><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333">Hi,</p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333">I have a script that loops through a time interval, captures surface level data then steps up through levels 1000 - 500 mb collecting data at each. <br></p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333"><br></p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333">The issue is, when the loop moves to the next time step, how to I reset the level ('set lev XXX') back to the surface?</p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333"><br></p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333">I issue the 'clear' command when wrapping up the time step, but I keep getting undefined results for my surface variables (tmp2m, apcpsfc, csnowsfc) after the first time step, making me think that my 'lev' is still at 500 mb. <br></p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333"><br></p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333">Any ideas?<br></p><p style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:#333333"><br></p><div class="m_-2540552916613570228io-ox-signature"><div><span style="font-size:small" size="2">Thanks,<br>Mark</span></div></div></div>
 <br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>

<br>
<pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">******************************<wbr>*********************</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">The information contained in this e-mail message </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">is intended only for the use of the recipient(s) </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">named above and may contain information that is </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">privileged, confidential, and/or proprietary. </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">If you are not the intended recipient, you may not</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">review, copy or distribute this message. If you have</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">received this communication in error, please notify </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">the sender immediately by e-mail, and delete the original message.</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">******************************<wbr>*********************</pre>