Unpacking PCAP files containing LOW-CBF visibility data
The vis-data-unpacker
tool can be used to unpack a PCAP file containing LOW-CBF visibility data captured by a CNIC.
It is able to write the unpacked data and metadata to .zarr
and .csv
files respectively.
Tip
The command-line tools are installed automatically when using Poetry, see Using Poetry.
Usage
$ vis-data-unpacker -h
usage: vis-data-unpacker [-h] [--metadata-output path/to/unpacked/metadata.csv] [--data-output path/to/unpacked/data.zarr] [-v] pcap_file_path
positional arguments:
pcap_file_path Path to a PCAP file containing visibility data
options:
-h, --help show this help message and exit
--metadata-output path/to/unpacked/metadata.csv
When this option is supplied, the unpacked metadata is written to the target file in CSV format.
--data-output path/to/unpacked/data.zarr
When this option is supplied, the unpacked data is written to the target file in .zarr format.
-v, --verbose