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

Home » Public Forums » archive » Re: web/ftp access in IDL (and in VM)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: web/ftp access in IDL (and in VM) [message #40502] Mon, 16 August 2004 19:17 Go to next message
David Fanning is currently offline  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 Go to previous messageGo to next message
andrew.cool is currently offline  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 #40521 is a reply to message #40503] Fri, 13 August 2004 12:40 Go to previous messageGo to next message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Randall Skelton" <myxxlastxxname@uwaterloo.canada> wrote in message
news:Pine.GSO.4.10.10408131322420.26171-100000@brutus.uwater loo.ca...
> 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

Thanks for the comments Randall. I'll look into this. My situation is
slightly different in that the user won't necessarily have IDL, so I was
thinking about perhaps putting it in a Virtual Machine application.

Cheers,
bob
Re: web/ftp access in IDL (and in VM) [message #40523 is a reply to message #40521] Fri, 13 August 2004 10:37 Go to previous messageGo to next message
Randall Skelton is currently offline  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 Go to previous messageGo to next message
R.G. Stockwell is currently offline  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 #40598 is a reply to message #40502] Mon, 16 August 2004 22:23 Go to previous messageGo to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> Ok, I just watched Ian Thorpe beat a great field for the
> gold in the 200m, so I'm feeling kindly toward the Aussies.

That's funny, watching Aussies win has the opposite effect on me.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
Re: web/ftp access in IDL (and in VM) [message #40637 is a reply to message #40593] Thu, 19 August 2004 17:56 Go to previous message
Wayne Landsman is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: odd output with flow3
Next Topic: Re: HDF5 Write

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

Current Time: Wed Oct 08 08:51:10 PDT 2025

Total time taken to generate the page: 0.00505 seconds