fileutils module

gridtools.fileutils.resolveDataSource(grd, dsName)

This returns a final filename to gridtools to handle cases where the user may or may not provide a file:// prefix to filenames.

This routine does not check if the resolved filename exists.

This may also be a data source via ds:// in which we translate to a file:// spec.

http://, https:// and gql:// are not supported at this time.