From 41ce32e985d76abc6f7df262cb49f15b5ea433a9 Mon Sep 17 00:00:00 2001 From: John ZuHone Date: Tue, 21 Jul 2020 10:43:47 -0400 Subject: [PATCH] Bugfix --- acispy/thermal_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acispy/thermal_models.py b/acispy/thermal_models.py index 8a8ab41..5b32457 100644 --- a/acispy/thermal_models.py +++ b/acispy/thermal_models.py @@ -182,7 +182,7 @@ def _get_msids(self, model, comps, tl_file): comps.remove("earth_solid_angle") comps.append("ccsdstmf") msids = MSIDs.from_database(comps, tstart, tstop=tstop, filter_bad=True, - interpolate=True, interpolate_times=times) + interpolate='nearest', interpolate_times=times) if msids[comps[0]].times.size != times.size: raise RuntimeError("Lengths of time arrays for model data and MSIDs " "do not match. You probably ran a model past the "