This is the command mArchiveGet that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
mArchiveGet - Retrieve a single FITS image from a remote archive
SYNOPSIS
mArchiveGet [-d] [-r] remoteref localfile
DESCRIPTION
Retrieve a single FITS image from a remote archive, using a basic URL GET but with a
structured output.
OPTIONS
-d Print additional debugging information.
-r "Raw" mode - use a raw HTTP GET (no "HTTP/1.1" etc in the header); necessary for
communication with some servers.
ARGUMENTS
remoteref
URL of remote FITS file to retrieve (should be in quotes). See mArchiveList for
more information.
localfile
Full path/filename of the retrieved file.
RESULT
[struct stat="OK", count="bytes"]
If remoteref points to a g-zipped 2MASS QuickLook image, the image will be unzipped during
transfer.
MESSAGES
OK [struct stat="OK", count="bytes"]
ERROR Output file (localfile) open failed
ERROR Invalid URL string (must start 'http://')
ERROR No data reference given in URL
ERROR Illegal port number in URL
ERROR Illegal return from select()
ERROR Connection timed out
EXAMPLES
$ mArchiveGet "http://irsa.ipac.caltech.edu/cgi-bin/FileDownload/ nph-
download?raw=1&ref=/ti08/971024n/s009/ image/j10090244.fits.gz" j10090244.fits
[struct stat="OK", count="2111040"]
Use mArchiveGet online using onworks.net services