Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

You will need to login with your SLAC username/password if you have not already done so. Save the downloaded key file as ~/.downloadManager/glastKeyFile. Remember to set the permissions on the file/directory so it can only be read by the user who will run the command line download manager.

Download the

...

launcher jar file.

Store it anywhere you like.

...

From the directory where you save netx-0launcher.5.jar issue the following command.

No Format
java -jar netx-0launcher.5.jar -headless -basedir ~/.downloadManager -jnlp http://glast-ground.slac.stanford.edu/DownloadManager/LineMode.jnlp -arg --folder=/Data/Flight/Level1/LPA -arg --group=FT1 --destination data/FT1

The full list of arguments supported is:

No Format
 -destination,--d <arg>   Destination folder
 -folder,--f <arg>        Folder to download
 -group,--g <arg>         Group to download
 -help,--h                Display usage information
 -keyFile,--k <arg>       File containing download key
 -nDownloads,--n <arg>    Number of simultaneous downloads
 -q,--quiet               Turn off informational messages
 -runMax <arg>            Maximum run number
 -runMin <arg>            Minimum run number
 -x,--debug               Turn on debug output

Notes:

...

  • We should add more options, to support MET ranges and full data catalog meta-data searchThe format of the downloaded files will change shortly to include the data type of the file (FT1, MERIT etc)
  • The download manager checks if the files to be downloaded already exist. If so they will not be downloaded again. If a newer version exists it will replace the existing version (and the existing version will be renamed *-old-n)