def import_gwf_library(library, package=__package__):
<EOL>try:<EOL><INDENT>return importlib.import_module('<STR_LIT>' % library, package=package)<EOL><DEDENT>except ImportError as exc:<EOL><INDENT>exc.args = ('<STR_LIT>' % (library, str(exc)),)<EOL>raise<EOL><DEDENT>
Utility method to import the relevant timeseries.io.gwf frame API

    This is just a wrapper around :meth:`importlib.import_module` with
    a slightly nicer error message