Skip to content

Command line interface

The bsod2 command performs quality control and saves one CSV file per sonde.

$ bsod2 ./sample/Seisuimaru2407/raw_data ./output
 25%|███████              2/8 [00:01<00:03,  1.78it/s]
Argument Description
input Path to the input radiosonde data file or directory. If a directory is given, all F*S*.CSV files in it are processed (the extension is case-insensitive).
output Path to the output directory. It is created if it does not exist.
--interp {p,z} If specified, interpolate along pressure (p) or height (z) with the default axis settings.

Each output file is named <sonde_no>.csv. If several input files share a sonde number, their output names include the launch time: <sonde_no>_<YYYYMMDDTHHMMSS>.csv. If these names also coincide, _2, _3, etc. are appended so that every profile is saved separately.

For more information, run:

bsod2 --help