You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/esa/hubble/hubble.rst
+31-15Lines changed: 31 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,10 +19,6 @@ in the EHST are synchronised with the MAST services for HST reprocessed
19
19
public data and corresponding metadata. Therefore, excluding proprietary
20
20
data, all HST data in the EHST are identical to those in MAST.
21
21
22
-
========
23
-
Examples
24
-
========
25
-
26
22
It is highly recommended checking the status of eHST TAP before executing this module. To do this:
27
23
28
24
.. doctest-remote-data::
@@ -34,6 +30,19 @@ It is highly recommended checking the status of eHST TAP before executing this m
34
30
This method will retrieve the same warning messages shown in eHST Science Archive with information about
35
31
service degradation.
36
32
33
+
========
34
+
Examples
35
+
========
36
+
37
+
.. note::
38
+
The recommended steps to work with eHST Astroquery module are described below:
39
+
#. Retrieve the desired observations, fulfilling the user requirements, using one of the following methods: ``query_target``, ``query_criteria``, ``cone_search`` or ``cone_search_criteria``. In the results, the user will allways find a column named 'observation_id' that will be used as a reference.
40
+
#. If all the products associated to an observation are required, then use ``download_product``.
41
+
#. If only FITS files associated to an observation are required, then use ``download_fits_files``.
42
+
#. It is possible to retrieve the name of the files associated to an observation using ``get_associated_files``, together with their calibration level, size and type.
43
+
#. Users can filter the previous list to get the specific files to download and use them in ``download_file`` function.
44
+
#. Use your algorithms and code to process the data.
45
+
37
46
----------------------------------------------
38
47
1. Querying target names in the Hubble archive
39
48
----------------------------------------------
@@ -374,10 +383,12 @@ After retrieving the metadata, the user can filter the result table and get the
374
383
The most important column is 'observation_id' and it is possible to use it to retrieve all the
375
384
associated files.
376
385
377
-
In eHST is it possible to download products based on their observation ID (mandatory) and
378
-
a required calibration_level (RAW, CALIBRATED, PRODUCT or AUXILIARY) and/or product type (SCIENCE, PREVIEW, THUMBNAIL or AUXILIARY).
386
+
.. note::
387
+
In eHST is it possible to download products based on their observation ID (mandatory) and
388
+
a required calibration_level (RAW, CALIBRATED, PRODUCT or AUXILIARY) and/or product type (SCIENCE, PREVIEW, THUMBNAIL or AUXILIARY).
379
389
380
-
Deprecation Warning: product types PRODUCT, SCIENCE_PRODUCT or POSTCARD are no longer supported. Please modify your scripts accordingly.
390
+
.. warning::
391
+
Deprecation Warning: product types PRODUCT, SCIENCE_PRODUCT or POSTCARD are no longer supported. Please modify your scripts accordingly.
381
392
382
393
For instance, next commands will download all files for the raw calibration level
383
394
of the observation 'j6fl25s4q' and it will store them in a file called
@@ -388,7 +399,8 @@ of the observation 'j6fl25s4q' and it will store them in a file called
This third case will download the science files associated to the observation 'j6fl25s4q' in raw calibration level and it will store them in a file called
404
-
'science_raw_data_for_j6fl25s4q.fits.gz', modifying the filename provided to ensure that the extension of the file is correct.
417
+
'science_raw_data_for_j6fl25s4q.fits.gz', modifying the filename provided to ensure that the extension of the file is correct. There is only
418
+
one file fulfilling these conditions and it is a FITS file, so the extension is adapted to the contents of the request.
0 commit comments