Download of images while observing remotely
During a remote observing session, one of the concerns is the retrieval
of images. You need the means to access this data and you can also be
worried about bandwidth issues, because downloading big amounts of data
is a resource demanding task that could affect the responsiveness of the
system on the remote side
To address the first problem, whenever our users need immediate access to
the data, the images are copied during the observing session to our
public FTP area
(anonymous access - ie., if asked for user and password, provide
anonymous as the user and leave the password blank, or introduce
your mail address instead).
Every image is available at the FTP within a couple minutes after being
saved on our main storage area (but an effort is made to have it there
after just a few seconds). You can donwload the data in there at
will.
To address the second problem (bandwidth), we suggest using downloading
tools that let you limit the download rate.
Of course, downloading a corpus of data that grows over the time forces
you to either make periodic downloads over the night (if done manually,
you can miss some file - but it's ok if you cherry-pick only a few
images) or to download the data in one go during the day time, when
nobody is using the line. If, anyway, you want to download the images
as they're created, we've writen a tool to save you the time on
doing it yourself
Image-downloading script
The script itself is available in here. It's
a UNIX bash shell-script. Upon download, you should
change its permissions to make it executable:
$ chmod +x download.sh
Using the script
The script is profusely commented and provides a usage guide when run
without providing arguments, but we'll comment a few things in here
for the sake of redundancy.
Example
I'll assume you have copied the script to the base directory for the
downloads. Say you want to download ALFOSC images, temporary limiting
the download rate to half a megabyte. This is roughly 500kB, so:
$ ./download.sh 500 alfosc
|