<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi, Rick
<div><br>
</div>
<div>I think that will help!</div>
<div><br>
</div>
<div>Thanks for the suggestion,</div>
<div>Kacie<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF334512" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Rick Brownrigg [brownrig@ucar.edu]<br>
<b>Sent:</b> Tuesday, October 04, 2016 7:23 PM<br>
<b>To:</b> Kacie Shourd<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] File Output Suffixes<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>Hi Kacie,<br>
<br>
</div>
The awkward numbering suffix to the filenames comes because PNG is not a multi-page/multi-frame file format, so multiple plots to the same workstation device cause this to happen. Perhaps one solution is to, after each plot you generate, you could delete the
 workstation variable (ie.g,&nbsp; delete(wks), which despite the verbiage, merely causes it to close the file), and then re-open a new workstation with the textual prefix you want it to have for the next plot. &nbsp;
<br>
<br>
</div>
Hope that helps!<br>
</div>
Rick<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Oct 4, 2016 at 7:56 PM, Kacie Shourd <span dir="ltr">
&lt;<a href="mailto:Kacie.Shourd@dri.edu" target="_blank">Kacie.Shourd@dri.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hello!!
<div><br>
</div>
<div>Just wondering if there's a way to manually define all, or at least change a handful of, my output file name suffixes. For example, the current method for file naming looks like this:&nbsp;</div>
<div><br>
</div>
<div>&nbsp; &nbsp; wks = gsn_open_wks(wksType,&quot;<wbr>myFileName&quot;)</div>
<div><br>
</div>
<div>And output for multiple plots would then be numbered in the order they are plotted:</div>
<div><br>
</div>
<div>&nbsp; &nbsp; myFileName.00001.png</div>
<div>&nbsp; &nbsp; myFileName.00002.png</div>
<div>&nbsp; &nbsp; myFileName.00003.png</div>
<div>&nbsp; &nbsp; etc.</div>
<div><br>
</div>
<div>Is it possible, in NCL, to have the files come out with defined strings as suffixes, such as:</div>
<div><br>
</div>
<div>&nbsp; &nbsp; myFileName.temp.png</div>
<div>&nbsp; &nbsp; myFileName.theta.png</div>
<div>&nbsp; &nbsp; myFileName.winds.png</div>
<div><br>
</div>
<div>or something like that?</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Kacie</div>
<div><br>
</div>
<div>---</div>
<div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; background:white">
<span style="font-size:10pt; font-family:&quot;Courier New&quot;">Kacie N. Shourd</span><span style="font-size:9.5pt; font-family:Arial,sans-serif; color:rgb(34,34,34)"></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; background:white">
<span style="font-size:10pt; font-family:&quot;Malgun Gothic&quot;,sans-serif">µå¸²</span><span style="font-size:9.5pt; font-family:Arial,sans-serif; color:rgb(34,34,34)"></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; background:white">
<span style="font-size:9.5pt; font-family:Arial,sans-serif; color:rgb(34,34,34)">&nbsp;</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; background:white">
<span style="font-size:10pt; font-family:&quot;Courier New&quot;; color:rgb(34,34,34)">Graduate Research Assistant</span><span style="font-size:9.5pt; font-family:Arial,sans-serif; color:rgb(34,34,34)"></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; background:white">
<span style="font-size:10pt; font-family:&quot;Courier New&quot;; color:rgb(34,34,34)">Desert Research Institute</span><span style="font-size:9.5pt; font-family:Arial,sans-serif; color:rgb(34,34,34)"></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; background:white">
<span style="font-size:10pt; font-family:&quot;Courier New&quot;; color:rgb(34,34,34)"><a href="mailto:Kacie.Shourd@dri.edu" style="color:rgb(149,79,114)" target="_blank"><span style="color:blue">Kacie.Shourd@dri.edu</span></a></span><span style="font-size:9.5pt; font-family:Arial,sans-serif; color:rgb(34,34,34)"></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; background:white">
<span style="font-size:10pt; font-family:&quot;Courier New&quot;; color:rgb(34,34,34)">Work:
<a href="tel:%28775%29%20674-7049" value="&#43;17756747049" target="_blank">(775) 674-7049</a></span></p>
</div>
</div>
<br>
<font size="2" face="Arial">PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email and responses, unless otherwise made confidential by law, may be subject to the Nevada Public Records laws and may be disclosed to the public upon request.</font>
</div>
<br>
______________________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>