k5tovdif

DESCRIPTION

"k5tovdif" converts K5VSSP or K5/VSSP32 format data to VDIF format data.

SYNOPSIS

k5tovdif k5name1 [k5name2 k5name3 k5name4 [vdifname]] [options]
   or
k5tovdif --version|--help
   or
k5tovdif env

 where

k5name1 K5 file name for CH01-04 or CH01
k5name2 K5 file name for CH05-08 or CH02
k5name3 K5 file name for CH09-12 or CH03
k5name4 K5 file name for CH13-16 or CH04
if K5 file names after the second are not accompanied by directory name, the directory of 1st K5 file is adopted for these files
vdifname VDIF data file name to be created
--version show program version
--help show how to execute
env show environmental variables used in this program
OPTIONS
-o vdifname VDIF file name to be created (default : extension of 1st K5 name is replaced by '.vdif')
-dir vdifdir set directory for VDIF file out (default: K5 directory)
-so soffset set offset time from data head (sec) (default: 0)
-p period set data period to convert (sec) (default: all)
-das das_name set station name or compulsoly set station name (in case of VSSP32, station or PC name got from AUX field)
-sid sid set station id (A2) (in case of VSSP32, sid got from AUX field)
-date jjj|yyyymmdd|yyyyddd
set observation date in three ways as follows (not necessary for K5/VSSP32, K5/VSSP64 format)
jjj:lower 3digits of MJD
yyyymmdd: 4 digit year, 2 digit month, 2 digit day of month
yyyyddd: 4 digit year, 3 digit day of year
-e2bit n set 2bit data encode mode
1:offset binary 0,1,2,3 (no conversion) (default)
2: Mark V standard 0,2,1,3
3: signed integer 1,0,2,3
-nocheck to ignore header error for 2nd and later headers (1st header is checked to obtain sampling information)
-fr frame_bytes set frame length without header (in byte) (default 1280)
-num nframe set # of frames per second (default: 2048e6/(1280*8) = 200000)
-ch1 nn set K5 channel corresponding to VDIF ch #1
nn is K5 channel number (1-16)
-ch2 nn set K5 channel corresponding to VDIF ch #2
.......................
-ch16 nn set K5 channel corresponding to VDIF ch #16
-chall n1:n2:....:n16
set K5 channels corresponding to VDIF all channels
n1 -- K5 channel number (1-16) corresponding to VDIF ch 1
n2 -- K5 channel number (1-16) corresponding to VDIF ch 2
....................
n16 -- K5 channel number (1-16) corresponding to VDIF ch 16

ENVIRONMENT VARIABLES

VDIFDIR default directory for VDIF data


Updated on March 3, 2017