Skip to content

Commit

Permalink
Make sure we always have enough data
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuhone committed Aug 6, 2019
1 parent 0a2e917 commit 847e3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xija/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def _set_cmd_states(self, states):

def fetch(self, msid, attr='vals', method='linear'):
"""Get data from the Chandra engineering archive."""
tpad = self.dt * 5
tpad = max(self.dt * 5, 328.0*5)
datestart = DateTime(self.tstart - tpad).date
datestop = DateTime(self.tstop + tpad).date
logger.info('Fetching msid: %s over %s to %s' %
Expand Down

0 comments on commit 847e3c7

Please sign in to comment.