pyradtran.schema.load_schema#
- pyradtran.schema.load_schema(config=None, root: Path | None = None) Dict[str, Any] | None[source]#
Return the option schema for the local libRadtran install, cached.
- Parameters:
config (SimulationConfig, optional) – Used to locate the installation when root is not given.
root (pathlib.Path, optional) – libRadtran installation root (the directory containing
src_py).
- Returns:
{option_name: schema_entry}, or None when no local libRadtran source tree can be found (validation then falls back to the curated registry only).- Return type:
dict or None