miranda.decode package#
- class miranda.decode.Decoder(project: str | None)[source]#
Bases:
object
- decode(files: PathLike | str | list[str | PathLike] | generator, chunks: int | None = None, raise_error: bool = False) None [source]#
Decode facets from file or list of files.
- Parameters:
files (str or Path or list of str or Path or generator)
chunks (int, optional) – The chunk size used when processing files. Not to be confused with xarray chunks for dimensions.
raise_error (bool)
- guess = False#
- project = None#
- miranda.decode.guess_project(file: PathLike | str) str [source]#
Guess the name of the project
- Parameters:
file (str or os.PathLike)
- Returns:
str
Submodules#
miranda.decode._decoder module#
- class miranda.decode._decoder.Decoder(project: str | None)[source]#
Bases:
object
- decode(files: PathLike | str | list[str | PathLike] | generator, chunks: int | None = None, raise_error: bool = False) None [source]#
Decode facets from file or list of files.
- Parameters:
files (str or Path or list of str or Path or generator)
chunks (int, optional) – The chunk size used when processing files. Not to be confused with xarray chunks for dimensions.
raise_error (bool)
- guess = False#
- project = None#