Skip to content

Commit

Permalink
Set earth orientation table to IERS_A
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 13, 2024
1 parent b114cb7 commit 2e1c675
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/lvmscp/delegate.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import numpy
from astropy.coordinates import EarthLocation
from astropy.time import Time
from astropy.utils import iers
from astropy.utils.iers import conf

from archon.actor import ExposureDelegate
Expand All @@ -33,6 +34,10 @@
conf.auto_download = False
conf.iers_degraded_accuracy = "ignore"

# See https://github.com/astropy/astropy/issues/15881
iers_a = iers.IERS_A.open(iers.IERS_A_FILE)
iers.earth_orientation_table.set(iers_a)


class LVMExposeDelegate(ExposureDelegate["SCPActor"]):
"""Expose delegate for LVM."""
Expand Down

0 comments on commit 2e1c675

Please sign in to comment.