NCARGPATH(8NCARG)

πŸ’– NCARGPATH πŸ’–

okay so bestie, welcome to ncargpath β€” it lives in section 8NCARG of the NCAR Graphics manual, and honestly? it's the little helper that everybody in the group chat relies on but nobody ever thanks. rude, honestly. πŸ’…


✨ NAME ✨

ncargpath β€” hand you the full pathname to a given NCAR Graphics directory, OR the default of a particular NCAR Graphics attribute. no cap, that's the whole job. 🫢


✨ SYNOPSIS ✨

ncargpath name

✨ DESCRIPTION ✨

so ncargpath takes one argument β€” either the shortened name of the directory whose full pathname you want, or the name of the attribute whose default value you want. that's it. one argument. main character energy but make it minimal. πŸŽ€

the way that several NCAR Graphics scripts literally depend on this thing to find the pathname to certain installables... iconic behaviour. for example, the script ncargex uses ncargpath to figure out where the directory that contains all the examples is installed. like, it's giving "backstage pass to the filesystem." πŸ”₯

here's every argument that's recognized β€” yes, all of them, I'm not skipping a single one, I would never do you like that πŸ’–:

  • bin β€” the directory where the NCAR Graphics binaries are installed.
  • config β€” the directory where the NCAR Graphics configuration files are installed.
  • data β€” the directory where the NCAR Graphics HLU and NCL example data files are installed.
  • database β€” the directory where the NCAR Graphics databases (like the Ezmap database) are installed.
  • doc β€” the directory where the NCAR Graphics PostScript documents are installed.
  • examples β€” the directory where the NCAR Graphics LLU Fortran and C examples are installed.
  • fontcap β€” the default fontcap being used. ⚠️ heads up bestie: this only returns a valid fontcap if the environment variable FONTCAP is set.
  • fontcaps β€” the directory where the NCAR Graphics fontcaps are installed.
  • gks_output β€” the default name of the metafile.
  • graphcap β€” the default graphcap being used. ⚠️ again: this only returns a valid graphcap if the environment variable GRAPHCAP is set.
  • graphcaps β€” the directory where the NCAR Graphics graphcaps are installed.
  • hluex β€” the directory where the NCAR Graphics HLU Fortran and C examples are installed.
  • include β€” the directory where the NCAR Graphics include files are installed.
  • lib β€” the directory where the NCAR Graphics libraries are installed.
  • man β€” the directory where the NCAR Graphics man pages are installed.
  • ncarg β€” the root directory where NCAR Graphics examples, databases, resource files, etc. are installed.
  • nclex β€” the directory where the NCAR Graphics NCL examples are installed.
  • ngwww β€” the directory where the NCAR Graphics HTML files are installed (if they were installed). πŸ™ˆ conditional queen.
  • ngurl β€” the URL for the NCAR Graphics documentation.
  • resfiles β€” the directory where resource files for the NCL and HLU examples are installed.
  • root β€” the parent directory where NCAR Graphics is installed.
  • sysappres β€” the directory where the NCAR Graphics systems application resource file is installed.
  • sysresfile β€” the directory where the NCAR Graphics system resource file is installed.
  • tests β€” the directory where NCAR Graphics LLU Fortran and C test examples are installed.
  • tmp β€” the directory where NCAR Graphics temporary files will be written.
  • tutorial β€” the directory where NCAR Graphics LLU tutorial C and Fortran examples are installed.
  • usrresfile β€” the directory where the NCAR Graphics user resource file is installed.
  • xapp β€” the directory where NCAR Graphics X application default files are installed.

🌈 SEE ALSO 🌈

Online: ncarg_env(5NCARG), ncarg_gks(3NCARG), ncargintro(5NCARG)

iykyk, go read those next, they're the rest of the lore. ✨


Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.

fr fr, read the License Agreement. it's not optional, bestie, it governs the whole vibe. πŸ’€

okay that's the whole page!! πŸ¦‹ this was NCARGPATH(8NCARG) from NCAR, dated November 1994 β€” yeah she's an elder but she ate and left no crumbs πŸ‘‘. go find your paths, you've got this πŸ’–πŸŒΈ