NCAR2CGM(1NCARG)

πŸ’– NCAR2CGM πŸ’–

okay bestie, welcome to the NCARG manual, this one's NCAR2CGM(1NCARG) and it's literally the little filter duo that moves your graphics files between NCAR-land and vanilla-land πŸ¦‹


✨ NAME ✨

cgm2ncgm β€” filter NCAR CGM to/from vanilla CGM

ncgm2cgm β€” filter NCAR CGM to/from vanilla CGM

(yes they're two icons sharing one page, we love a collab πŸ’…)


✨ SYNOPSIS ✨

ncgm2cgm [ -s output block size ] [ -V ]
cgm2ncgm [ -s input block size ] [ -V ]

✨ DESCRIPTION ✨

so ncgm2cgm and cgm2ncgm are filters that convert back and forth between NCAR Computer Graphics Metafile (CGM) and vanilla CGM 🌸

ncgm2cgm strips the wrapper off NCAR CGM records, and cgm2ncgm restores it. it's giving undo button, it's giving round trip πŸ”₯

I/O happens from standard in/out respectively β€” so yeah, pipe it, redirect it, whatever, she's flexible πŸŽ€


✨ OPTIONS ✨

  • -s size β€” set the block size in bytes for reads/writes of vanilla CGM. the default blocking factor is 1024 ⭐
  • -V β€” print the version number and then exit. that's it, she said bye πŸ‘‹

✨ SEE ALSO ✨

ISO/DIS 8632 CGM Functional Specification (Nov. 1985) πŸ“š


✨ BUGS ✨

ok so this is the messy part, no cap 😭

some vanilla metafile interpretors take advantage of shortcuts provided by their CGM generators. in effect, they are not true CGM interpretors πŸ’€

although it will still be possible to convert these metafiles to NCAR format that may be interpreted by NCAR Graphics translators, it may not be the case that the aforementioned interpreters will be able to translate true vanilla metafiles, such as produced by ncgm2cgm. so yeah, one-way street energy, vibe check accordingly πŸ™ˆ


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

The use of this Software is governed by a License Agreement. πŸ“œ


bestie if you're piping metafiles around at 3am, that's main character energy, but read the BUGS section first fr fr 🫢

NCARG Β· January 1993 Β· mwah, that's the whole page, slay πŸ’–βœ¨