Using the following in setupTimeEphem does not count the time step. tephem is the same value repeated. Need to address to print out an ephemeris.
t0 = datetime.utcnow().replace(tzinfo=utc) stepsize = timedelta(seconds=dt) stoploop = 86400/30 #30 sec timestep in terms of day trange = [] for i in range(stoploop): trange.append(t0 + stepsize) tephem = timetype.utc(trange) return tephem, t0
Using the following in setupTimeEphem does not count the time step. tephem is the same value repeated. Need to address to print out an ephemeris.
t0 = datetime.utcnow().replace(tzinfo=utc) stepsize = timedelta(seconds=dt) stoploop = 86400/30 #30 sec timestep in terms of day trange = [] for i in range(stoploop): trange.append(t0 + stepsize) tephem = timetype.utc(trange) return tephem, t0