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.
Sandy, >Date: Fri, 16 Apr 2004 12:07:46 -0400 >From: Sandy Sillman <address@hidden> >Organization: University of Michigan >To: Steve Emmerson <address@hidden> >Subject: Re: 20040415: netCDF on Linux with NAG fortran > Keywords: 200404012156.i31LuuCT013274 netCDF 3.5.1 The above message contained the following: > An additional question: ncdump does not work on my Linux PC, following > installation of netCDF. It generates the response: > > ncdump: Command not found. > > Is there a "trick" that I am missing here, to get ncdump to work? If you've installed the netCDF package, then you must ensure that the "bin" installation-directory of the package is referenced in your PATH environment variable. For example: $ ncdump bash: ncdump: command not found $ PATH=$PATH:/upc/netcdf/bin ncdump /dev/null ncdump: /dev/null: Not a netCDF file The above holds for all standard-conforming user shells. For non-standard shells (e.g., csh(1), tcsh(1)) the syntax is different: % ncdump ncdump: command not found % set path=($path /upc/netcdf/bin) % ncdump /dev/null ncdump: /dev/null: Not a netCDF file > Thanks, > Sandy Sillman > > > ----------------------------------------------------- > Sanford Sillman (Sandy) > Department of Atmospheric, Oceanic and Space Sciences > 2455 Hayward Street, Room 1541C SRB > University of Michigan, Ann Arbor MI 48109-2143 (USA) > > PHONE: 734-763-4217 FAX: 734-936-0503 (best) or 734-764-4585 > E-MAIL: address@hidden > WEB SITE: http://www-personal.engin.umich.edu/~sillman > ----------------------------------------------------- Regards, Steve Emmerson