From d2b9dbf6b3e5569ca7b5c995d13ac5d3de7b234e Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 2 Mar 2017 11:30:31 +0100 Subject: [PATCH] Update 1DC documentation --- doc/source/users/tutorials/1dc/getting_data.rst | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-) diff --git a/doc/source/users/tutorials/1dc/getting_data.rst b/doc/source/users/tutorials/1dc/getting_data.rst index ea6a591..5a6e9cb 100644 --- a/doc/source/users/tutorials/1dc/getting_data.rst +++ b/doc/source/users/tutorials/1dc/getting_data.rst @@ -5,27 +5,54 @@ Getting the data The data for the :ref:`first CTA Data Challenge ` -are bundled with the -:ref:`Instrument Response Functions ` -into a single tarball. -Click on -`1dc.tar.gz `_ -to download the tarball (file size: 485 MB). -You can then uncompress and deploy the data at any place by typing +are available on the +`CTA ownCloud server `_. +You need your usual CTA credentials to download the data. + +The data have been split in number of tarballs that are summarised in +the following table. You may click on the links in the second column +to download the data. + + +-------------------------------+-------------------------------------------------------------------------------+ + | Content | Download link | + +===============================+===============================================================================+ + | Instrument Response Functions | ``_ | + +-------------------------------+-------------------------------------------------------------------------------+ + | Sky and background models | ``_ | + +-------------------------------+-------------------------------------------------------------------------------+ + +You may also download the files using the ``wget`` tool from the command +line by typing (```` needs to be replaced by your CTA user name): .. code-block:: bash - $ tar xfvz 1dc.tar.gz + $ wget https://owncloud.cta-observatory.org/remote.php/webdav/1dc/caldb.tar.gz --user= --ask-password + $ wget https://owncloud.cta-observatory.org/remote.php/webdav/1dc/models.tar.gz --user= --ask-password .. warning:: Don't type the ``$`` symbol. It indicates in the following that a command should be typed on the command line of a console. -After deploying you should have the folder ``1dc`` in your current working -directory. In your current working directory, please type the following to -set the ``CALDB`` and ``CTADATA`` environment variables: +After downloading, uncompress the files at any place by typing + +.. code-block:: bash + + $ tar xfvz caldb.tar.gz + $ tar xfvz models.tar.gz + +After that you should have the folder ``1dc`` in your current working +directory. Type there the following to set the ``CALDB`` and ``CTADATA`` +environment variables: .. code-block:: bash $ export CALDB=$PWD/1dc/caldb $ export CTADATA=$PWD/1dc/data + +.. note:: + You may consider adding the ``CALDB`` and ``CTADATA`` environment variables + to your ``.bashrc`` file (or equivalent) so that your analysis environment + for the + :ref:`first CTA Data Challenge ` + is always setup correctly. + -- libgit2 0.21.4