desihub / desisurvey

Code for desi survey planning and implementation
BSD 3-Clause "New" or "Revised" License
2 stars 7 forks source link

IERS workaround #105

Closed weaverba137 closed 4 years ago

weaverba137 commented 4 years ago

This PR adds a workaround URL that update_iers(). However, we also realized while testing this that update_iers() is intended to be run once at the start of the survey and then NEVER AGAIN. For all other things that need IERS-A, freeze_iers() should be called first.

This means that any errors resulting from attempts to download IERS-A in other packages are caused by those packages failing to properly call freeze_iers(), not from an error in desisurvey.

In addition, the Travis test matrix has been updated, and a command-line script to call update_iers() is added.

The existing iers_frozen.ecsv file is a few years old, but let's not update that until we make a collective, documented decision.