TimeSeriesHDF5: silent failure when file doesn't exist

Issue #353 resolved
Nico Schlömer created an issue

In the constructor in TimeSeriesHDF5.cpp, we see a log message and clean exit when the file to be read does not exist. This should be an error.

Comments (2)

  1. Chris Richardson

    In a sense this is not an error, but correct behaviour. The constructor does not know whether we are reading or writing to a TimeSeriesHDF5. If writing, then there may be no pre-existing file.

    On the other hand, there should probably be some guards in the retrieve routines, to cause an error if you try to retrieve data and there is no file.

  2. Log in to comment