Checking for existence of a remote file in gradsdods

Jean Pierre Arabonis arabonis at EGS.UCT.AC.ZA
Tue Aug 29 04:03:37 EDT 2006


    I use wget on a linux box to get the directory listings then use a
perl script to look for the most recent files which I then pipe into
shell scripts that invoke grads, its ugly and inelegant but it works
mostly, note wget can get temperamental behind proxy servers so you may
want to use lftp or curl to retrieve the directory listings.
    Hope this helps
       Jean Pierre



Masters.Steve wrote:

> Is there any way withing gradsdods, to check for the existance of a
> file without doing an sdfopen?  I have constructed a script that
> creates a series of GFS ensemble plots from the NCEP NOMADS DODS
> sites.  The different ensembles are in different files and the
> DODS references are posted over a span of many hours (and many hours
> after the regular ftp files are available from NCEP).  If I submit an
> sdfopen command against a file that does not yet exist, gradsdods does
> a hard abend.  I am using version 1.8SL10 on both Solaris and Windows.
>
> Steve Masters
> ENSCO, Inc.
> Melbourne, FL
> The information contained in this email message is intended only for
> the use of the individuals to whom it is addressed and may contain
> information that is privileged and sensitive. If the reader of this
> message is not the intended recipient, you are hereby notified that
> any dissemination, distribution or copying of this communication is
> strictly prohibited. If you have received this communication in error,
> please notify the sender immediately by email at the above referenced
> address. Thank you.


--
Jean Pierre Arabonis
arabonis at egs.uct.ac.za
Tel 021 780 1021 cell 084 401 1365
This email is 100% Microsoft Free

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20060829/c35f71cd/attachment.html 


More information about the gradsusr mailing list