Open ercius opened 3 months ago
Looking at the code I can't see how the metadata extraction would start before, the file is fully written. The metadata extraction is triggered by the the file being uploaded, maybe an incomplete dm4 gets uploaded, that looks like it could be possible. Is scan599.dm4
the file associated with the stacktrace ?
Yes. Scan599 was the one that triggered the error. I think it also seems like the file was not fully written. The file was readable when I checked it though.
The metadata is not being extracted for some scans. The preview image is showing up though.
I tried restarting faust-scan-file and the problem came back. The logs show this error:
The files look ok on vfdaq and on NERSC. Im also able to read the file at
ncemhub/distiller/dm4/2024.08.21/scan599.dm4
using ncempy. Maybe the file was not fully written before the metadata extraction was attempted?