build_skewt.py test harness

Exit code: 0 — success  |  elapsed 6.4 s

Command

'/home/ubuntu/test/weather/venv/bin/python' '/home/ubuntu/weather/products/graphics/soundings/build_skewt.py' --model='nam' --lat='44.0581' --lon='-121.3153' --loc='Bend, Oregon' --trs='T17S R12E Section 16' --fhr='21' --output_file='test_skewt_bend_f21'

Child environment

HOME             /tmp/skewt_cache
MPLCONFIGDIR     /tmp/skewt_cache/matplotlib
XDG_CACHE_HOME   /tmp/skewt_cache/cache
XDG_CONFIG_HOME  /tmp/skewt_cache/config
VIRTUAL_ENV      /home/ubuntu/test/weather/venv
PATH             /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin
LANG             C.UTF-8
cwd              /home/ubuntu/weather/products/graphics/soundings
PHP user         www-data

stdout (output path)

/var/www/html/weather/tools/soundings/test_skewt_bend_f21.png

stderr (progress / warnings / errors)

Model : nam  F021
Target: lat=44.0581  lon=-121.3153
Output: /var/www/html/weather/tools/soundings/test_skewt_bend_f21.png
Trying NAM cycle 2026-08-30 06Z F021 (valid 2026-08-31 03:00Z)
  downloaded: /tmp/skewt_tfxfhxy2.grib2 (41831 bytes)
Profile has 35 levels; surface pressure = 883.2 mb
  Rightmost temp point (p=550 mb) skewed to x=1.054; shifting window +2.97 C -> surface now at x=0.826.
Temperature window: -4.51 C to 35.49 C (span 40.0 C)
  Mixing ratio 16 g/kg off the right edge at 597 mb (x_frac=1.072); not labeled.
  Mixing ratio labels placed: 5 (1 skipped)
  Underground shading: 1030 to 883.2 mb (axes y=0.000 to y=0.245)
  Fahrenheit axis: isotherm cant 45.0 deg, labels rotated -45.0 deg; 82 tics, 7 labels.
Image size: (1200, 900)

Image

Output landed at /var/www/html/weather/tools/soundings/test_skewt_bend_f21.png, which is not under $OUTPUT_DIR (/var/www/html/weather/analysis_graphics/skewt_diagrams); cannot build a URL. Check that OUTPUT_DIR in build_skewt.py matches.