Commit b0d0e23ff214b0af97cff48da195268f0e61e63a
1 parent
9fb6b02a
Add note what to do when the download does not work
Showing
3 changed files
with
81 additions
and
63 deletions
doc/source/users/tutorials/1dc/data_organisation.rst
| ... | ... | @@ -134,44 +134,44 @@ have been simulated (see figure below). |
| 134 | 134 | :align: center |
| 135 | 135 | |
| 136 | 136 | *Header of an event list* |
| 137 | - | |
| 138 | - | |
| 139 | -.. warning:: | |
| 140 | - Only the following header keywords in the ``EVENTS`` table have meaningful | |
| 141 | - values: | |
| 142 | - | |
| 143 | - * ``DSTYPx`` - Data sub-space type | |
| 144 | - * ``DSUNIx`` - Data sub-space unit | |
| 145 | - * ``DSVALx`` - Data sub-space value | |
| 146 | - * ``DSREFx`` - Data sub-space reference | |
| 147 | - * ``NDSKEYS`` - Number of data sub-space keys | |
| 148 | - * ``NMCIDS`` - Number of Monte Carlo identifiers | |
| 149 | - * ``MIDxxxxx`` - Monte Carlo identifier | |
| 150 | - * ``MMNxxxxx`` - Model name for Monte Carlo identifier | |
| 151 | - * ``OBS_ID`` - Observation identifier | |
| 152 | - * ``DATE_OBS`` - start date of observation (UTC) | |
| 153 | - * ``TIME_OBS`` - start time of observation (UTC) | |
| 154 | - * ``DATE_END`` - end date of observation (UTC) | |
| 155 | - * ``TIME_END`` - end time of observation (UTC) | |
| 156 | - * ``TSTART`` - start time of observation, counted from time reference (s) | |
| 157 | - * ``TSTOP`` - stop time of observation, counted from time reference (s) | |
| 158 | - * ``MJDREFI`` - integer part of time reference MJD (days) | |
| 159 | - * ``MJDREFF`` - fractional part of time reference MJD (days) | |
| 160 | - * ``TIMEUNIT`` - time unit | |
| 161 | - * ``TIMESYS`` - time system | |
| 162 | - * ``TIMEREF`` - time reference | |
| 163 | - * ``TELAPSE`` - elapsed time (s) | |
| 164 | - * ``ONTIME`` - exposure time (s) | |
| 165 | - * ``LIVETIME`` - livetime (s) | |
| 166 | - * ``DEADC`` - deadtime correction factor, livetime / exposure time | |
| 167 | - * ``TIMEDEL`` - time resolution | |
| 168 | - * ``RA_PNT`` - Right Ascension of pointing direction (deg) | |
| 169 | - * ``DEC_PNT`` - Declination of pointing direction (deg) | |
| 170 | - * ``RADECSYS`` - Coordinate system | |
| 171 | - * ``EQUINOX`` - Coordinate epoch | |
| 172 | - | |
| 173 | - All remaining header keywords have arbitrary values and should not be | |
| 174 | - used for the analysis. | |
| 137 | +.. | |
| 138 | + | |
| 139 | + .. warning:: | |
| 140 | + Only the following header keywords in the ``EVENTS`` table have meaningful | |
| 141 | + values: | |
| 142 | + | |
| 143 | + * ``DSTYPx`` - Data sub-space type | |
| 144 | + * ``DSUNIx`` - Data sub-space unit | |
| 145 | + * ``DSVALx`` - Data sub-space value | |
| 146 | + * ``DSREFx`` - Data sub-space reference | |
| 147 | + * ``NDSKEYS`` - Number of data sub-space keys | |
| 148 | + * ``NMCIDS`` - Number of Monte Carlo identifiers | |
| 149 | + * ``MIDxxxxx`` - Monte Carlo identifier | |
| 150 | + * ``MMNxxxxx`` - Model name for Monte Carlo identifier | |
| 151 | + * ``OBS_ID`` - Observation identifier | |
| 152 | + * ``DATE_OBS`` - start date of observation (UTC) | |
| 153 | + * ``TIME_OBS`` - start time of observation (UTC) | |
| 154 | + * ``DATE_END`` - end date of observation (UTC) | |
| 155 | + * ``TIME_END`` - end time of observation (UTC) | |
| 156 | + * ``TSTART`` - start time of observation, counted from time reference (s) | |
| 157 | + * ``TSTOP`` - stop time of observation, counted from time reference (s) | |
| 158 | + * ``MJDREFI`` - integer part of time reference MJD (days) | |
| 159 | + * ``MJDREFF`` - fractional part of time reference MJD (days) | |
| 160 | + * ``TIMEUNIT`` - time unit | |
| 161 | + * ``TIMESYS`` - time system | |
| 162 | + * ``TIMEREF`` - time reference | |
| 163 | + * ``TELAPSE`` - elapsed time (s) | |
| 164 | + * ``ONTIME`` - exposure time (s) | |
| 165 | + * ``LIVETIME`` - livetime (s) | |
| 166 | + * ``DEADC`` - deadtime correction factor, livetime / exposure time | |
| 167 | + * ``TIMEDEL`` - time resolution | |
| 168 | + * ``RA_PNT`` - Right Ascension of pointing direction (deg) | |
| 169 | + * ``DEC_PNT`` - Declination of pointing direction (deg) | |
| 170 | + * ``RADECSYS`` - Coordinate system | |
| 171 | + * ``EQUINOX`` - Coordinate epoch | |
| 172 | + | |
| 173 | + All remaining header keywords have arbitrary values and should not be | |
| 174 | + used for the analysis. | |
| 175 | 175 | |
| 176 | 176 | Each row of the ``EVENTS`` table corresponds to a single event. |
| 177 | 177 | Each event is characterised by |
| ... | ... | @@ -203,10 +203,11 @@ An example of an ``EVENTS`` table is shown below. |
| 203 | 203 | :align: center |
| 204 | 204 | |
| 205 | 205 | *Content of an event list* |
| 206 | +.. | |
| 206 | 207 | |
| 207 | -.. warning:: | |
| 208 | - The time stamps in the ``TIME`` column are **not** necessarily in ascending | |
| 209 | - order. | |
| 208 | + .. warning:: | |
| 209 | + The time stamps in the ``TIME`` column are **not** necessarily in ascending | |
| 210 | + order. | |
| 210 | 211 | |
| 211 | 212 | |
| 212 | 213 | Observation Definition Files |
| ... | ... | @@ -234,10 +235,10 @@ identical. |
| 234 | 235 | The other files in the folder are ASCII and FITS files containing spectral, |
| 235 | 236 | temporal and spatial information that was used in the simulations. |
| 236 | 237 | |
| 237 | -.. warning:: | |
| 238 | - The ASCII and FITS files should always reside in the same folder as the | |
| 239 | - :ref:`model definition XML files <glossary_moddef>` | |
| 240 | - since the latter reference the former. | |
| 238 | + .. warning:: | |
| 239 | + The ASCII and FITS files should always reside in the same folder as the | |
| 240 | + :ref:`model definition XML files <glossary_moddef>` | |
| 241 | + since the latter reference the former. | |
| 241 | 242 | |
| 242 | 243 | |
| 243 | 244 | ... | ... |
doc/source/users/tutorials/1dc/getting_data.rst
| ... | ... | @@ -36,11 +36,27 @@ line by typing: |
| 36 | 36 | $ wget https://owncloud.cta-observatory.org/remote.php/webdav/1dc/agn.tar.gz --user=<user> --ask-password |
| 37 | 37 | $ wget https://owncloud.cta-observatory.org/remote.php/webdav/1dc/caldb.tar.gz --user=<user> --ask-password |
| 38 | 38 | $ wget https://owncloud.cta-observatory.org/remote.php/webdav/1dc/models.tar.gz --user=<user> --ask-password |
| 39 | +.. | |
| 39 | 40 | |
| 40 | -.. warning:: | |
| 41 | - ``<user>`` needs to be replaced by your CTA user name. | |
| 42 | - Don't type the ``$`` symbol. It indicates that a command should be typed | |
| 43 | - on the command line of your terminal. | |
| 41 | + .. warning:: | |
| 42 | + ``<user>`` needs to be replaced by your CTA user name. | |
| 43 | + Don't type the ``$`` symbol. It indicates that a command should be typed | |
| 44 | + on the command line of your terminal. | |
| 45 | + | |
| 46 | + .. note:: | |
| 47 | + In case you encounter the following error message | |
| 48 | + | |
| 49 | + | |
| 50 | + .. code-block:: bash | |
| 51 | + | |
| 52 | + HTTP request sent, awaiting response... 401 Unauthorized | |
| 53 | + Authentication selected: Basic realm="ownCloud" | |
| 54 | + Reusing existing connection to owncloud.cta-observatory.org:443. | |
| 55 | + HTTP request sent, awaiting response... 404 Not Found | |
| 56 | + 2017-06-06 14:43:33 ERROR 404: Not Found. | |
| 57 | + | |
| 58 | + or any other problems with the download, please contact | |
| 59 | + sstober@cta-observatory.org. | |
| 44 | 60 | |
| 45 | 61 | To make sure that you have the relevant files you may check the MD5 checksums |
| 46 | 62 | after downloading by typing for example |
| ... | ... | @@ -94,11 +110,12 @@ Before continuing, please set the following environment variables: |
| 94 | 110 | |
| 95 | 111 | $ export CTADATA=$PWD/1dc |
| 96 | 112 | $ export CALDB=$CTADATA/caldb |
| 97 | - | |
| 98 | -.. note:: | |
| 99 | - You may consider adding the ``CTADATA`` and ``CALDB`` environment variables | |
| 100 | - to your ``.bashrc`` file (or equivalent) so that your analysis environment | |
| 101 | - for the | |
| 102 | - :ref:`first CTA Data Challenge <glossary_1dc>` | |
| 103 | - is always setup correctly. | |
| 113 | +.. | |
| 114 | + | |
| 115 | + .. note:: | |
| 116 | + You may consider adding the ``CTADATA`` and ``CALDB`` environment variables | |
| 117 | + to your ``.bashrc`` file (or equivalent) so that your analysis environment | |
| 118 | + for the | |
| 119 | + :ref:`first CTA Data Challenge <glossary_1dc>` | |
| 120 | + is always setup correctly. | |
| 104 | 121 | ... | ... |
doc/source/users/tutorials/1dc/getting_tools.rst
| ... | ... | @@ -27,13 +27,13 @@ After downloading, configure GammaLib and ctools as follows: |
| 27 | 27 | Have a look at :ref:`getting the ctools <sec_install>` if you need more |
| 28 | 28 | information about the installation and configuration process. |
| 29 | 29 | |
| 30 | -.. note:: | |
| 31 | - You may consider adding the ``GAMMALIB`` and ``CTOOLS`` environment variables | |
| 32 | - as well as the sourcing of the configuration scripts to your ``.bashrc`` file | |
| 33 | - (or equivalent) so that your analysis environment | |
| 34 | - for the | |
| 35 | - :ref:`first CTA Data Challenge <glossary_1dc>` | |
| 36 | - is always setup correctly. | |
| 30 | + .. note:: | |
| 31 | + You may consider adding the ``GAMMALIB`` and ``CTOOLS`` environment variables | |
| 32 | + as well as the sourcing of the configuration scripts to your ``.bashrc`` file | |
| 33 | + (or equivalent) so that your analysis environment | |
| 34 | + for the | |
| 35 | + :ref:`first CTA Data Challenge <glossary_1dc>` | |
| 36 | + is always setup correctly. | |
| 37 | 37 | |
| 38 | 38 | |
| 39 | 39 | ... | ... |