All the message packing unpacking and unit conversion should be handled by the psas_packet project. I was working on a branch that included much nicer documentation, but it never got very far.
You can see in the code itself that each field has a units: https://github.com/psas/psas_packet/blob/master/psas_packet/messages.py#L308-L327 Basically psas_packet already makes all the fields into SI Meter-Kilogram-Second units (acceleration is m/s/s, magnetic field Tesla, etc.) Unfortunately that never got bubbled up to the CSV header or the docs page. That should probably be added as a repo issue! The timestamp is in nanoseconds. 0 is whenever the flight computer process was started. I've been using the umbilical disconnect as a canonical t=0 for the flight. The flight computer received a umbilical disconnect signal at exactly 117853569585227 nanoseconds after boot. So if you want time in seconds, relative to launch (liftoff), do something like this: launch_time = (timestamp - 117853569585227) / 1e9 -Nathan On Tue, May 31, 2016 at 5:02 PM, Aaron Baker <bitmapve...@gmail.com> wrote: > I'm looking at Launch 12 data for a project and having a hard time parsing > the ADIS data because it doesn't have units or any associated documentation. > > I can puzzle out a lot of that from the datasheet, but what actually are > these timestamps that are in the CSV file in the repo? > (Launch-12/data/tele-data/ADIS.csv). Based on the sample rate of the ADIS > and the launch timings it seems plausible they are in nanoseconds but that > is a total guess. > > Anyone know? > > _______________________________________________ > psas-team mailing list > psas-team@lists.psas.pdx.edu > http://lists.psas.pdx.edu/mailman/listinfo/psas-team > > This list's membership is automatically generated from the memberships of > the psas-airframe, psas-avionics, and psas-general mail lists. Visit > http://lists.psas.pdx.edu to individually subscribe/unsubscribe yourself > from these lists. _______________________________________________ psas-team mailing list psas-team@lists.psas.pdx.edu http://lists.psas.pdx.edu/mailman/listinfo/psas-team This list's membership is automatically generated from the memberships of the psas-airframe, psas-avionics, and psas-general mail lists. Visit http://lists.psas.pdx.edu to individually subscribe/unsubscribe yourself from these lists.