>
> Hi,
>
> I am using ncar graphics to create a gmeta file which has multi-frame,
> and I want to get a specific frame, suppose #3 frame.
>
> I know idt or ictrans can do it, but they are both interractive tools. I
> am wondering if I can use ctrans to do it because I try to write a c
> scripts file.
>
> The commond line may be like:
> ctrans -d hdf -res 400x400 -frame 3 myfile.ncgm > myfile3.hdf
> Thanks
>
> Peizhong
Dear Peizhong,
You might also want to consider using the med program for editing NCGM
files. In some ways, med seems simpler to use, since you wouldn't
need to bother with the ncarv_spool file. To create the output that
was given as an example, the user would type:
med -e '3 write frame3.ncgm' myfile.ncgm
ctrans -d hdf -res 400x400 frame3.ncgm > myfile3.hdf
The following URL gives more in depth information about med use:
http://ngwww.ucar.edu/ngdoc/ng4.0.1/fund/chp1-5/nview.html#HDR 3 38
--NCARG Talk Staff
This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:45:37 MDT