pint.observatory.topo_obs.load_observatories_from_usual_locations
- pint.observatory.topo_obs.load_observatories_from_usual_locations(clear=False)[source]
Load observatories from the default JSON file as well as
$PINT_OBS_OVERRIDE
, optionally clearing the registryRunning with
clear=True
will return PINT to the state it is on import. Running withclear=False
may result in conflicting definitions if observatories have already been imported.- Parameters:
clear (bool, optional) – Whether or not to clear existing objects in advance