NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: netcdf and web: simple solution

On Thu, 4 Apr 1996, Dan Kelley wrote:

> I hope my little program is of use to folks out there.  If anybody can
> knows of the source of the libsx software, or cares to rewrite ncdumpx
> in more standard X11 code, please post a followup to this.

How 'bout this simple script (add xterm options as desired):

----------------cut here for a simple ncdumpx--------------------
#! /bin/csh -f

exec xterm -sl 500 -e csh -fc \
   'ncdump -h '"$1"' ; echo Press return to exit ; set junk = $<'
-----------------------------------------------------------------

----
            Peter Neelin (neelin@xxxxxxxxxxxxxxxxx)
            Positron Imaging Laboratories,
            Montreal Neurological Institute