Skip to content

Commit 249f1dc

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
Revert "EUCLIDSWRQ-250 Fix problem in the documentation introduced in PR #3558"
This reverts commit 8397e08.
1 parent c97788f commit 249f1dc

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

docs/esa/euclid/euclid.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ and their sky coverage (in its "fov" field) is queried using ADQL_. Please note:
323323
* Given the size of the Euclid FITS images (~1.4 GB for the MER images and ~7 GB for calibrated VIS images) downloading individual files is time consuming (depending on the internet bandwith).
324324
* This step can be skipped if using ESA Datalabs_ (as direct access to the products is possible).
325325

326-
.. Skip testing as the example requires a lot of time to download a huge file
327326
.. doctest-skip::
327+
.. Skip testing as the example requires a lot of time to download a huge file
328328
329329
>>> file_name = res['file_name'][0]
330330
>>> print("Downloading file:", file_name)
@@ -430,8 +430,8 @@ It is also possible to download just small portions of the MER (background subtr
430430

431431
Download the cutout...
432432

433-
.. Skip testing as the example requires a lot of time to download a huge file
434433
.. doctest-skip::
434+
.. Skip testing as the example requires a lot of time to download a huge file
435435
436436
>>> file_path = f"{res['file_path'][0]}/{res['file_name'][0]}"
437437
>>> cutout_out = Euclid.get_cutout(file_path=file_path, coordinate='NGC 6505', radius= 0.1 * u.arcmin, output_file='ngc6505_cutout_mer.fits')
@@ -561,8 +561,8 @@ package will also be available:
561561

562562
There are several ways to log in to the Euclid archive, as detailed below:
563563

564-
.. Skip testing as the example require authentication
565564
.. doctest-skip::
565+
.. Skip testing as the example require authentication
566566
567567
>>> from astroquery.esa.euclid import Euclid
568568
>>> Euclid.login_gui() # Login via graphic interface (pop-up window)
@@ -577,8 +577,8 @@ There are several ways to log in to the Euclid archive, as detailed below:
577577
All the asynchronous jobs launched by registered users are stored in the user area, which can store up to 10 GB of jobs. Therefore, it is recommended to remove unnecessary jobs to avoid filling up the user quota.
578578
The example below shows how to delete all the jobs in the user area using the list_async_jobs and remove_jobs_ methods.
579579

580-
.. Skip testing as the example require authentication
581580
.. doctest-skip::
581+
.. Skip testing as the example require authentication
582582
583583
>>> Euclid.login()
584584
>>> job_ids = [job.jobid for job in Euclid.list_async_jobs()]
@@ -589,16 +589,15 @@ It is also possible to take advantage of the job metadata to delete all the jobs
589589

590590
First, use the load_async_job_ method to download the metadata of the async jobs stored in the user space:
591591

592-
.. Skip testing as the example require authentication
593592
.. doctest-skip::
593+
.. Skip testing as the example require authentication
594594
595595
>>> job_obj = [Euclid.load_async_job(jobid=jobid) for jobid in job_ids]
596596
>>> job_ids = [job.jobid for job in job_obj]
597597
>>> dates = [job.creationTime for job in job_obj]
598598
599599
Second, create a dataframe that contains the jobid and date information:
600600

601-
.. Skip testing as the example require authentication
602601
.. doctest-skip::
603602

604603
>>> df = pd.DataFrame.from_dict({'job_id':job_ids, 'fulldate':dates})
@@ -608,8 +607,8 @@ Second, create a dataframe that contains the jobid and date information:
608607

609608
Finally, extract the job id's included in a given time range (in the example below, all the jobs stored since 2024-10-01 at 7 hours UTC) and delete them:
610609

611-
.. Skip testing as the example require authentication
612610
.. doctest-skip::
611+
.. Skip testing as the example require authentication
613612
614613
>>> subset = df[(df['date'] == datetime.date(2024,10,1)) & (df['hour_UTC'].isin([7]))]
615614
>>> jobs_to_delete = subset['job_id'].to_list()

0 commit comments

Comments
 (0)