Commit d2b9dbf6b3e5569ca7b5c995d13ac5d3de7b234e
1 parent
9d4325e6
Update 1DC documentation
Showing
1 changed file
with
38 additions
and
11 deletions
doc/source/users/tutorials/1dc/getting_data.rst
| @@ -5,27 +5,54 @@ Getting the data | @@ -5,27 +5,54 @@ Getting the data | ||
| 5 | 5 | ||
| 6 | The data for the | 6 | The data for the |
| 7 | :ref:`first CTA Data Challenge <glossary_1dc>` | 7 | :ref:`first CTA Data Challenge <glossary_1dc>` |
| 8 | -are bundled with the | ||
| 9 | -:ref:`Instrument Response Functions <glossary_irf>` | ||
| 10 | -into a single tarball. | ||
| 11 | -Click on | ||
| 12 | -`1dc.tar.gz <https://owncloud.cta-observatory.org/remote.php/webdav/1DC/1dc.tar.gz>`_ | ||
| 13 | -to download the tarball (file size: 485 MB). | ||
| 14 | -You can then uncompress and deploy the data at any place by typing | 8 | +are available on the |
| 9 | +`CTA ownCloud server <https://owncloud.cta-observatory.org>`_. | ||
| 10 | +You need your usual CTA credentials to download the data. | ||
| 11 | + | ||
| 12 | +The data have been split in number of tarballs that are summarised in | ||
| 13 | +the following table. You may click on the links in the second column | ||
| 14 | +to download the data. | ||
| 15 | + | ||
| 16 | + +-------------------------------+-------------------------------------------------------------------------------+ | ||
| 17 | + | Content | Download link | | ||
| 18 | + +===============================+===============================================================================+ | ||
| 19 | + | Instrument Response Functions | `<https://owncloud.cta-observatory.org/remote.php/webdav/1dc/caldb.tar.gz>`_ | | ||
| 20 | + +-------------------------------+-------------------------------------------------------------------------------+ | ||
| 21 | + | Sky and background models | `<https://owncloud.cta-observatory.org/remote.php/webdav/1dc/models.tar.gz>`_ | | ||
| 22 | + +-------------------------------+-------------------------------------------------------------------------------+ | ||
| 23 | + | ||
| 24 | +You may also download the files using the ``wget`` tool from the command | ||
| 25 | +line by typing (``<user>`` needs to be replaced by your CTA user name): | ||
| 15 | 26 | ||
| 16 | .. code-block:: bash | 27 | .. code-block:: bash |
| 17 | 28 | ||
| 18 | - $ tar xfvz 1dc.tar.gz | 29 | + $ wget https://owncloud.cta-observatory.org/remote.php/webdav/1dc/caldb.tar.gz --user=<user> --ask-password |
| 30 | + $ wget https://owncloud.cta-observatory.org/remote.php/webdav/1dc/models.tar.gz --user=<user> --ask-password | ||
| 19 | 31 | ||
| 20 | .. warning:: | 32 | .. warning:: |
| 21 | Don't type the ``$`` symbol. It indicates in the following that a command | 33 | Don't type the ``$`` symbol. It indicates in the following that a command |
| 22 | should be typed on the command line of a console. | 34 | should be typed on the command line of a console. |
| 23 | 35 | ||
| 24 | -After deploying you should have the folder ``1dc`` in your current working | ||
| 25 | -directory. In your current working directory, please type the following to | ||
| 26 | -set the ``CALDB`` and ``CTADATA`` environment variables: | 36 | +After downloading, uncompress the files at any place by typing |
| 37 | + | ||
| 38 | +.. code-block:: bash | ||
| 39 | + | ||
| 40 | + $ tar xfvz caldb.tar.gz | ||
| 41 | + $ tar xfvz models.tar.gz | ||
| 42 | + | ||
| 43 | +After that you should have the folder ``1dc`` in your current working | ||
| 44 | +directory. Type there the following to set the ``CALDB`` and ``CTADATA`` | ||
| 45 | +environment variables: | ||
| 27 | 46 | ||
| 28 | .. code-block:: bash | 47 | .. code-block:: bash |
| 29 | 48 | ||
| 30 | $ export CALDB=$PWD/1dc/caldb | 49 | $ export CALDB=$PWD/1dc/caldb |
| 31 | $ export CTADATA=$PWD/1dc/data | 50 | $ export CTADATA=$PWD/1dc/data |
| 51 | + | ||
| 52 | +.. note:: | ||
| 53 | + You may consider adding the ``CALDB`` and ``CTADATA`` environment variables | ||
| 54 | + to your ``.bashrc`` file (or equivalent) so that your analysis environment | ||
| 55 | + for the | ||
| 56 | + :ref:`first CTA Data Challenge <glossary_1dc>` | ||
| 57 | + is always setup correctly. | ||
| 58 | + |