Skip to content

Commit b0ba221

Browse files
committed
Use cheta not Ska.engarchive
1 parent 5430f1c commit b0ba221

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

models/acisfp/calc_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"""
99

1010
import xija
11-
import Ska.engarchive.fetch_eng as fetch_eng
12-
from Ska.Matplotlib import plot_cxctime
11+
from cheta import fetch_eng
12+
from ska_matplotlib import plot_cxctime
1313

1414
start = '2012:001'
1515
stop = '2012:005'

xija/model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,12 @@ def fetch(self, msid, attr="vals", method="linear"):
366366
datestop = DateTime(self.tstop + tpad).date
367367
logger.info("Fetching msid: %s over %s to %s" % (msid, datestart, datestop))
368368
try:
369-
import Ska.engarchive.fetch_sci as fetch
369+
import cheta.fetch_sci as fetch
370370

371371
tlm = fetch.MSID(msid, datestart, datestop, stat="5min")
372372
tlm.filter_bad_times()
373373
except ImportError:
374-
raise ValueError("Ska.engarchive.fetch not available")
374+
raise ValueError("cheta.fetch not available")
375375
if tlm.times[0] > self.tstart or tlm.times[-1] < self.tstop:
376376
raise ValueError(
377377
"Fetched telemetry does not span model start and "

0 commit comments

Comments
 (0)