CroatiaControlLtd / asterix

Asterix is utility used to read and parse EUROCONTROL ASTERIX protocol data from stdin, file or network multicast stream and print it to standard output in text, XML or JSON format. Source can be used to generate Wireshark dissector for ASTERIX protocol. All ASTERIX categories are defined through XML definition file.
GNU General Public License v2.0
169 stars 90 forks source link

Transform .ast file to csv #219

Closed marius190 closed 1 year ago

marius190 commented 1 year ago

Hi,

I have two ASTERIX ".ast" files containing categories 21 and 48 information. Is it possible to convert the .ast files to a .csv file for instance?

How can I open the .ast file and understand the data structure, so I can transform it in any other format by myself?

Thank you very much!

Marius

dsalantic commented 1 year ago

You need to implement a python application that will parse each packet from your ast file. It will return data in dictionary and then you can write them to CSV file or any other format you want.