Re: VMS FORTRAN/GKS Graphics to PV-WAVE conversion [message #21077] |
Wed, 09 August 2000 00:00 |
Liam E. Gumley
Messages: 378 Registered: January 2000
|
Senior Member |
|
|
"Liam E. Gumley" wrote:
>
> curryks@my-deja.com wrote:
>> I wish to convert an existing FORTRAN program (with many, many
>> subroutines and GKS plot commands) into functional PVWave code. Does
>> anyone have any helpful hints as to how to go about this efficiently?
>
> The only way you can convert a FORTRAN program to IDL is to re-write it.
> No automated converter exists.
>
> Assuming your FORTRAN program contains a mixture of analysis and
> plotting, then you might consider sending the GKS commands (as text
> strings?) to an output file, and then writing an IDL interpreter for the
> GKS commands.
Alternatively, remove the plotting commands from your FORTRAN program
(but leave the analysis part intact), and then write the data from your
FORTRAN program into an ASCII or binary data file. Then use IDL to read
and plot the data.
I'd try this method first.
Cheers,
Liam.
|
|
|
Re: VMS FORTRAN/GKS Graphics to PV-WAVE conversion [message #21078 is a reply to message #21077] |
Wed, 09 August 2000 00:00  |
Liam E. Gumley
Messages: 378 Registered: January 2000
|
Senior Member |
|
|
curryks@my-deja.com wrote:
> I wish to convert an existing FORTRAN program (with many, many
> subroutines and GKS plot commands) into functional PVWave code. Does
> anyone have any helpful hints as to how to go about this efficiently?
The only way you can convert a FORTRAN program to IDL is to re-write it.
No automated converter exists.
Assuming your FORTRAN program contains a mixture of analysis and
plotting, then you might consider sending the GKS commands (as text
strings?) to an output file, and then writing an IDL interpreter for the
GKS commands.
Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
|
|
|
|