justin_utils

Utility functions for interacting with the JustIN web API.

async merge_utils.justin_utils.get_site_rse_distances() dict[source]

Retrieve site-RSE distances from the JustIN web API. Adds site distance offsets from the config Does NOT add RSE distance offsets, since those are already accounted for by the PathFinder

Returns:

dictionary of {rse: {site: distance}} for all reachable site-RSE pairs