[comp.lang.idl-pvwave] NCAR graphics <-> PV-WAVE/IDL

axel@frostbite.Colorado.EDU (Axel Schweiger) (03/01/91)

Subject : NCAR cgm and PV-WAVE

Has anyone out there figured out a way to read an NCAR graphics CGM file
into PV-WAVE ?, or else to use NCAR graphics (v.3.0) CTRANS > to display
a PV-WAVE produced CGM file.

The issue is to combine a PV-WAVE image with a graphic overlay (geographic,
boundaries, grid etc). 

In this context, has anyone written PV-WAVE, IDL utilities that display
geographic data, (eg, CIA World Data Bank) data.

Thanks Axel

--
Axel Schweiger, University of Colorado, Boulder, CIRES
Tel:   303-492-2963
Email: axel@frostbite.colorado.edu
       schweiger@colorado.bitnet   

kristi@arbs1.larc.nasa.gov (Kristi Skeens) (03/07/91)

In article <1991Feb28.223628.29434@csn.org>, axel@frostbite.Colorado.EDU (Axel Schweiger) writes:
|> Subject : NCAR cgm and PV-WAVE
|> 
|> Has anyone out there figured out a way to read an NCAR graphics CGM file
|> into PV-WAVE ?, or else to use NCAR graphics (v.3.0) CTRANS > to display
|> a PV-WAVE produced CGM file.

An NCAR CGM has *extra stuff* stored in the first 32 bits of each record, therefore, if you stripped these out, the CGM is (in theory) readable by any CGM interpreter. NCAR Version 3.00 has a utility that does this, ncar2cgm, that converts an NCAR CGM to "vanilla" CGM format. cgm2ncar does the opposite. 

Hope this helps,
ks