Closed FerreolS closed 2 years ago
Up to now, there is no way to know which software was used to create an OI-Interface image. We could use an heuristic to infer it but I think, it should be in the standard somehow
The ESO standard is:
PROCSOFT Indicates the reduction software system including its version number used to produce this data product.
Ok. PROCSOFT keyword may be already used by the reduction pipeline. As an example, PIONIER oifits files contains in the primary header :
PROCSOFT= 'pndrs_v3.52' / Data reduction software and version
Is setting the algorithm in PROCSOFT keyword in IMAGE-OI OUTPUT PARAM hdu is sufficiently clear?
I think its clear from the context of being in a different hdu.
there is already VERSION ?
There in no eso keyword for version. The version number seems to be usually added to the software name in the PROCSOFT keyword
Now that I have the hands in MiRA, I am going to give a try to PROCSOFT
as follows (https://github.com/emmt/MiRA/commit/c666226fe806537385ba2ca554f819a04250a7e1):
PROCSOFT= 'MiRA v2.3.2' / Data reduction software and version
For bsmem see https://gitlab.com/jsy1001/bsmem/-/issues/9
I've implemented PROCSOFT
for bsmem.
I created an issue for OImaging https://github.com/JMMC-OpenDev/oimaging/issues/96
What would be the version of Wisard at any moment? At the moment it is 3.2.2 . This is not an internal Wisard number, it is a Github release number triggered by Laurent. It would be nice to have PROCSOFT set to the release number 'automatically'. Since the number is a string, I figure a GH script could insert the actual release number in the Wisard "code", as it is not compiled but just a procedure. Any other solution leads to a discrepancy between PROCSOFT and the only number availble around, the GH release number. Or am I confused?
Ok. That seems doable, it is probably just a few lines to add in the dockerfile : https://github.com/JMMC-OpenDev/oimaging-uws-server/blob/master/runtime/docker/oiservices/Dockerfile
We should document this usage of PROCSOFT in the specification document.
We should add a software (or algorithm) and software version keywords in
IMAGE-OI OUTPUT PARAM
:SOFTWARE
SOFT_VER