pint.observatory.update_clock_files

pint.observatory.update_clock_files(bipm_versions=None)[source]

Obtain an up-to-date version of all clock files.

This up-to-date version will be stored in the Astropy cache; you can then export or otherwise preserve the Astropy cache so it can be pre-loaded on systems that might not have network access.

This updates only the clock files that PINT knows how to use. To grab everything in the repository you can use pint.observatory.global_clock_corrections.update_all().

Parameters:

bipm_versions (list of str or None) – Include these versions of the BIPM TAI to TT clock corrections in addition to whatever is in use. Typical values look like “BIPM2019”.