|
| Any | read_from_uri (self, ResourcePath uri, str|None component=None, int expected_size=-1) |
| |
| bytes | to_bytes (self, Any in_memory_dataset) |
| |
Formatter for SSP Auxiliary Files.
Definition at line 19 of file sspAuxiliaryFile.py.
◆ read_from_uri()
| Any lsst.pipe.tasks.sspAuxiliaryFile.SSPAuxiliaryFileFormatter.read_from_uri |
( |
| self, |
|
|
ResourcePath | uri, |
|
|
str | None | component = None, |
|
|
int | expected_size = -1 ) |
Read a dataset.
Parameters
----------
uri : `lsst.ResourcePath`
Location of the file to read.
component : `str` or `None`, optional
Component to read from the file.
expected_size : `int`, optional
Expected size of the file.
Returns
-------
payload : `SSPAuxiliaryFile`
The requested data as a Python object.
Definition at line 24 of file sspAuxiliaryFile.py.
◆ to_bytes()
| bytes lsst.pipe.tasks.sspAuxiliaryFile.SSPAuxiliaryFileFormatter.to_bytes |
( |
| self, |
|
|
Any | in_memory_dataset ) |
◆ can_read_from_uri
| bool lsst.pipe.tasks.sspAuxiliaryFile.SSPAuxiliaryFileFormatter.can_read_from_uri = True |
|
static |
The documentation for this class was generated from the following file: