To remove obsolete files (data and sessions) on w2p2off, ideally
the script ferosNewVA
can be used. This resets also the FITS file counter of the ferosDRS
panel, which counts the files fero<NNNN>.mt upwards. See more
details of ferosNewVA at above link. Keep in mind that this command must never be called after begin of
the afternoon startup and before the final end of the morning CalOB.
Due to reduced staffing and extended periods at the 2.2m without
support astronomers, ferosNewVA is commonly no longer used, while old
data files are removed manually. In this
case the counter in the ferosDRS panel will continue counting upwards,
but when number 10000 is reached
the pipeline will fail to detect the files, as it expects a
4-digit file number.
To avoid pipeline failures, the counter needs to be manually reset
before reaching 9999. The number of the upcoming next frame is stored
in the hidden file /home/astro/FEROS-DRS/.feroNNNN, which
is a link on /data/reduced/FEROS/.feroNNNN. Change
this to a lower value, e.g. to zero. This needs to be done when the
pipeline is in a moment of rest, e.g. during a longer exposure, but it
is not necessary to restart the pipeline afterwards.