|
lsst.pipe.tasks g2c8cee2ce7+a177a69160
|
Public Member Functions | |
| Any | read_from_uri (self, ResourcePath uri, str|None component=None, int expected_size=-1) |
| bytes | to_bytes (self, Any in_memory_dataset) |
Static Public Attributes | |
| bool | can_read_from_uri = True |
Formatter for SSP Auxiliary Files.
Definition at line 19 of file sspAuxiliaryFile.py.
| 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.
| bytes lsst.pipe.tasks.sspAuxiliaryFile.SSPAuxiliaryFileFormatter.to_bytes | ( | self, | |
| Any | in_memory_dataset ) |
Definition at line 43 of file sspAuxiliaryFile.py.
|
static |
Definition at line 22 of file sspAuxiliaryFile.py.