You are going to have to make additional "wrappers."
1. Build a library with FORTRAN-callable C routines.
2. Write a small piece of FORTRAN code that takes arguments from NCL and calls your C routines.
3. Put in the necessary lines and use WRAPIT on the FORTRAN code.
I have done this before and it works.
> Dear friends,
> I am doing a project using NCL and i am in a trouble.
> I require to develop an interface between NCL and C language.
> Unfortunately I could not find information or sample programs
> on this issue. I just require to read some ascii file and do
> manipulation and write another file, which will be an input to
> Program. NCL's ascii read is insufficient to my need. Wrapit
> also could not give me much idea as i could not find sufficient
> discn. or any examples.
> An early reply especially with some sample programs or links or
> clues is highly appreciated.
> Thanking you,
> -- seshagiri
> Meet your old school or college friends from
> 1 Million + database...
> Click here to reunite www.batchmates.com/rediff.asp
> ncl-talk mailing list
> ncl-talk AT ucar.edu
-- Joshua Hacker Advanced Studies Program NCAR/UCAR email: hacker AT ucar.edu voice: 303-497-8188 fax: 303-497-8171
_______________________________________________ ncl-talk mailing list ncl-talk AT ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Tue Sep 16 2003 - 16:09:07 MDT