pint.observatory.global_clock_corrections.Index

class pint.observatory.global_clock_corrections.Index(download_policy='if_expired', url_base=None, url_mirrors=None)[source]

Bases: object

Index of files available from the global repository.

The list is obtained by downloading (via the cache) the file index.txt from the repository. The result is stored in a dictionary index.files that maps filenames (like gps2utc.clk to IndexEntry objects describing those files. These entries contain information about expiry and validity of the file.

For parameter meanings see pint.observatory.global_clock_corrections.get_file().

Methods