<div dir="ltr"><div class="gmail_default" style="font-size:small">Gin Lin,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Idt is a very old program, and the original developer is not part of our team any more.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">However, I&#39;m wondering if part of your issue is that idt is for viewing NCGM files, and not CGM files. An NCGM file is NCAR&#39;s special CGM format. I would be surprised if other programs were actually able to view NCGM files.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Did you try using &quot;ncgm2cgm&quot; to convert the NCGM to a CGM file?  You can also look at the ncgm2cgm.c and cgm2ncgm.c programs to see the code that converts from one format to another.  This might help you find the source of the problem.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;ve attached the two codes here.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Finally, you may want to read our &quot;CGM, Graphicap, and Fontcap Supplement&quot; document, which contains a section on the &quot;NCAR Computer Graphics Metafile&quot;.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style=""><a href="http://www.ncarg.ucar.edu/supplements/cgm_supp/cgm_supp.html">http://www.ncarg.ucar.edu/supplements/cgm_supp/cgm_supp.html</a><br></div><div class="gmail_default" style=""><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 22, 2015 at 9:57 PM,  <span dir="ltr">&lt;<a href="mailto:Gin.Lin@iisigroup.com" target="_blank">Gin.Lin@iisigroup.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Dear all:</div><div><br></div><div>First let me introduce our situation.</div><div><br></div><div>I am one member in CWB in Taiwan, 20 years ago someone write a program for AWIPS,</div><div><br></div><div>so we can view the CGM file by using AWIPS.</div><div><br></div><div>Recently, the format of the CGM files we get is changed, and this program cannot show the string information in the new CGM files.</div><div><br></div><div>You can see the attachments, the color one is what it looks like in idt,</div><div><br></div><div>and the green one is what it looks like in AWIPS,</div><div><br></div><div>and the messages marked by read lines in the idt picture disappeared in the AWIPS picture.</div><div><br></div><div>We want to edit this program to fix it.</div><div><br></div><div><br></div><div><br></div><div>I checked our program for AWIPS, but I can&#39;t find where is the function which print out the string information.</div><div><br></div><div>I think it may not belong to the TEXT element of class 4.</div><div><br></div><div>The files we have are all binary, so I can&#39;t read them.</div><div><br></div><div>I also tried to read the source code of idt but I can&#39;t understand it. Forgive me.</div><div><br></div><div><br></div><div><br></div><div>So, my questions are:</div><div><br></div><div>1. Where are the functions processing this string information in a CGM file?</div><div><br></div><div>or more briefly, how idt print out this information on the picture?</div><div><br></div><div>2. Where are the strings in a CGM file?</div><div><br></div><div>Do they belong to the class 4 TEXT element?</div><div><br></div><div>Or they are actually another element?</div><div><br></div><div><br></div><div><br></div><div>Thank you.</div><div><br></div><div>Gin Lin</div><div></div></font><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>