Introduction

We can download TM data from 2 different ways:

  • in real-time, or later, we can access from data downloaded during a given day

  • some days later, we can access to reconstitued TM database for a given generation date

SIRIUS data

SSH tunnel to JAXA’s computer

$ SSH_TUNNEL

Create an ssh tunnel on port 30200 between localhost and Jaxa reformatter computer (SIRIUS_IP)

This port 32000 is used by Jaxa libsdtp library to download TM data from SIRIUS database

Downloading TM

$ DOWNLOAD_SIRIUS MEA1/MEA2 yyyy-mm-dd

Download TM data from SIRIUS database

This script uses dedicated configuration parameters:

  • MODE = 2 (SDT_TLMRATE)

  • TIME_KIND = 2 (generation time)

  • VCID = 48 (merged)

  • ANTENNA = 240

It uses also a dedicated SOCKFILE, modified to point to localhost 127.0.0.1:30200

Finally uses another script DOWNLOAD_EXP to download in parallel HK, system HK and science data

Normal TM data

Download data from a given antenna

$ DOWNLOAD MEA1/MEA2 yyyy-mm-dd

This script uses dedicated configuration parameters:

  • MODE = 2

  • TIME_KIND = 1 (reception time)

  • VCID = 3 (not standard SDTP ⇒ REAL + REPRO)

  • ANTENNA = 167 (generic one ?)

Downloadind data (both case)

$ DOWNLOAD_EXP MEA1/MEA2 yyyy-mm-dd

That script will download in parallel 3 sources of data:

  • System-HK (APID 0x0608)

  • MEA memory dump (APID 0718)

  • MEA1/2 HK (APID 0x628 or 0x630)

  • MEA1/2 science (APID 0x528 or 0x530)

Then it will merde the various TM sources in signle L0 binary file

/DATA/SOLAR/DATA/L0/yyyymmdd/MEA[1/2]_TLM_yyyymmdd.dat

Check CCSDS TM packet

$ python -m selector yyyy-mm-dd <antenna>