FTP data upload
See section 4.6 in ESO guide
To save having to type these you can use a .netrc file with format:
machine phase3ftp.eso.org login USERNAME password PASSWORD
These can also be read by a script.
cd VHS
ls
ftp> ls
227 Entering Passive Mode (134,171,46,231,117,248)
150 Accepted data connection
drwxr-x--- 5 5873 phase3 4096 Mar 5 2013 .
drwxr-x--- 2 5873 phase3 4096 Mar 7 2011 ..
drwxr-x--- 4 5873 phase3 4096 May 21 2013 VHS
drwxr-xr-x 3 5873 phase3 4096 Apr 11 11:14 VHS_CAT
drwxr-xr-x 2 5873 phase3 4096 Feb 28 2013 VHS_CAT_TESTING
226-Options: -a -l
226 5 matches total
VHS has a directories
batch_1
batch_2
At the moment we cannot cd to them, probably becausxe these releases have closed
VHS contains the single band image and catalogue products
VHS_CAT is for the bandmerged catalogue products
Release Description
has to be called release-description.tar
IOA VHS Phase 3 preparation software
/home/rgm/soft/vhs/phase3
vhsph3_getdata_vsa.cfg containts VISTA Science Archive login info for python script
vhsph3_getdata_vsa.py downloads bandmerged data tile by tile
python vhsph3_getdata_vsa.py --help
Usage: vhsph3_getdata_vsa.py [options]
Options:
-h, --help show this help message and exit
-t, --test run test
-l, --limit limit SQL to 100 rows with TOP
-i INPUT, --input=INPUT
input metadata file
-q QUERY, --query=QUERY
specify query on the command line
-f FORMAT, --format=FORMAT
Output format (csv/fits/html) [Default: .fits.gz]
-o OUTPUT, --output=OUTPUT
Output filename
-e EMAIL, --email=EMAIL
Email address for results of long queries; should not
be used when batch processing is required
-d DB, --db=DB Database to use [Default: VHS]
--dr=RELEASE Data release to use [Default: VHSDR2]