Closed timspainNERSC closed 5 months ago
Pedantically, I could ask for the catch part to be put into a function to avoid code duplication, but realistically, that would probably require more code and just save two duplicated lines...
I had exactly that thought and came to the same conclusion. Possibly with a frisson more laziness.
Wrap the ncOpen calls to append the file name to the exception message.
Fixes #480
Really only does what it says in the title.