Home »
Public Forums »
archive »
Re: Mosaic<=>IDL
Re: Mosaic<=>IDL [message #1731] |
Mon, 21 February 1994 17:26 |
scollick
Messages: 8 Registered: November 1993
|
Junior Member |
|
|
Jim Blackwell (hrsblackwell@hrs.gsfc.nasa.gov) writes:
> Curious to know if anyone in IDL-land is or has worked on
> a script that would allow one to make calls to IDL from Mosaic ?
> Or, for that matter to other like software packages or even to
> other external executables (say a FORTRAN or C program).
> I have some applications and wanted to save the effort if someone
> has done it already.
The mosaic interface for SkyView calls a shell script that in
turn runs an IDL commands. It's quite easy; all you need to
do is run IDL with a startup script. I've included the one
I use below.
If you need any further help don't hesitate to e-mail or call
--Keith A Scollick
x-8413
--- BEGIN skcall ----
#!/bin/sh
echo Content-type: text/html
echo
read AAAA
INPUT=$AAAA
export INPUT
#call IDL with startup script skmosaic
#skmosaic generates an image that's written as
#a GIF file to be displayed below
/usr/local/bin/idl /usr/local/etc/httpd/cgi-bin/skmosaic
echo '<h1>Here is your image!</h1>'
echo '<a href="http://skview.gsfc.nasa.gov/any.gif"> <img src=/any.gif></a>'
echo '<p>'
--- END skcall ---
|
|
|
Current Time: Thu Oct 09 14:28:54 PDT 2025
Total time taken to generate the page: 0.08147 seconds