Plot a Sounding in Your Browser#
This experimental demo runs tephpy and matplotlib entirely in your browser. It starts with a bundled example sounding and lets you replace it with a local CSV file. Your file is not uploaded to tephpy or to a live-data service.
Note
The first launch downloads PyScript, Pyodide, and the scientific Python packages needed by tephpy. It can take a few minutes. Chromium is tested; Firefox and Safari support are best-effort.
Launch the Demo#
The runtime is loaded only after you choose Launch browser demo.
Prepare a CSV File#
The demo’s CSV format is intentionally small. It is an input contract for this page, not a package-level reader.
Column |
Requirement |
|---|---|
|
Required; pressure in hectopascals. |
|
Required; temperature in degrees Celsius. |
|
Optional; dewpoint in degrees Celsius. |
|
Optional, but supplied together; speed in metres per second and direction in degrees. |
Blank cells become NaN. An absent optional column becomes None. The
demo reports missing or duplicate headers, a nonnumeric nonblank cell, empty
data, a row whose cell count differs from its header count, and a one-sided
wind pair before plotting. tephpy’s
Sounding then performs the usual physical validation,
including pressure ordering and dewpoint bounds.
Use the matplotlib toolbar below the canvas to pan, zoom, inspect cursor coordinates, restore the original view, or download the figure. Uploading an invalid file leaves the previous plot in place so you can correct the data and try again. Expand Plotted data beneath the canvas to inspect the normalized values and units used by the current plot.
Experimental Scope#
The demo deliberately has no University of Wyoming wyoming.fetch access,
persistent configuration, thermodynamic-analysis controls, offline caching, or
live network data. Those are outside this experiment; only local CSV plotting
is included.