scan
scan(
path: Path | str | Patch | BaseSpool | IOResourceManager ,
file_format: str | None = None,
file_version: str | None = None,
)-> ‘list[dc.PatchAttrs]’
Scan a potential patch source, return a list of PatchAttrs.
Parameters
Parameter | Description |
---|---|
path | A resource containing Fiber data. |
file_format | Format of the file. If not provided DASCore will try to determine it. Only applicable for path-like inputs. |
file_version | Version of the file. If not provided DASCore will try to determine it. Only applicable for path-like inputs. |
Returns
A list of PatchAttrs
or subclasses which may have extra fields.