NCAR2CGM(1NCARG)

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

πŸ’– NCAR2CGM β€” ok bestie, let's talk CGM glow-ups πŸ’–

This is a page from the NCARG manual set. Buckle up, we're doing graphics metafile conversions and it's lowkey iconic.


✨ NAME ✨

cgm2ncgm, ncgm2cgm β€” the filter duo that converts NCAR CGM to/from vanilla CGM. Two-way street, both directions, we contain multitudes πŸ¦‹


🌸 SYNOPSIS 🌸

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

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

πŸ’… DESCRIPTION πŸ’…

Okay so listen. ncgm2cgm and cgm2ncgm are filters, right? They convert back and forth between NCAR Computer Graphics Metafile (CGM) and vanilla CGM. That's the whole gig, and they ate.

  • ncgm2cgm β€” strips the wrapper off NCAR CGM records. De-wrapping, if you will. Taking off the jacket πŸ’…
  • cgm2ncgm β€” puts the wrapper back on. Restoring it. Jacket back on, bestie, it's cold out there πŸ§₯

And the I/O? Done from standard in and standard out respectively. No file arguments, no drama, just pipes. Periodt.


⭐ OPTIONS ⭐

  • -s size β€” sets the block size, in bytes, for reads/writes of vanilla CGM. The default blocking factor is 1024. So if you don't say anything, it's 1024, no cap.
  • -V β€” prints the version number and then exits. That's it. That's the whole option. Short and slay ✨

πŸŽ€ SEE ALSO πŸŽ€

  • ISO/DIS 8632 CGM Functional Specification (Nov. 1985) β€” the source material, the blueprint, the origin story πŸ“œ

πŸ’€ BUGS πŸ’€

Not me having to tell you this but... some vanilla metafile interpretors take advantage of shortcuts provided by their CGM generators. Which means β€” and I cannot stress this enough β€” they are not true CGM interpretors. πŸ™ˆ

So here's the tea: it will still be possible to convert these metafiles to NCAR format, and those may be interpreted by NCAR Graphics translators. But it may not be the case that the aforementioned interpreters will be able to translate true vanilla metafiles β€” like, say, the ones produced by ncgm2cgm.

Translation: the shortcut-taking interpreters are giving fake CGM energy and true vanilla metafiles might just ghost them. 😭

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

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


Alright bestie, that's the whole page, you're officially educated πŸ’œ This was the NCARG manual, January 1993 edition β€” yeah she's vintage but she still serves. Go convert something. Mwah 🫢

πŸ“¦ where this page comes from