Package org.jlab.io.hipo
Class Hipo2Npz
java.lang.Object
org.jlab.io.hipo.Hipo2Npz
Convert selected banks from a HIPO file into a single NPZ archive.
Bank selection:
- no bank selection specified: include all banks found in the HIPO file
- comma-separated bank names: include only those banks
- --bank-file : one bank name per line, '#' comments allowed
- both comma list and --bank-file may be used together
Schema JSON selection:
- --schema-dir is required
- if banks are selected, only JSON files containing at least one selected bank are parsed
- if no banks are selected, all JSON files in the folder are parsed
Example: after compiling coatjava, cd coatjava, run the script:
./bin/hipo2npz input.hipo output.npz --schema-dir /path/to/json
./bin/hipo2npz input.hipo output.npz --schema-dir /path/to/json BST::adc,RUN::config
./bin/hipo2npz input.hipo output.npz --schema-dir /path/to/json --bank-file banks.txt
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Hipo2Npz
public Hipo2Npz()
-
-
Method Details
-
main
- Throws:
Exception
-