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
@@ -560,8 +560,8 @@ package will also be available:
560
560
561
561
There are several ways to log in to the Euclid archive, as detailed below:
562
562
563
-
.. Skip testing as the example require authentication
564
563
.. doctest-skip::
564
+
.. Skip testing as the example require authentication
565
565
566
566
>>> from astroquery.esa.euclid import Euclid
567
567
>>> Euclid.login_gui() # Login via graphic interface (pop-up window)
@@ -576,8 +576,8 @@ There are several ways to log in to the Euclid archive, as detailed below:
576
576
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.
577
577
The example below shows how to delete all the jobs in the user area using the list_async_jobs and remove_jobs_ methods.
578
578
579
-
.. Skip testing as the example require authentication
580
579
.. doctest-skip::
580
+
.. Skip testing as the example require authentication
581
581
582
582
>>> Euclid.login()
583
583
>>> job_ids = [job.jobid for job in Euclid.list_async_jobs()]
@@ -588,16 +588,15 @@ It is also possible to take advantage of the job metadata to delete all the jobs
588
588
589
589
First, use the load_async_job_ method to download the metadata of the async jobs stored in the user space:
590
590
591
-
.. Skip testing as the example require authentication
592
591
.. doctest-skip::
592
+
.. Skip testing as the example require authentication
593
593
594
594
>>> job_obj = [Euclid.load_async_job(jobid=jobid) for jobid in job_ids]
595
595
>>> job_ids = [job.jobid for job in job_obj]
596
596
>>> dates = [job.creationTime for job in job_obj]
597
597
598
598
Second, create a dataframe that contains the jobid and date information:
599
599
600
-
.. Skip testing as the example require authentication
@@ -607,8 +606,8 @@ Second, create a dataframe that contains the jobid and date information:
607
606
608
607
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:
609
608
610
-
.. Skip testing as the example require authentication
611
609
.. doctest-skip::
610
+
.. Skip testing as the example require authentication
0 commit comments