gpf_pub_agent_road2.graph_download module#

gpf_pub_agent_road2.graph_download.download_graph_if_needed(stored_data: GpfStoredData, data_path: Path, work_dir: Path, subdirectory: Optional[str] = None) None#

Download stored data graph if needed and wait for graph data to be available

Paramètres:
  • stored_data (GpfStoredData) – stored data for resource

  • data_path (Path) – endpoint data directory

  • work_dir (Path) – working directory

  • subdirectory (str|None) – S3 data subdirectory to download (default None)