Skip to content

Commit 0239809

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
EUCLIDPCR-1863 Include missing variable
1 parent baa5eeb commit 0239809

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/esa/euclid/euclid.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ Query saving results in a file (you may use 'output_format' to specify the resul
422422
.. doctest-skip::
423423

424424
>>> from astroquery.esa.euclid import Euclid
425-
>>> job = Euclid.launch_job("SELECT right_ascension, declination, segmentation_area, fluxerr_vis_1fwhm_aper, ellipticity, kron_radius FROM catalogue.mer_catalogue WHERE ellipticity > 0 ORDER BY ellipticity ASC",dump_to_file=True, output_format='votable')
425+
>>> job = Euclid.launch_job("SELECT right_ascension, declination, segmentation_area, fluxerr_vis_1fwhm_aper, ellipticity, kron_radius FROM catalogue.mer_catalogue WHERE ellipticity > 0 ORDER BY ellipticity ASC", dump_to_file=True, output_format='votable')
426426
>>> print(job.outputFile)
427427
1668863838419O-result.vot.gz
428428
>>> r = job.get_results()
@@ -490,6 +490,7 @@ command stores the result in memory:
490490

491491
>>> from astroquery.esa.euclid import Euclid
492492
>>> # query content: getting the mosaic file name corresponding to the first source in the last query
493+
>>> output_folder="my_temp_folder"
493494
>>> query = "SELECT file_name, file_path, datalabs_path, mosaic_product_oid, tile_index, instrument_name, filter_name, ra, dec FROM sedm.mosaic_product WHERE (instrument_name='VIS') AND (((mosaic_product.fov IS NOT NULL AND INTERSECTS(CIRCLE('ICRS', 60.3372780005097, -49.93184727724773,"+ str(0.5/60) + "), mosaic_product.fov)=1))) ORDER BY mosaic_product.tile_index ASC"
494495
>>> job_async = Euclid.launch_job_async(query, dump_to_file=True, output_file=output_folder + "async_result.csv", output_format="csv", verbose=False)
495496
>>> print("Started async job with id:", job_async.jobid)

0 commit comments

Comments
 (0)