Phase3 Guide


FTP data upload


See section 4.6 in ESO guide

  • ftp
  • login with your ESO user Portal credentials [either use RGMCMAHON or your own assumintg Richard McMahon has given use delegated upload right.
  • At the moment Eduardo Gonzalez and Sophie Reed have delegated rights

To save having to type these you can use a .netrc file with format:

machine login USERNAME password PASSWORD

These can also be read by a script.

cd VHS


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



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

  • put release-description.tar


IOA VHS Phase 3 preparation software


vhsph3_getdata_vsa.cfg containts VISTA Science Archive login info for python script downloads bandmerged data tile by tile

python --help

Usage: [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]