def METHOD_NAME(self, data_type: str) -> dict[str, Any]:
    measures: dict[str, Any] = {}
    for station in self.modules:
        for module in station["measures"].values():
            if (
                "type" in module
                and data_type in module["type"]
                and "res" in module
                and module["res"]
            ):
                measure_index = module["type"].index(data_type)
                latest_timestamp = sorted(module["res"], reverse=True)[0]
                measures[station["_id"]] = module["res"][latest_timestamp][
                    measure_index
                ]
    return measures