Skip to main content

PyCCSDS


PyCCSDS is a library to read a data packet coming from a space mission that follows the Consultative Committee for Space Data Systems (CCSDS) standard

Current version 0.1.0

[[TOC]]

Installation

python3 -m pip install Python-CCSDS

Usage

from PyCCSDS.ccsds import CCSDS

dat = CCSDS('BepiColombo',packet)

wehre packet is a string with the HEX rappresentation of the pachet

Limitation

Data Structure

The CCSDS Header is composed by two blocks:

  • the Source Packet Header
  • the Packet Data Field

The first one il long 48 bits the second one has a varble dimension and structure depending by the type and the content of the packet. in Figure 1 is reported the structure for a Telemetry Packet.

The structure of the CCSDS class follow the structure of the packet header.

classDiagram
    CCSDS --|> SPH
    CCSDS --|> PDF
    SPH --|> packetID
    SPH--|> sequenceControl
    PDF --|> DFHeader
    class CCSDS{
        + str Data 
    }
    class DFHeader{
        + uint PUSVersion
        + uint ServiceType
        + uint ServiceSubType
        + uint DestinationId
        + uint Synchronization
        + uint CorseTime
        + uint FineTime
        + str SCET
        + str  UTCTime
    }
    class SPH{
        + uint packetLength
    }
    class packetID{
        + uint VersionNum
        + uint packetType
        + uint dataFieldHeaderFlag 
        + uint Apid
        + uint Pid
        + uint Pcat
    }
    class sequenceControl{
        + bin SegmentationFlag
        + uint SSC
    }
    class PDF{
        +str Data
    }

TM packet

Figure 1 - Telemetry Packet

Release files for Python-CCSDS 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Python-CCSDS 0.1.0
File Size Uploaded
Python-CCSDS-0.1.0.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Python-CCSDS 0.1.0
File Interpreter ABI Platform
Python_CCSDS-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:31.6 kB

Release files / Python-CCSDS-0.1.0.tar.gz

Download URL Python-CCSDS-0.1.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e5b4fcd33b24d09ec6154d4fb74801af2431f3190e758714ace235790525d93b
BLAKE2b-256 checksum
How to use checksums
b70645546f0cec359fc1f43c90de272aa6bc0f1fea2b0e0f01e5d8b7cf4b0eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / Python_CCSDS-0.1.0-py3-none-any.whl

Download URL Python_CCSDS-0.1.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b755d82b1c93b2bb6aebd5b95cfbb0a3a1c377bdb67a367562302fc080fc903f
BLAKE2b-256 checksum
How to use checksums
9dce3b17dc13f82bebf0abac60d22cb76fc6d7986c2b06967b61350340e02975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page