|
hlcc 2.0.0-beta2+pre1
|
Functions | |
| def | update_iers_leap () |
| Should be run by all HLCC Python scripts that use astropy! | |
| def utils.astropy_cache_updates.update_iers_leap | ( | ) |
Should be run by all HLCC Python scripts that use astropy!
It eagerly updates the astropy cache for IERS data and leap second data, using the ELT TRS web interface. This ensures that astropy uses the same values that the C++ ERFA/SOFA applications retrieve from the TRS HKS. The download from a central place at ESO also ensures that
If ELT operators have to approve IERS updates or can even edit the values, then astropy applications will automatically get these consolidated values from TRS.
TODO In the future this function should perhaps migrate to ecos/ptk, so that all ELT CS applications update their astropy installations in the same way.