General open and methods (sarpy.io.received.converter)

This module provide utilities for reading essentially Compensated Received Signal Data

sarpy.io.received.converter.register_opener(open_func: Callable) None

Provide a new opener.

Parameters:

open_func – This is required to be a function which takes a single argument (file name). This function should return a sarpy.io.received.base.CRSDTypeReader instance if the referenced file is viable for the underlying type, and None otherwise.

Return type:

None

sarpy.io.received.converter.parse_openers() None

Automatically find the viable openers (i.e. is_a()) in the various modules.

sarpy.io.received.converter.open_received(file_name: str) BaseReader

Given a file, try to find and return the appropriate reader object.

Parameters:

file_name (str) –

Return type:

CRSDTypeReader

Raises:

SarpyIOError