NotADirectoryError due to race condition
NotADirectoryError at https://gitext.gfz-potsdam.de/EnMAP/sensormapgeo/-/blob/master/sensormapgeo/transformer_2d.py#L244
with TemporaryDirectory() as td:
[...]
ds_out = None
-> may raise a NotDirectoryError, possibly due to a race condition between the tempfile directory deletion and the GDAL file deletion