alternative to wget (was Re: fits_read_table corrupting something?)

From: John E. Davis <davis_at_email.domain.hidden>
Date: Wed, 23 Jan 2008 12:52:22 -0500
rgibson_at_email.domain.hidden> t0 = "wget -v -d -T 15 --retry-connrefused -o wgetlog.txt -O nED.html

For some purposes, the curl-module
(<http://www.jedsoft.org/slang/modules/curl.html>) is a very useful
alternative to wget.  For example, on
<http://www.jedsoft.org/slang/slsh.html> you will find a slang script call
`chandra-get` that may be used for downloading data from the chandra
archive.  It uses the curl-module to interact with the chandra archive
server.  Although the script was written for slsh, it can be run by
isis since isis is more or less a superset of slsh.

unix% chandra-get
Usage: chandra-get [options] OBSID
Options:
  --help                   This help
  --info                   Show files that would be downloaded
  --cat=science|cal|er     Catalogues to search (default is all)
  --dir=output-dir         Output directory (default obs_OBSID)
  --download[=type-list]   Types of files to download

Examples:
Download JED's standard set of files for obs 105:
 chandra-get --download 105

Show what files would be downloaded from JED's standard set:
 chandra-get --info --download 105

Download the bias and pbk files for obs 105:
 chandra-get --download=bias0,pbk0 105

Download all files for obs 105:
 chandra-get --download=all 105
 chandra-get 105

Download calibration obsid 61273 to cal/61273:
 chandra-get --download --cat=cal,er --dir=cal/61273 61273
----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Wed Jan 23 2008 - 12:52:24 EST

This archive was generated by hypermail 2.2.0 : Fri Feb 01 2008 - 16:07:55 EST