executing fortran/c executables via Mc-V?
executing fortran/c executables via Mc-V?
Would McIDAS-V be able to execute fortran programs via some sort of terminal and then have the data output from this fortran displayed within V. There had been some talk of doing this with GEOCAT in the past, would this ever become a supported component of V?
Re: executing fortran/c executables via Mc-V?
Two options come to mind...depending on your c/fortran application:
1. you can use the "os.system('command')" from a Jython formula or script to invoke your application; it would then write it's output to some file that the Jython script could then read
2. you could use the McIDAS-X "bridge" to run your application -- especially if it is, indeed, a Mc-X "command" that creates a display.
I should also add that the GEOCAT interface that was demo'd was more of a plug-in that communicated with the server...much like the LEAD interface did. If you want to have a dialog established, then you probably want to go beyond the simple Jython script and provide for a GUI (simple or otherwise)....which could, of course, still be coded in Jython and invoked as a "formula" in McIDAS-V
1. you can use the "os.system('command')" from a Jython formula or script to invoke your application; it would then write it's output to some file that the Jython script could then read
2. you could use the McIDAS-X "bridge" to run your application -- especially if it is, indeed, a Mc-X "command" that creates a display.
I should also add that the GEOCAT interface that was demo'd was more of a plug-in that communicated with the server...much like the LEAD interface did. If you want to have a dialog established, then you probably want to go beyond the simple Jython script and provide for a GUI (simple or otherwise)....which could, of course, still be coded in Jython and invoked as a "formula" in McIDAS-V