Hi @nperez
This is the revised fix for issue #74 (closed). The problem was found in the case that two datasets + first file is missing. The initial case in issue74 is two datasets but they both have the first file. Since Start() uses the first file to retrieve metadata (as the definition of 'metadata_dims'), the error occurred when the first file didn't exist.
I changed the 'if' condition to judge how to place the metadata. It may not be universal to all the possible cases, but it works for the ones I have now. So I suggest that we can merge it to master and close issue74 now, and we optimize it later if more problems are detected.
Cheers,
An-Chi