Skip to content

Commit d756ac0

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/esa/euclid/euclid.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,9 @@ To download a cutout given its file path, instrument and obs_id, and the cutout
758758
>>> obs_id=example_file["tile_index"]
759759
>>> radius= 0.2 * u.arcmin
760760
>>> coord = SkyCoord("17h51m07.4s +65d31m50.8s", frame='icrs')
761+
>>> output_folder= 'example_outputs/'
762+
>>> if not os.path.exists(output_folder):
763+
os.makedirs(output_folder)
761764
>>> output_file=output_folder + 'cutouts/astroquery_cutout_example.fits'
762765
>>> saved_cutout_filepath = Euclid.get_cutout(file_path=file_path, instrument=instrument, id=obs_id, coordinate=coord, radius=radius, output_file=output_file)
763766
>>> print("Cutout saved at", saved_cutout_filepath)

0 commit comments

Comments
 (0)