[INSTRM-1057] Implement offline IERS retrieval and cache. Created: 26/Aug/20 Updated: 15/Jan/22 |
|
| Status: | Open |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | cloomis |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | SPS | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Story Points: | 2 | ||||||||
| Sprint: | SM1PD-2020 J, SM1PD-2021 A 12 | ||||||||
| Description |
|
We need LST for Subaru headers. astropy does that "right" and requires UT1, which in turn requires the IERS predictions. By default these are fetched as needed. Various things can go wrong with getting them, so we should arrange to get them ahead of time and enable the modern astropy mechanism for using that cached file. This will require updating astropy to 4.0+, which is currently not safe to do since that would update numpy. |
| Comments |
| Comment by cloomis [ 28/Oct/20 ] |
|
astropy support using $XDG_CONFIG_HOME to find alternate config/cache directories. So if we want to use a single shared cache for all the BEEs, we could put something like export XDG_CONFIG_HOME=/software/config in /software/ics_launch/bin/setups.sh, I guess. XDG_CONFIG_HOME is part of the "freedesktop.org" convention/"standard". |