pint.observatory.topo_obs.export_all_clock_files

pint.observatory.topo_obs.export_all_clock_files(directory)[source]

Export all clock files PINT is using.

This will export all the clock files PINT is using - every clock file used by any observatory, as well as those relating to BIPM time scales that have been used in this invocation of PINT. Clock files will not be updated and new ones will not be downloaded before this export.

You should be able to set PINT_CLOCK_OVERRIDE to a directory constructed in this way in order to ensure that specifically these versions of the clock files are used.

Parameters:

directory (str or pathlib.Path) – Where to put the files.