<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Jennifer, it works fine now.<br>
<br>
Jim<br>
<br>
<div class="moz-cite-prefix">On 1/3/14 12:43 PM, Jennifer Adams
wrote:<br>
</div>
<blockquote
cite="mid:66F4C681-E8A6-4A64-9A53-BE9C5018A419@cola.iges.org"
type="cite">Hi, Jim --
<div>I was able to reproduce this error. Not sure why it was
happening, but I tweaked the supplib configurations a bit by
updating the cairo version from 1.10 to 1.12 and gxprint is able
to write out PNG files now. I don't do much testing on the older
laptop so this problem escaped my notice. </div>
<div><br>
</div>
<div>I have just replaced the tarball on our FTP server:</div>
<div><a moz-do-not-send="true"
href="ftp://cola.gmu.edu/grads/2.1/grads-2.1.a1-bin-darwin9.8.tar.gz">ftp://cola.gmu.edu/grads/2.1/grads-2.1.a1-bin-darwin9.8.tar.gz</a></div>
<div>--Jennifer</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div>
<div>On Jan 3, 2014, at 3:40 PM, James T. Potemra wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000"> <br>
I'm using GrADS 2.1.a1 on a Mac (OS-10.6.8). The print
command gxprint seems to work fine for<br>
.ps, .eps and .pdf extensions, but when I try to make a
.png file I get a file of zero size. For example,<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
'sdfopen <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://nomads.ncep.noaa.gov:9090/dods/gfs_2p5/gfs_2p520131205/gfs2p5_00z">http://nomads.ncep.noaa.gov:9090/dods/gfs_2p5/gfs_2p520131205/gfs2p5_00z</a>'<br>
'd tmp2m'<br>
'gxprint test.png x1024 y768'<br>
<br>
gives a file called test.png of size zero. Replacing
test.png with test.ps, test.eps or test.pdf all <br>
give proper files.<br>
<br>
Thanks in advance for any ideas,<br>
<br>
Jim<br>
<br>
Here's my config info:<br>
<br>
Config: v2.1.a1 little-endian readline grib2 netcdf
hdf4-sds hdf5 opendap-grids,stn geotiff shapefile cairo<br>
Grid Analysis and Display System (GrADS) Version 2.1.a1<br>
Copyright (c) 1988-2013 by the Institute for Global
Environment and Society (IGES) <br>
This program is distributed WITHOUT ANY WARRANTY <br>
See file COPYRIGHT for more information. <br>
<br>
Built Wed Dec 18 20:25:52 EST 2013 for
i386-apple-darwin9.8.0<br>
<br>
This version of GrADS has been configured with the
following options:<br>
o Built on a LITTLE ENDIAN machine<br>
o Athena Widget GUI DISABLED<br>
o Command line editing ENABLED <br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://tiswww.case.edu/php/chet/readline/rltop.html">http://tiswww.case.edu/php/chet/readline/rltop.html</a>
<br>
o GRIB2 interface ENABLED <br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://www.ijg.org">http://www.ijg.org</a>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.ece.uvic.ca/%7Emdadams/jasper">http://www.ece.uvic.ca/~mdadams/jasper</a>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2">http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2</a>
<br>
g2clib-1.4.0 <br>
o NetCDF interface ENABLED <br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.unidata.ucar.edu/software/netcdf">http://www.unidata.ucar.edu/software/netcdf</a>
<br>
netcdf 4.1.2 of Oct 4 2011 13:26:28 $ <br>
o OPeNDAP gridded data interface ENABLED<br>
o OPeNDAP station data interface ENABLED<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://iges.org/grads/gadoc/supplibs.html">http://iges.org/grads/gadoc/supplibs.html</a>
<br>
libgadap 2.0 <br>
o HDF4 and HDF5 interfaces ENABLED <br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://hdfgroup.org">http://hdfgroup.org</a>
<br>
HDF 4.2r6 <br>
HDF5 1.8.7 <br>
o GeoTIFF and KML/TIFF output ENABLED<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.libtiff.org">http://www.libtiff.org</a>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://geotiff.osgeo.org">http://geotiff.osgeo.org</a>
<br>
o KML contour output ENABLED<br>
o Shapefile interface ENABLED<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://shapelib.maptools.org">http://shapelib.maptools.org</a>
<br>
o Cairo graphics interface ENABLED <br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://cairographics.org">http://cairographics.org</a>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://cgit.freedesktop.org/pixman">http://cgit.freedesktop.org/pixman</a>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.freetype.org/index2.html">http://www.freetype.org/index2.html</a>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.freedesktop.org/wiki/Software/fontconfig">http://www.freedesktop.org/wiki/Software/fontconfig</a>
<br>
Cairo 1.10.0<br>
Pixman 0.21.2<br>
Freetype 2.4.3<br>
Fontconfig 2.8.0<br>
<br>
For additional information please consult <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://iges.org/grads">http://iges.org/grads</a><br>
<br>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a moz-do-not-send="true"
href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; font-size: 12px; "><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 moz-do-not-send="true"
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>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>