- Home
- Documentation
- API reference
- Core
- hyperproc.registry
hyperproc.registry¶
Source-derived reference
Generated from the current hyperproc 0.1.2 checkout.
Implementation: hyperproc/registry.py. Signatures, defaults, docstrings, and expandable source are extracted statically; the module is not imported or executed. Names beginning with _ are implementation details, not a stable public API.
Use the function signature as the authority for individual parameter defaults and return annotations. Original docstrings sometimes group parameter names or wrap return descriptions across lines; these descriptions are preserved rather than inferred or rewritten.
Which reader handles which (sensor, level), and how to guess from a filename.
One table, one place to edit. Adding a sensor means writing its reader module
and flipping its loader entry here from None to the function.
REGISTRY: dict[tuple[str, str], Entry] = {}
module-attribute
¶
Entry
dataclass
¶
One supported (or planned) sensor/level combination.
Source code in hyperproc/registry.py
sensor: str
instance-attribute
¶
level: str
instance-attribute
¶
loader: Callable | None
instance-attribute
¶
expects: str
instance-attribute
¶
patterns: tuple[str, ...] = ()
class-attribute
instance-attribute
¶
note: str = ''
class-attribute
instance-attribute
¶
implemented: bool
property
¶
__init__(sensor: str, level: str, loader: Callable | None, expects: str, patterns: tuple[str, ...] = (), note: str = '') -> None
¶
_tanager(path, **kw)
¶
_pace(path, **kw)
¶
_enmap(path, **kw)
¶
_desis(path, **kw)
¶
_neon(path, **kw)
¶
_aviris(path, **kw)
¶
_prisma(path, **kw)
¶
_emit(path, **kw)
¶
register(entry: Entry) -> None
¶
sniff(path: str | Path) -> tuple[str, str] | None
¶
Guess (sensor, level) from a filename. None if nothing matches.
resolve(path: str | Path, sensor: str | None, level: str | None) -> Entry
¶
Find the Entry for an explicit sensor/level, or work it out from path.
Source code in hyperproc/registry.py
summary() -> str
¶
list_readers() -> None
¶
Print the dispatch table.