Skip to content

Writing Criteria

Every guide in this repo is written to the same standard. If you're adding or editing a guide — human or AI — hold it to these.

  1. Plain words, real ideas. Simple language, never dumbed-down concepts. Explain jargon on first use; collect terms in the glossary.
  2. No hype. No marketing adjectives, no "revolutionary," no promises about what something will do for the reader.
  3. Honest about limits. Say what the thing can't do. State uncertainty instead of smoothing it over. Validation notes include what remains unverified.
  4. No invented numbers. Benchmarks, defaults, and specs are either measured or qualified with "depends on your setup." If it wasn't tested, say so.
  5. Checkable. Commands are meant to be run, with "Check:" blocks showing what success looks like. Sources are linked, not asserted.
  6. Respect the reader's setup. Call out Windows/Mac/Linux differences. Don't assume a GPU, a budget, or prior experience.
  7. Safety isn't skipped. Real risks get stated plainly, not buried.
  8. Scoped. Each guide says what it covers and points elsewhere for the rest. No guide pretends to be the whole subject.
  9. Structure over prose. Tables, before/after examples, symptom → fix. Scannable beats essay.

Verification notes for this guide

This guide sits at the opposite end of the series' usual problem: the software was all here, and only the weather was missing. WeeWX 5.5.2 was installed in the build sandbox and run end to end on its built-in Simulator driver, so the engine, the database, the reports, and the extension system are verified from real output. The weather those outputs describe is mathematical invention, and every chapter says so where it matters. Working files are kept with the build (weewx-lab/: the final configuration, the final database, and the run transcripts).

The lab. Ubuntu sandbox, Python 3.12.3, WeeWX 5.5.2 installed by pip into a virtual environment (dependencies as installed: configobj 5.0.9, CT3 3.4.0.post5, Pillow 13.0.0, ephem 4.2.1, pyserial 3.5, pyusb 1.3.1, PyMySQL 1.2.3). Station created by weectl station create with --no-prompt for the fictional Meadowbrook Hollow Test Station (39.05° N, 95.68° W, 920 ft, US units, no registration). Lab deviations from a fresh station, all declared in the chapters: archive interval shortened 300 → 60 seconds; a [Logging] section redirecting the log to a file inside the station; the VaporTest skin and report of chapter 9; the bundled Basic extension installed; the bundled vaporpressure sample enlisted as an XTypes service.

Verified by running:

  • Install (ch. 2): the pip route above, including weewxd --version reporting 5.5.2 and the dependency set as listed by pip.
  • Station creation (ch. 3): the full weectl transcript — configuration written, seven skins copied (Seasons, Standard, Horizon, Rsync, Smartphone, Mobile, Ftp), bin/user created — and the Simulator as the default driver (station_type = Simulator, driver = weewx.drivers.simulator, loop_interval = 2.5, mode = simulator).
  • The engine (ch. 1, 3): startup log lines quoted verbatim (archive interval honoured, binding to weewx.sdb, backfill over an empty database, main loop start, clock error −0.23 s); LOOP packets printed by StdPrint, the first at 08:47:03 UTC carrying roughly 45 keys including engine-calculated dewpoint, windchill, heatindex, altimeter, and cloudbase; every RESTful service logging "Posting not enabled" / "Registration not requested," as configured.
  • The archive (ch. 3, 6): 11 records written across the build's runs (08:48–09:06 UTC, all interval = 1 minute; gaps are the build's own engine restarts, and no record was duplicated by a restart). The archive table counted at 115 columns by PRAGMA table_info; the first three records quoted from a direct query; weewx.sdb measured at 512,000 bytes with its first records inside. Daily summaries inspected directly: archive_day_outTemp schema (dateTime, min, mintime, max, maxtime, sum, count, wsum, sumtime) and its first-day row (min 32.51 at 08:50:58, max 32.68 at 08:47:03, count 7, sumtime 420 = 7 × 60 s).
  • Reports (ch. 7): SeasonsReport cycles logged at 8 Cheetah files and 15–18 images, rising to 45 images in a later cycle as week and month plots filled in; public_html inventoried (index.html 26,349 bytes; daytempdew.png 7,095 bytes; 648 KB total in the first hour); the NOAA monthly summary for the lab's November quoted from the generated file (day 05: mean 32.6 °F, high 32.7 at 08:47, heating degree-days 32.4); and the whole folder served on 127.0.0.1:18082 by python3 -m http.server with index.html, the NOAA text, and a PNG each fetched back at HTTP 200.
  • Extensions (ch. 9): the bundled Basic extension installed with weectl extension install — its own language prompt observed and answered with the default; the installer's config backup (weewx.conf.20261105085831) verified on disk; weectl extension list showing "basic 0.5"; BasicReport then generating 1 file and 10 images into public_html/basic/. The vaporpressure XTypes proof: service copied to bin/user/, added to xtype_services, and a one-template skin rendering $current.vapor_p as 0.200 inHg at 32.7 °F, checked against the sample's own formula by hand (exp(20.386 − 5132/273.9 K) ≈ 5.2 mmHg).
  • The accidents, kept: the first two [Logging] attempts failed startup with "Unable to set up logger" until the section matched the structure weeutil.logger merges over its defaults (chapter 3 tells it straight); and the VaporTest skin's first template, named index.html.tmpl, overwrote the Seasons front page for several cycles — output names follow template names — before being renamed vapor.html.tmpl, after which both pages coexisted (chapter 9). Both specimens are in the transcripts.

Capture hygiene: long outputs are trimmed where the chapters say they are (the first LOOP packet is quoted with its tail elided; the pip list is filtered to the relevant packages). Log timestamps and the sandbox clock (UTC, November 2026 in its reckoning) are the build machine's weather, not claims. The final configured weewx.conf was measured at 20,945 bytes; the lab database and transcripts are preserved under weewx-lab/ so every quoted number can be re-derived.

Documented-only (not run), and why:

  • All real hardware: no station, serial device, USB logger, gateway, or SDR existed in the sandbox. Chapter 5 — connection kinds, driver families, the Davis logger's archive and gap-filling, Fine Offset USB behaviour, the dialout permission, clock synchronisation against real hardware — is written from the project's documentation and labelled so in its own scope line.
  • The package (DEB) install route and systemd operation: described from the project's documentation; only the pip route was installed, and the engine was run in the foreground throughout.
  • Uploads and posting: the FTP and RSYNC stanzas and all seven RESTful service stanzas are quoted from the lab's own generated configuration, but nothing was uploaded or posted anywhere — every service stayed enable = false, and the log lines verifying that are quoted in chapter 1. Account requirements are stated from the stanzas' own comments and the services' public terms.
  • MySQL: the configuration path exists and is described; only SQLite was run.
  • The neighbours (ch. 11): CumulusMX, the makers' clouds, and Home Assistant are placed from their projects' documentation; none was installed for this guide.
  • macOS and Windows arrangements: stated from the project's platform documentation; the lab is Linux only.

Specimen discipline, for the record: the station, its location, and its weather are invented for this guide and belong to no one; the simulator's readings were generated on the build machine and describe no real sky. No real station's data appears anywhere in this guide.