[gradsusr] gxprint not making PNG images

Jennifer Adams jma at cola.iges.org
Fri Jan 3 17:43:38 EST 2014


Hi, Jim --
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.

I have just replaced the tarball on our FTP server:
ftp://cola.gmu.edu/grads/2.1/grads-2.1.a1-bin-darwin9.8.tar.gz
--Jennifer



On Jan 3, 2014, at 3:40 PM, James T. Potemra wrote:

>
> I'm using GrADS 2.1.a1 on a Mac (OS-10.6.8).  The print command  
> gxprint seems to work fine for
> .ps, .eps and .pdf extensions, but when I try to make a .png file I  
> get a file of zero size.  For example,
>
> 'sdfopen http://nomads.ncep.noaa.gov:9090/dods/gfs_2p5/gfs_2p520131205/gfs2p5_00z'
> 'd tmp2m'
> 'gxprint test.png x1024 y768'
>
> gives a file called test.png of size zero.  Replacing test.png with  
> test.ps, test.eps or test.pdf all
> give proper files.
>
> Thanks in advance for any ideas,
>
> Jim
>
> Here's my config info:
>
> Config: v2.1.a1 little-endian readline grib2 netcdf hdf4-sds hdf5  
> opendap-grids,stn geotiff shapefile cairo
> Grid Analysis and Display System (GrADS) Version 2.1.a1
> Copyright (c) 1988-2013 by the Institute for Global Environment and  
> Society (IGES)
> This program is distributed WITHOUT ANY WARRANTY
> See file COPYRIGHT for more information.
>
> Built Wed Dec 18 20:25:52 EST 2013 for i386-apple-darwin9.8.0
>
> This version of GrADS has been configured with the following options:
>   o Built on a LITTLE ENDIAN machine
>   o Athena Widget GUI DISABLED
>   o Command line editing ENABLED
>       http://tiswww.case.edu/php/chet/readline/rltop.html
>   o GRIB2 interface ENABLED
>       http://www.ijg.org
>       http://www.ece.uvic.ca/~mdadams/jasper
>       http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2
>       g2clib-1.4.0
>   o NetCDF interface ENABLED
>       http://www.unidata.ucar.edu/software/netcdf
>       netcdf 4.1.2 of Oct  4 2011 13:26:28 $
>   o OPeNDAP gridded data interface ENABLED
>   o OPeNDAP station data interface ENABLED
>       http://iges.org/grads/gadoc/supplibs.html
>       libgadap 2.0
>   o HDF4 and HDF5 interfaces ENABLED
>       http://hdfgroup.org
>       HDF 4.2r6
>       HDF5 1.8.7
>   o GeoTIFF and KML/TIFF output ENABLED
>       http://www.libtiff.org
>       http://geotiff.osgeo.org
>   o KML contour output ENABLED
>   o Shapefile interface ENABLED
>       http://shapelib.maptools.org
>   o Cairo graphics interface ENABLED
>       http://cairographics.org
>       http://cgit.freedesktop.org/pixman
>       http://www.freetype.org/index2.html
>       http://www.freedesktop.org/wiki/Software/fontconfig
>       Cairo 1.10.0
>       Pixman 0.21.2
>       Freetype 2.4.3
>       Fontconfig 2.8.0
>
> For additional information please consult http://iges.org/grads
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140103/ad8ee38e/attachment.html 


More information about the gradsusr mailing list