Questo è il comando mArchiveGet che può essere eseguito nel provider di hosting gratuito OnWorks utilizzando una delle nostre molteplici workstation online gratuite come Ubuntu Online, Fedora Online, emulatore online Windows o emulatore online MAC OS
PROGRAMMA:
NOME
mArchiveGet - Recupera una singola immagine FITS da un archivio remoto
SINOSSI
mArchiveGet [-d] [-r] remoteref file locale
DESCRIZIONE
Recupera una singola immagine FITS da un archivio remoto, utilizzando un URL di base GET ma con a
uscita strutturata.
VERSIONI
-d Stampa ulteriori informazioni di debug.
-r Modalità "Raw" - usa un HTTP GET grezzo (nessun "HTTP/1.1" ecc. nell'intestazione); necessario per
comunicazione con alcuni server.
ARGOMENTI
telecomando rif
URL del file FITS remoto da recuperare (dovrebbe essere tra virgolette). Vedere mArchivioLista per
maggiori informazioni.
file locale
Percorso/nome file completo del file recuperato.
RISULTATO
[struttura stat="OK", conteggio="bytes"]
If telecomando rif punta a un'immagine QuickLook 2MASS con zip g, l'immagine verrà decompressa durante
trasferimento.
MESSAGGI
OK [struct stat="OK", count="bytes"]
ERRORE File di output (file locale) apertura fallita
ERRORE Stringa URL non valida (deve iniziare con 'http://')
ERRORE Nessun riferimento dati fornito nell'URL
ERRORE Numero di porta illegale nell'URL
ERRORE Restituzione illegale da select()
ERRORE Connessione scaduta
ESEMPI
$ 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"]
Usa mArchiveGet online utilizzando i servizi onworks.net