ING Banner
Home > Astronomy > Computing > Data Transfer and Recording


Data Transfer and Recording

To external discs

All our public computers provide USB 2.0 and FireWire IEEE 1394 ports to which you can plug your external hard disc or flash memory. Plug your device and this will be automatically mounted on a directory under /media. Once recorded, unmount the device (select 'eject' on the device icon), wait and unplug.

To DVDs

All our public computers can record DVDs. Please ask your Support Astronomer or Telescope Operator for a blank DVD. At ING we supply DVD-R discs as default, which have a total capacity of 4.7GB. You can either record your data using K3b application or from the command line:

Using K3b application:

As a default, the systems asks you what to do when you insert a blank DVD in the DVD writer.

Select "Create Data DVD with K3b" and click on OK. This will start K3b. If it doesn't start, then type "k3b" at the prompt of your terminal window, for instance, for intguest on INTDRPC1:

intguest@intdrpc1>k3b &

Once K3b starts, then you can select what data to record. At the top, enter the directory path of your files, for instance, "/obsdata/whta/20081201/" and you will see below the files in there. Then select the files that you want to save (press CTRL+A to select all) and drag the files to the window to the right below. If you can see that window but instead you are shown different options, click on the option "New Data DVD Project" and you will see the selected files window:

When done, press the "Burn" buttom to the left of the burning window. You will see a window with the different burning options.

The default options are good enough, but if you wish you can modify them. Click on "Burn" to start recording:

When finished, you could see a new window that opens because the system detects the already recorded disc. You can select between opening and checking that everything is there, or do nothing:

Close the burning window, exit K3b and save or discard the configuration of your recording:

From the command line:

In the directory where the files are located, type:

growisofs -Z /dev/dvdrw -R -J *

Please note that, depending on which PC you are logged on, the name of the DVD recording device might be different from /dev/dvdrw (ie. /dev/dvdrw1). Please see the available DVD devices by listing the directory /dev/dvd*.

The command growisofs offers more options, to see the manual, type:

man growisofs

To tapes

Tapes are provided to the users of the WFC on the INT. Please follow these instructions:

  1. Insert the DDS3 (125m) tape in the drive /dev/nst0, on top of the data reduction machine. A DDS3 tape (12GB) should be able to store 150 runs in fits format, or about 300 using tar.
  2. Open a new xterm on the Data Reduction machine and change directory to where the data are stored and record the data on the tape, e.g:

    $>cd /obsdata/inta/20040419

    $>tar cvf /dev/nst0 *.fit

    The above writes all '.fit' files in that directory to tape.

  3. If you expect that this will take a long time, leave a note on the keyboard to prevent that day-time staff close the window stopping the tar before it is completed.

To laptops on ingext network

Data can be transferred directly to your laptop over the ingext network. This can be done file by file using the scp command on your laptop, for example, for transferring INT data: :

$> scp -r intobs@intdrpc1:/obsdata/inta/yyyymmdd /your/directory

$> scp intobs@intdrpc1:/obsdata/inta/yyyymmdd/"r*" /your/directory

$> scp intobs@intdrpc1:/obsdata/inta/yyyymmdd/"r18051[8-9]*" /your/directory

$> scp intobs@intdrpc1:/obsdata/inta/yyyymmdd/"r1805191.fit" /your/directory

If the above doesn't work, try the same commands putting the file address between apostrophes, for example:

$> scp -r intobs@intdrpc1:'/obsdata/inta/yyyymmdd' /your/directory

The * can always be used as a wildcard. For WHT data, replace intobs@intdrpc1 by whtobs@whtdrpc1, and specify a valid directory path.

Alternatively the rsync command can be used to copy all the files from a directory to your laptop. Running the command another time then updates your laptop's directory only with the new data, for example:

$> rsync -av intobs@lpss7:/obsdata/inta/yyyymmdd /your/directory

To FTP areas

Data can be copied to our ftp area at /obsdata/outgoing/<username>/, where <username> is the one provided by your Support Astronomer. They can be accessed from outside ftping anonymously to ftp.ing.iac.es and changing to the <username> directory. Please delete the data once it has been downloaded, or contact your Support Astronomer to do it on your behalf. For example:

whtguest@whtdrpc1>mkdir /obsdata/outgoing/whtguest/yyyymmdd
whtguest@whtdrpc1>cp /obsdata/whta/20120619/r* /obsdata/outgoing/whtguest/yyyymmdd

Another example:

intguest@intdrpc1>mkdir /obsdata/outgoing/intguest/yyyymmdd
intguest@intdrpc1>cp /obsdata/inta/20120619/r* /obsdata/outgoing/intguest/yyyymmdd

And from outside ING, you can download the data using ftp as follows:

$> ftp ftp.ing.iac.es
[login as anonymous and provide your email as password]

ftp> cd whtguest/yyyymmdd
[ftp> cd intguest/yyyymmdd]
ftp> bin
ftp> prompt
ftp> passive
ftp> mget *
ftp> bye

The prompt and passive commands should set the interactive and transfer modes on respectively.

In order to ftp the data from ING to elsewhere, first copy your data to a scratch directory (for example: /scratch/whta, /scratch/inta/ or /reduction/local/) and then ftp:

whtguest@whtdrpc1>mkdir /reduction/local/yyyymmdd
whtguest@whtdrpc1>cp /obsdata/whta/20120619/r* /reduction/local/yyyymmdd
whtguest@whtdrpc1>cd /reduction/local/yyyymmdd

Then you can ftp the data to your destination using ftp or sftp. Alternatively you can use filezilla application (type 'filezilla' at the prompt)..



Top | Back

Contact:  (Astronomy Computing)
Last modified: 04 April 2013