
                          =======
                          PL42COM
                          =======

A program to convert .pl4 file to COMTRADE files.

The program reads all the ATP .pl4 formats (widenn, PISA, C-like, formatted, unformatted, and Salford unformatted). It reads ASCII .pss files, too

The program can be used as follow:


pl42com file year format filetype (in any order an case)

or

pl42com file format year

file: any format .pl4 file, with or without extension.

file.pss for PSS files

year: 1999 or 2013

format: ascii, binary, binary32, or float32.

(lowercase, uppercase or mixed case, it is converted to all uppercase).

filetype: cfg or cff

Default: cfg

cff is compatible only with year=2013. If year=1999 is passed, (or it is not passed=, it is changed by the program to 2013.

pl42com file 

assumes 1999 ascii

The formats binary32 and float32 are compatible only with year=2013.

The program can process file names with multiple '.', as, for example, file.01.11.pl4, and in this case the extension must be passed.

