Zopra/Charts
Guide
Getting startedAll chartsWhich chart to use?Domain specific
Base charts7
XY ChartTrendCandlestickHeatmapState TimelineFlame GraphBar Gauge
Derived charts73
Time SeriesHistogramStatus HistoryStatGaugeHoneyCombTracesNode GraphHeikin-AshiRenkoKagiPoint & FigureParetoIshikawaControl ChartBland-AltmanLollipopDumbbellSlopeBumpBack-to-BackWaterfallBulletFunnelMekkoForestBarcodeBeeswarmRidgelineHorizonSpectrogramAttention MapWaffleVennUpSetWarped WaffleWord CloudGanttSankeySankey MatrixTreemap ForceChord DiagramCircosArc DiagramAlluvialSankey FunnelDendrogramIcicleSunburstSpiderNightingale RoseParallel CoordinatesOscilloscopeEfficient FrontierPhase PortraitPoincaré MapBifurcationH-R DiagramRamachandranHarkerRoot LocusRadiation PatternQuiverHodographSmith ChartEye DiagramSequence LogoTernaryTernary ContourPiperStüveTephigramChoropleth

Charts/Earth and lab science charts

Tephigram

<Tephigram /> · 10 examples

A sounding on a grid of temperature against entropy, where equal areas stand for equal energy.

Overview

Every thermodynamic diagram is a compromise. You want isotherms and adiabats to be easy to tell apart, you want pressure to run up the page roughly the way height does, and you want the area on the diagram to mean something. You cannot have all three for free, and that is why meteorology has a small zoo of such charts. Each one gave up a different thing.

The tephigram gives up nothing it cares about. Its name is the plain reading of its axes: T for temperature, the Greek letter phi for entropy, gram for chart. In the early 20th century the British meteorologist Napier Shaw turned this into a working tool, and the Met Office has used it ever since. The two axes are temperature and the logarithm of potential temperature, which is the entropy of dry air up to a constant, and the whole grid is turned through 45 degrees so that the isobars run nearly horizontal.

The reward is a diagram on which the area of any closed loop is proportional to energy. A parcel of air that you lift through a warmer environment draws such a loop, and the size of the loop is how much energy the storm has to play with. This is exactly the number people want, and the tephigram gives it as a shape you can shade in with a pencil.

Props

API

<Tephigram data={levels} pressure={|l: &Level| l.hpa} temperature={|l: &Level| l.t} dewpoint={|l: &Level| l.td} />
PropTypeDefault
pressureFn(&T) -> f64: hParequired
temperatureFn(&T) -> f64: °Crequired
dewpointFn(&T) -> f64: °Cnone
pressure_range(f64, f64): bottom and top, hPa(1050., 100.)
temperature_range(f64, f64): °C across the bottomStüve (-80., 40.), Tephigram (-40., 40.)
adiabats, moist, mixingbool: dry adiabats, moist adiabats, mixing-ratio linesall true

Both draw isobars (labelled on the left), isotherms (labelled at the bottom), dry adiabats every 10 K, saturated adiabats integrated from 1000 hPa, and mixing-ratio lines in g/kg. The temperature line is red and the dew point green. Hover a level for its values, mixing ratio and potential temperature θ.

  • Stüve: temperature across, pressure^0.286 up. Dry adiabats are straight lines.
  • Tephigram: temperature against ln θ, turned 45° so isobars run nearly level. Equal areas mean equal energy.

Zoom: hold Ctrl (Cmd on macOS) and scroll, or pinch on a trackpad, to zoom about the pointer. Drag to pan once zoomed in, and double-click to reset.

Run them

10 examples

Press Run to load an example into the live render at the top of the page. Open one to read its code.

How to read it

  1. 01Find the red temperature line and the green dew point. A small gap means nearly saturated air.
  2. 02Follow the dry adiabat up from the surface temperature, and the mixing-ratio line up from the surface dew point. Where they cross is the lifting condensation level, roughly the cloud base.
  3. 03From there, follow the moist adiabat upward. Wherever it lies to the warm side of the red line the parcel is buoyant, and the area between them is the energy available.
  4. 04Hover a level for its temperature, dew point, mixing ratio and potential temperature.

When to use it, and when not to

Reach for it when

  • You have a sounding and want to estimate convective energy by area, as CAPE and CIN.
  • You work in the UK or Commonwealth, or a field where the tephigram is the standard.
  • You need a diagram where an enclosed area has a physical meaning, for teaching or for a quick estimate.
  • You want one grid showing dry and moist adiabats and mixing ratio together, to find cloud base and the level of free convection.

Skip it when

  • Your audience is American and reads Skew-T log-P charts. A tephigram will cost you five minutes of explanation before it saves any.
  • You want a grid on which straight lines are easy to draw by hand. The Stüve has straight dry adiabats.
  • You want wind. Draw a hodograph next to it.
  • You want a plain temperature-height plot for a general audience. A line chart does that better.

The math behind it

Temperature against entropy

Potential temperature θ\thetaθ is the temperature a parcel would have if moved dry-adiabatically to 1000 hPa. For dry air, specific entropy is a constant times ln⁡θ\ln\thetalnθ, so lines of constant θ\thetaθ (dry adiabats) are lines of constant entropy. The tephigram plots TTT against ln⁡θ\ln\thetalnθ.

