iwfm.file_test

iwfm.file_test(filename)[source]

Check that the file exists and exit if it does not.

Parameters:

filename (str) – file name

Return type:

nothing

Raises:

FileNotFoundError – Raised (via iwfm.file_missing()) if filename does not resolve to an existing file.