<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi, Bob —
<div>This mixed bag of syntax options works for me: </div>
<div><br>
</div>
<div>
<div><font face="Courier" size="2">#!/bin/sh</font></div>
<div><font face="Courier" size="2">buffsz=200000</font></div>
<div><font face="Courier" size="2">script='font.gs 3'</font></div>
<div><font face="Courier" size="2">args='-lm '$buffsz</font></div>
<div><font face="Courier" size="2">/usr/local/grads/bin/grads $args -c "$script"</font></div>
<div><br>
</div>
<div>Mark’s comment that you should be careful not to allocate more memory than is available on your system is valid. If you are using version 2.1 then the -m option is not needed — GrADS will automatically allocate memory as needed to store the metabuffer
for your graphic. </div>
<div>—Jennifer</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>On May 10, 2016, at 1:44 PM, Bob Kuligowski - NOAA Federal <<a href="mailto:bob.kuligowski@noaa.gov">bob.kuligowski@noaa.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<p>All,</p>
<p> I'd like to make images of some larger datasets so I need to use e.g., grads -m 20000 to expand the buffer. However, when I try to use that particular argument in a shell script (instead of from the command line) the 20000000 trips it up; I've tried
a bunch of combinations and nothing seems to work. Is there another way to expand the buffer when running in batch mode? Thanks!
<br>
</p>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Bob Kuligowski, Ph.D.
Meteorologist
NOAA/NESDIS/Center for Satellite Applications and Research (STAR)
Mailing Address:
National Oceanic and Atmospheric Administration
NESDIS STAR/SMCD
Bob Kuligowski
NCWCP E/RA2
5830 University Research Court
2nd Floor, Office #2828
College Park, MD 20740-3818
Phone: (301) 683-3593
Fax : (301) 683-3616
<a class="moz-txt-link-freetext" href="http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php">http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php</a>
<a class="moz-txt-link-freetext" href="http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php">http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php</a>
</pre>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</body>
</html>