comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how can i call a compiled fortran code from IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how can i call a compiled fortran code from IDL? [message #33965 is a reply to message #33961] Wed, 05 February 2003 17:58 Go to previous messageGo to previous message
mads is currently offline  mads
Messages: 15
Registered: January 2003
Junior Member
This is what I need to do. I need to integrate the kuusk canopy reflectance
model(5 .f files) into IDl code. I can use g77 and compile them into .exe
and call from IDL - in this case how do i do it? or i can call the fortran
code directly frm IDL. In this case how do I do it? If the explanation is
too complicated where online can I find it. If its impossible I might as
well recode all the fortran code in IDL . This will require that I learn
FORTRAN first :(
Please help me in these 2 options. I have to further automate everything to
train SNNS into recognising canopy types. So spawning and typing command
will not serve my purpose. I tried all resources but couldnt find relevant
info.
Please help
madhu
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.18ab6059c38ab974989ac9@news.frii.com...
> mads (madhu@erc.msstate.edu) writes:
>
>> I have a compiled FORTRAN code and I need to call it from a
procedure in
>> IDL. The FORTRAN code does not require any i/p. It reads everything from
a
>> data file and creates a data file as o/p.
>
> SPAWN would be the easiest and most fool-proof way.
>
> Cheers,
>
> David
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Postscript output mods
Next Topic: Re: XROI in IDL5.6 on MAC OS 10.2?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 06:44:45 PDT 2025

Total time taken to generate the page: 1.11931 seconds