<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 14, 2009, at 2:50 PM, Ramon Solano wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear users,<br><br>I am working with a pretty large dataset (5400 col x 3600 row), and by now<br>reducing the spatial resolution is not a possibility.<br><br>Two questions:<br><br>1. When I try to diplay one image, GrADS notifies that an "Out of buffer space"<br>error happened, and even though the image is fully diplayed on the screen, the<br>hard copy (a .png file) is truncated (I got only about 90% of the image). Is<br>there a way to increase the buffer size or another way to cope with this<br>problem? I'd be willing to try even a source compilation if necessary.</div></blockquote>When you invoke GrADS, use the -m NNN option. </div><div>This sets metafile buffer size to NNN, which must be an integer. Default value is 1000000.</div><div><br><blockquote type="cite"><div><br>2. For high resolution datasets showed on screen or printed at large scale, what<br>is the resampling technique used by GrADS to select the final output for a given<br>pixel (NN, BIL, etc)? I.e., a pixel on screen or on an image has several pixels<br>underneath, but only one value will be shown. Is there a way to control this<br>resampling?</div></blockquote>All of that is handled by the gd library. I have no idea what the algorithm is (might be in the library's documentation), but I do know that GrADS does not exploit the anti-aliasing option that is available in the newer version of the gd library. (Brian discovered it didn't work with line thicknesses, so he did not enable it.) I made this tiny plot and it has white pixels where text used to be:</div><div><br></div><div><img height="85" width="114" apple-width="yes" apple-height="yes" src="cid:D054F4E2-A05C-4703-AB2C-3E76656B9681"></div><div><br></div><div><br><blockquote type="cite"><div><br><br>Thanks in advance,<br>Ramon.<br>--<br>Ramon Solano, Research Specialist<br>Terrestrial Biophysics and Remote Sensing Lab.<br>Dept. of Soil, Water and Environmental Sciences<br>University of Arizona<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></body></html>