jc-gonzalez / easvospace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EAStoVOSpace

This is a simplistic refactoring of the code provided by the ESDC team to execute a query into the archives, retrieve the data and store them into a VOSpace file.

Please, note that this is a Python 3 code. Compatibility with Python 2 is still ongoing.

This is still a work in progress. It can be considered as the version 0.1.3.

To test the two packages provided, just follow these steps:

  1. Modify the code in query_and_save_to_vospace.py script, to change:

    • The folder and file name where the output will be stored
    • Your VOSpace user and password (LDAP)
  2. Run the followig in the console:

    $ python3 query_and_save_to_vospace.py
    

A file with the name provided will be saved into the location your selected, in your VOSpace account.

For an example of a working set of upload/download command lines using call to the curl command line tool, have a look into the Bash script push-and-pull.sh, in the shell folder.

About


Languages

Language:Python 90.8%Language:Shell 9.2%