Skip to content

Commit f1b6158

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
Jorge Fernandez Hernandez
authored and
Jorge Fernandez Hernandez
committed
EUCLIDPCR-1914 Include zip extension to the output file
1 parent c5b7a81 commit f1b6158

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

astroquery/esa/euclid/core.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,8 @@ def get_spectrum(self, *, source_id, schema='sedm', retrieval_type="ALL", output
12001200
params_dict['USE_ZIP_ALWAYS'] = 'true'
12011201
params_dict['TAPCLIENT'] = 'ASTROQUERY'
12021202

1203-
fits_file = source_id + '.fits'
1203+
fits_file = source_id + '.fits.zip'
1204+
12041205
output_file_full_path, output_dir = self.__set_dirs(output_file=output_file, observation_id=fits_file)
12051206
try:
12061207
self.__eucliddata.load_data(params_dict=params_dict, output_file=output_file_full_path, verbose=verbose)

0 commit comments

Comments
 (0)