I am defining a custom ancillary directory tree and a custom datebase name.
It works perfectly for most satellites because the name of the input file is actually the name of the image. It doesn't work for OLCI and MSI because getanc assumes the name of the *.anc text file from the name of the input files, which are the manifest files in those cases. getanc names all *.anc file xfdumanifest.xml.anc for OLCI and manifest.safe.anc for MSI whatever ancillary directory or database names I define.
I can workaround this problem by creating a copy of the manifest file and naming it with the name of the image, or just renaming the *.anc after it is created but it is not very clean.
There is another workaround extracting manually the start and end time from the image name and use them as an input to getanc but I would prefer to let getanc automatically find them.
It would be very convenient to have an option in getanc to define the *.anc file name.