Skip to content

Commit c9e0c99

Browse files
committed
Fix the order of comment and directive
1 parent 06ee09d commit c9e0c99

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/esa/euclid/euclid.rst

Lines changed: 6 additions & 6 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-
.. doctest-skip::
327326
.. Skip testing as the example requires a lot of time to download a huge file
327+
.. doctest-skip::
328328

329329
>>> file_name = res['file_name'][0]
330330
>>> print("Downloading file:", file_name)
@@ -371,8 +371,8 @@ It is also possible to download just small portions of the MER (background subtr
371371

372372
Download the cutout...
373373

374-
.. doctest-skip::
375374
.. Skip testing as the example requires a lot of time to download a huge file
375+
.. doctest-skip::
376376

377377
>>> file_path = f"{res['file_path'][0]}/{res['file_name'][0]}"
378378
>>> cutout_out = Euclid.get_cutout(file_path=file_path, coordinate='NGC 6505', radius= 0.1 * u.arcmin, output_file='ngc6505_cutout_mer.fits')
@@ -502,8 +502,8 @@ package will also be available:
502502

503503
There are several ways to log in to the Euclid archive, as detailed below:
504504

505-
.. doctest-skip::
506505
.. Skip testing as the example require authentication
506+
.. doctest-skip::
507507

508508
>>> from astroquery.esa.euclid import Euclid
509509
>>> Euclid.login_gui() # Login via graphic interface (pop-up window)
@@ -518,8 +518,8 @@ There are several ways to log in to the Euclid archive, as detailed below:
518518
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.
519519
The example below shows how to delete all the jobs in the user area using the list_async_jobs and remove_jobs_ methods.
520520

521-
.. doctest-skip::
522521
.. Skip testing as the example require authentication
522+
.. doctest-skip::
523523

524524
>>> Euclid.login()
525525
>>> job_ids = [job.jobid for job in Euclid.list_async_jobs()]
@@ -530,8 +530,8 @@ It is also possible to take advantage of the job metadata to delete all the jobs
530530

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

533-
.. doctest-skip::
534533
.. Skip testing as the example require authentication
534+
.. doctest-skip::
535535

536536
>>> job_obj = [Euclid.load_async_job(jobid=jobid) for jobid in job_ids]
537537
>>> job_ids = [job.jobid for job in job_obj]
@@ -548,8 +548,8 @@ Second, create a dataframe that contains the jobid and date information:
548548

549549
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:
550550

551-
.. doctest-skip::
552551
.. Skip testing as the example require authentication
552+
.. doctest-skip::
553553

554554
>>> subset = df[(df['date'] == datetime.date(2024,10,1)) & (df['hour_UTC'].isin([7]))]
555555
>>> jobs_to_delete = subset['job_id'].to_list()

0 commit comments

Comments
 (0)