θ=T(1000p)0.2857,a=T,b=273.15 ln⁡θ\theta = T\left(\frac{1000}{p}\right)^{0.2857}, \qquad a = T, \qquad b = 273.15\,\ln\thetaθ=T(p1000​)0.2857,a=T,b=273.15lnθ

The 45 degree turn

In (a,b)(a, b)(a,b) coordinates, isotherms are vertical and dry adiabats are horizontal. The chart rotates the plane by 45 degrees and uses the same scale on both screen axes, so the right angle between the families is kept and the area is preserved up to one constant factor. Here TTT is in kelvin (the chart converts from Celsius).

x=a+b2,y=b−a2x = \frac{a + b}{\sqrt{2}}, \qquad y = \frac{b - a}{\sqrt{2}}x=2​a+b​,y=2​b−a​

Why area is energy

For a parcel taking a closed path, the work done per unit mass is the integral of T dsT\,\mathrm{d}sTds, which is the area enclosed on a diagram of TTT against entropy sss. The tephigram plots s∝ln⁡θs \propto \ln\thetas∝lnθ against TTT, so the enclosed area is proportional to the energy released. In practice the area between the parcel's path and the environment curve is what forecasters call CAPE where the parcel is warmer, and CIN where it is colder.

∮T ds  ∝  ∮T d(ln⁡θ)\oint T\,\mathrm{d}s \;\propto\; \oint T\,\mathrm{d}(\ln\theta)∮Tds∝∮Td(lnθ)

Lines on the grid

The background draws isobars every 100 hPa and isotherms every 10 degrees, dry adiabats for θ\thetaθ from 220 K to 480 K every 10 K, saturated adiabats integrated from 1000 hPa in 10 hPa steps (the moist lapse rate uses the Bolton saturation vapour pressure and a latent heat of 2.501×1062.501\times10^{6}2.501×106 J/kg), and mixing-ratio lines from 0.4 to 20 g/kg. The default temperature range across the bottom is −40-40−40 to 404040 degrees, and the pressure range 1050 down to 100 hPa. Levels are sorted by pressure before drawing, and levels with a non-positive or non-finite pressure are dropped.

Real life usage

The area under the afternoon

Marguerite taught atmospheric physics to second-year students and had a tradition that she regretted every year around week six. The tradition was the thermodynamics lecture, in which she would derive CAPE from the first law, fill a whiteboard, turn around and find that 140 undergraduates had also turned into whiteboards.

The problem was real. Convective available potential energy is an integral, and an integral is an area, and an area is a thing you can see. Nobody had ever shown her students the area. They had seen the formula, the table of constants and a slide with a stock photo of a thunderstorm, which was supposed to help.

That year she decided to do it differently. She took a sounding from a day when a storm had formed over the campus at 4 p.m. and given the football team an early shower. The 12 UTC balloon had been launched from an airfield 20 km away, with 94 levels of pressure, temperature and dew point.

She plotted it in a zopra-charts <Tephigram>, handing the three columns to pressure, temperature and dewpoint. Then she had the class lift a parcel from the surface by hand: up the dry adiabat, across to the mixing-ratio line, then along the moist adiabat, which was already drawn on the grid.

Between 780 and 340 hPa the parcel's path leaned to the warm side of the red line, and the sliver between them was about the size of a thumbnail. She had the students shade it with a highlighter on a printout. It was CAPE. It was also, as one of them noted, "smaller than I expected for something that ruined football." She told him that this was a perfectly good question, and that the answer was 1,900 joules per kilogram, which is more than enough.

In the next test, 82% of the class could identify the level of free convection correctly, against 51% the year before. Marguerite credits the highlighter. The department credits the tephigram. The football team credits no one and still does not trust balloons.

A formula says how much. A shaded area says why you should care.

Pitfalls

  • Reading it like a Stüve. The isotherms and adiabats are at 45 degrees to the page, not vertical and straight. Follow the labelled lines, not your instinct.
  • Using it outside its area. The default temperature range is −40-40−40 to 404040. A sounding that drifts outside simply leaves the frame. Widen temperature_range for polar or stratospheric work.
  • Dew point errors high up. Humidity sensors above 400 hPa are unreliable. Do not read much from a dew point there.
  • Treating the moist adiabats as exact. They are integrated from 1000 hPa with a simple midpoint scheme, which is plenty for a forecast sketch and not a substitute for a parcel model in a research paper.

From around the web

Watch and read

YouTubeVisual Explanation of Meteorological Skew T Log P Sounding DiagramsPatrick BrownNot a tephigram, but the same family: it builds up isobars, isotherms, adiabats and mixing-ratio lines step by step.

Keep going

Related charts

StüveThe same sounding on a grid with straight dry adiabats, easier to draw by hand.HodographThe companion for wind shear, which together with CAPE decides how severe a storm gets.Ternary ContourAnother chart where a physical field is drawn over a fixed grid.
PreviousStüveNextChoropleth

On this page

  • Live
  • Overview
  • API
  • Examples
  • How to read it
  • When to use it
  • The math
  • Story
  • Pitfalls
  • Watch and read
  • Related