def METHOD_NAME(
    self, filename: str | Path, vars_to_retrieve: Iterable[str] | None = None
) -> UngriddedData:
    """Reads data for a single year for one component"""
    if not isinstance(filename, Path):
        filename = Path(filename)
    if not filename.is_file():
        raise ValueError(f"missing {filename}")
    return self.read(vars_to_retrieve, (filename,))