rex.utilities.utilities.check_hsds_file

check_hsds_file(res_file)[source]

Check resource to see if the given path - It belongs to a multi-file handler - Is a hsds path

Parameters:

res_file (str) – Filepath to single resource file, unix style multi-file path like /h5_dir/prefix*suffix.h5, an hsds filepath (filename of hsds path can also contain wildcards *), or an s3 filepath starting with “s3://”

Returns:

  • multi_h5_res (bool) – Boolean flag to use a MultiFileResource handler

  • hsds (bool) – Boolean flag to use h5pyd to handle .h5 ‘files’ hosted on AWS behind HSDS