Re: web/ftp access in IDL (and in VM) [message #40502] |
Mon, 16 August 2004 19:17  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Andrew Cool writes:
> You can certainly use Sockets to ftp data from a remote site.
> I've done this to read Topex data from
> ftp://podaac.jpl.nasa.gov/pub/sea_surface_height/topex_posei don/mgdrb/data/
>
> The GUI shows the remote Topex dirs, the files in a selected remote Topex dir,
> the Local Topex dirs, and the files in a selected local Topex dir, and
> ftp downloads of a dir of Topex files occur at the click of a button.
>
> It should run just fine under the IDL VM.
>
> Let me know if you'd like to see the code.
>
> And for anyone who knows me, Shock! Horror! it's even got some objects in it :-)
Ok, I just watched Ian Thorpe beat a great field for the
gold in the 200m, so I'm feeling kindly toward the Aussies.
But, objects!? You got to be kidding me. I'd like a little
peek at this socket dodah you have there, Andrew. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: web/ftp access in IDL (and in VM) [message #40503 is a reply to message #40502] |
Mon, 16 August 2004 18:06   |
andrew.cool
Messages: 47 Registered: July 2003
|
Member |
|
|
"R.G. Stockwell" <noemail@please.com> wrote in message news:<kC6Tc.373$7A1.21311@news.uswest.net>...
> Hello all,
> I have not used any internet connectivity features of IDL,
> but a current project may make use of this.
>
> So, has anyone used IDL to open (as a client) some type of connection to
> a server, and list files, download selected files, etc? Any problems that
> you've run into, is this a viable solution to accessing data remotely?
> I could just put a directory listing on a web page, but I like the idea of
> a data analyzing widget that the user could run, to create figures, do simple
> processing, etc.
>
>
> What protocols are available ftp, http, sftp, scp?
>
> Can this be done in a gui running in the virtual machine?
>
>
> Cheers,
> bob
Hi Bob,
You can certainly use Sockets to ftp data from a remote site.
I've done this to read Topex data from
ftp://podaac.jpl.nasa.gov/pub/sea_surface_height/topex_posei don/mgdrb/data/
The GUI shows the remote Topex dirs, the files in a selected remote Topex dir,
the Local Topex dirs, and the files in a selected local Topex dir, and
ftp downloads of a dir of Topex files occur at the click of a button.
It should run just fine under the IDL VM.
Let me know if you'd like to see the code.
And for anyone who knows me, Shock! Horror! it's even got some objects in it :-)
Andrew
andrew.cool@dsto.defence.gov.symbol_for_(Olympic)_gold
|
|
|
|
Re: web/ftp access in IDL (and in VM) [message #40523 is a reply to message #40521] |
Fri, 13 August 2004 10:37   |
Randall Skelton
Messages: 169 Registered: October 2000
|
Senior Member |
|
|
Hi Bob,
You may want to think about using an SQL database and the RSI dataminer.
The dataminer was too expensive for me so I wrote a dlm that mimics the
PostgreSQL libpq functions (*nix only at this point). It works very well
as I can quickly access data from IDL on my laptop anywhere that I have an
internet connection. Moreover, the ability to use SQL to filter 5TB of
data into only the interesting bits is very useful.
If anyone is interested in the libpq dlm, don't hesitate to send me an
e-mail. My apologies, in advance, to windows and/or mySQL users.
Cheers,
Randall
On Fri, 13 Aug 2004, R.G. Stockwell wrote:
> Hello all,
> I have not used any internet connectivity features of IDL,
> but a current project may make use of this.
>
> So, has anyone used IDL to open (as a client) some type of connection to
> a server, and list files, download selected files, etc? Any problems that
> you've run into, is this a viable solution to accessing data remotely?
> I could just put a directory listing on a web page, but I like the idea of
> a data analyzing widget that the user could run, to create figures, do simple
> processing, etc.
>
>
> What protocols are available ftp, http, sftp, scp?
>
> Can this be done in a gui running in the virtual machine?
>
>
> Cheers,
> bob
>
>
>
>
>
|
|
|
Re: web/ftp access in IDL (and in VM) [message #40593 is a reply to message #40503] |
Tue, 17 August 2004 10:25   |
R.G. Stockwell
Messages: 363 Registered: July 1999
|
Senior Member |
|
|
"Andrew Cool" <andrew.cool@dsto.defence.gov.au> wrote in message news:c6d70400.0408161706.61fde0d1@posting.google.com...
>> "R.G. Stockwell" <noemail@please.com> wrote in message news:<kC6Tc.373$7A1.21311@news.uswest.net>...
>> ...
>
> Hi Bob,
>
> You can certainly use Sockets to ftp data from a remote site.
> I've done this to read Topex data from
> ftp://podaac.jpl.nasa.gov/pub/sea_surface_height/topex_posei don/mgdrb/data/
>
> The GUI shows the remote Topex dirs, the files in a selected remote Topex dir,
> the Local Topex dirs, and the files in a selected local Topex dir, and
> ftp downloads of a dir of Topex files occur at the click of a button.
>
> It should run just fine under the IDL VM.
>
> Let me know if you'd like to see the code.
>
> And for anyone who knows me, Shock! Horror! it's even got some objects in it :-)
>
> Andrew
>
> andrew.cool@dsto.defence.gov.symbol_for_(Olympic)_gold
Sure, That'd be great. I'd like to see the code. I'd like to try it a VM as
well, so I probably will make the sav file and give that try too.
my address is "surname" at "co-ra" then the "dot com". Ha! that ought to
foil the spambots (not that it really matters of course, since I get about 150 spams
a day, so I am sure I already am on every spam list in the world).
Cheers,
bob
PS re: olympic gold. Being canadian, I of course do not recognize the SUMMER olympics
as a real competition. How can you call it a sporting event if there is no hockey???? bah!
|
|
|
|
Re: web/ftp access in IDL (and in VM) [message #40637 is a reply to message #40593] |
Thu, 19 August 2004 17:56  |
Wayne Landsman
Messages: 117 Registered: January 1997
|
Senior Member |
|
|
> ----- Original Message -----
From: "Andrew Cool" <andrew.cool@dsto.defence.gov.au>
> "R.G. Stockwell" <noemail@please.com> wrote in message
news:<kC6Tc.373$7A1.21311@news.uswest.net>...
>>
>> So, has anyone used IDL to open (as a client) some type of connection to
>> a server, and list files, download selected files, etc? Any problems
that
>> you've run into, is this a viable solution to accessing data remotely?
>> I could just put a directory listing on a web page, but I like the idea
of
>> a data analyzing widget that the user could run, to create figures, do
simple
>> processing, etc.
> You can certainly use Sockets to ftp data from a remote site.
> I've done this to read Topex data from
>
ftp://podaac.jpl.nasa.gov/pub/sea_surface_height/topex_posei don/mgdrb/data/
>
Besides Andrew Cool's suggestion you can also look at Dominic Zarro's OO
implementation of IDL sockets at
http://orpheus.nascom.nasa.gov/~zarro/idl/sockets.html
And for simple http access from a Web server you could try my program
webget.pro at http://idlastro.gsfc.nasa.gov/ftp/pro/sockets/webget.pro
--Wayne Landsman
|
|
|