Feature #3713

Check file extension for output observations

Added by Tibaldo Luigi over 3 years ago.

Status:NewStart date:05/28/2021
Priority:NormalDue date:
Assigned To:-% Done:

0%

Category:-
Target version:-
Duration:

Description

Several tools, e.g., ctobssim or ctselect, can provide output observations in multiple formats (event lists in FITS, observations lists in XML). If the user specifies an output file name with the wrong extension (for instance, .fits for an observation list) the tools runs without any warning or exception, but the file then is unreadable by other tools.
I think we should add an exception or at least a specific warning in the log when this occurs.


Recurrence

No recurrence.

Also available in: Atom PDF