bsod2¶
BSoD2 (BalloonScope on Deck 2) is a command line interface and Python package for reading, processing, and plotting radiosonde data.

Installation¶
This package can be installed from PyPI.
pip install bsod2
Python 3.11 or later is required.
What it does¶
The package provides the bsod2.Sondeset class, which
- reads raw radiosonde files (
F*S*.CSV), - performs quality control,
- optionally interpolates profiles onto a common pressure or height axis,
- exports the results as CSV or as an
xarray.Dataset, and - plots emagrams.
The same quality control is available from the command line as the bsod2 command.
3D trajectories on a map¶
Explore flight trajectories above a terrain map in the interactive Plotly example. Rotate and zoom the view, toggle individual flights in the legend, and hover over a trajectory to inspect its observations. Dotted lines show the ground projections of the trajectories.
See 3D trajectories on a map for the notebook settings and additional dependencies.
Where to go next¶
- Command line interface: quality-control a directory of raw files in one command.
- Python module: use
SondesetandSondefrom Python. - Examples: notebooks using the sample data.
- API reference: all parameters and accessors.
A simple usage guide in Japanese is available on the author's website: bsod2 ラジオゾンデ観測データ品質管理ツール.
License¶
This project is distributed under the terms of the GNU General Public License, Version 3 (GPLv3). See the LICENSE file for details.
