AstarVienna / METIS_Simulations

Scripts for simulating METIS with ScopeSim
1 stars 0 forks source link

Decide on filename convention / mimic filenames that correspond to the actual raw data. #6

Closed hugobuddel closed 7 months ago

hugobuddel commented 7 months ago

Currently the output only contains the CATG:

The filenames of real raw data will probably look like this:

Where the timestamp is the MJD-OBS. This has the benefit that each file is unique.

We should not follow the official scheme, because it has certain drawbacks:

I therefore propose this scheme:

The reason to put the CATG value last is that the recipes will put the filename of the input data in the headers of the produced data, but it will crop this to only a small number of characters. So it is necessary to put the MJD-OBS first to ensure that the headers of the processed data uniquely point to the used raw data.

Note that for the LMN mode and IFU modes we might have observations with technically the exact same time of observation, if the LM detector is read out at the exact same time as the N or IFU detector. In that case we can just add a millisecond to one of them.

hugobuddel commented 7 months ago

The above is implemented in #7.

This works, however, we perhaps use too many ambiguous separators with filenames like METIS.2024-01-02T03_45_00.123.DETLIN_LM_RAW-dit1.0.fits:

I propose to keep this messy and just proceed, until someone thinks of something nicer.