PRE2NCGM(1NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– PRE2NCGM β€” the glow-up page πŸ’–

okay so bestie, this is pre2ncgm from the NCAR GRAPHICS manual, section 1NCARG. It's a whole little tool that takes your old-school pre-CGM NCAR metafile and turns it into a shiny NCAR CGM. Let's get into it πŸ¦‹


✨ NAME ✨

pre2ncgm β€” convert a pre-CGM NCAR metafile to an NCAR CGM.


πŸŽ€ SYNOPSIS πŸŽ€

pre2ncgm [-n]

🌸 DESCRIPTION 🌸

So the pre2ncgm command is giving very much "glow-up artist" energy: it reads a pre-CGM NCAR metafile from standard input and writes an NCAR CGM file to standard output. Periodt. πŸ’…

And here's the slay part β€” when you plot it, the output file should have virtually the same appearance as the input file. no cap, the vibe is preserved 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • -n β€” when this option shows up, all text and header records that appear in the input file (the ones created by PRSIM, iykyk) are not copied to the output file. so like, bye bye text records ✨

🌈 EXAMPLES 🌈

okay so imagine you run this:

pre2ncgm < input-file > output-file

what's happening here is that input-file β€” which should lowkey be a pre-CGM NCAR metafile β€” gets read, and the equivalent NCAR CGM file gets written out to output-file). it's giving flawless conversion, fr fr πŸ’–

(yes, the closing paren is in the original. we don't fix it, we respect it πŸŽ€)

😭 DIAGNOSTICS 😭

various errors get detected by pre2ncgm and they get written to /dev/tty. so if something's wrong, it's gonna tell you directly β€” not through stdin/stdout shenanigans, straight to the tty. iconic honestly πŸ’€


πŸ“ FILES πŸ“

  • /usr/local/bin/pre2ncgm.run

🧚 VERSION 🧚

1.00 (1-Aug-90) β€” vintage but still serving ✨


πŸ’œ SEE ALSO πŸ’œ

  • ctrans(1NCARG)

Copyright (C) 1987-2002 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


okay that's the whole page, bestie, you ate it up πŸ’…πŸŒΈ

signing off from the NCAR crew β€” October 1990 energy, page PRE2NCGM(1NCARG), mwah 🫢✨

πŸ“¦ where this page comes from