This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> I am trying to run a script from crontab that converts satellite data to > a png image. when I run the script I get the errors: > [GEMPLT -83] NDISP - DISPLAY not set or invalid > [IM 2] No part of image viewable within graphics area. > How can I resolve these errors. > > Jamie, The xw, gf, and png devices all require an X server to connect to. Ensure that your script has the DISPLAY environmental variable set to a valid display. If you are running from cron, you need to configure a virtual server (see Xvfb) to connect to since the console may not be available (unless you have logged in and have enabled the user to connect using the "xhost" command). Steve Chiswell Unidata User Support Ticket Details =================== Ticket ID: USV-507675 Department: Support GEMPAK Priority: Normal Status: Closed