Skip to content

ArWen 2.7.6

Choose a tag to compare

@FahrenheitResearch FahrenheitResearch released this 25 Sep 03:38
· 45 commits to main since this release

ArWen 2.7.6 is a feature and fix release with Desktop 1.0.6.

New

  • Omega is diagnosed one column per thread in WRF's own operation order, so a whole step is 5.1 to 7.0 percent cheaper on an RTX 5070 Ti (1.07, 2.02 and 5.33 ms per step at 250x200x49, 320x256x49 and 480x384x49 under Morrison). Because the summation order changed, results move slightly: one Omega call by at most 6.0e-7 of its maximum, the dynamic fields by 1.7e-4 to 7.2e-4 of theirs after 60 steps, and of the moisture fields only Morrison's cloud droplet number, by 2.5e-6 of its maximum. Proposed and measured by weiserhase in issue #5.
  • --source hrrr now defaults to RTE+RRTMGP radiation (thompson-mp8-ysu-mm5-noah-rte-rrtmgp-v1) in place of the legacy RRTMG pair, so every route, door and catalog case shares one radiation default. The legacy suite stays selectable everywhere as --physics-profile thompson-mp8-ysu-mm5-noah-rrtmg-legacy-v1, and a proposal that sets ra_rrtmg_variant composes instead of being refused.
  • The new radiation default fits more domain on the same card: a 6 hour 12/3 km HRRR ladder on a 16 GiB card sizes to 268x216 with a 536x432 nest (13.76 GiB peak) where the legacy suite fits 184x146 and 368x288 (13.74 GiB), 2.15 times the root cells. Both radiation engines still cap a longwave column at 128 radiation layers.
  • The nowcast door can run the fine nest: --nest-half-width-km (or --nest-nx and --nest-ny) turns it on, the other nest options pass through to the cycle driver, and the receipt reports what was asked for under sizing.nested_free_forecast.
  • The nowcast receipt says where the forecast is: outputs.forecast_frames names the frame folder and which legs are the free forecast, and the nowcast pages show the gpuwm render --engine rust line that draws one. Each frame is a one-level composite snapshot; full fields come from the prepared forecast.
  • The fine nest's forecast can be drawn: the cycle writes a wrfout per leg beside the child's .npz, and gpuwm render --engine rust draws its composite reflectivity into a d02-1km folder.
  • gpuwm render --section-top-km N sets how tall a vertical cut is drawn, 1 to 40 km, on every render route. Every cut had been fitted to 14 km, which stays the default, and render-summary.json records section_tops_km.
  • gpuwm render draws twelve column products from a wrfout: the 0, -10 and -20 C isotherm heights, the supercooled liquid water path over the whole column and the 0 to 3 and 3 to 6 km layers, each hydrometeor's column maximum, and simulated_ir_satellite, whose stored field nothing had written.
  • Preparation no longer stops when the configured vertical coordinate cannot order the terrain: it derives the largest etac WRF's hybrid coordinate supports for the highest ground any domain or following nest can reach, prints the choice, records it in the receipt and applies it to every domain. Terrain no positive etac can order is still refused.
  • tools/build_stretched_eta_ladder.py --dt with --price-band reports a ladder's vertical Courant number and the step that holds it, and the DA cycle's preflight names the updraft at which limiting starts. On one storm, 200 m layers under a step chosen for 680 m layers ran the limiter at 1.41 on 606 cells and halved the peak updraft from 33.9 to 18.5 m/s. Both read the full-level layer a parcel crosses, so on the shipped 49-level ladder the thinnest convective layer reads 630.30 m instead of 614.90 m, and its Courant number at 15 s under 33.9 m/s reads 0.8068 instead of 0.8270.
  • gpuwm downscale tells you at the door when a child at or below 250 m spacing is not set up for LES (it inherits its parent's ladder, runs a 1-D boundary-layer scheme with no 3-D closure, or mixes vertically by no route) and names the ways out: --child-levels N,STRETCH, km_opt = 3 or km_opt = 2 with bl_pbl_physics = 0 in --child-config, and --child-surface-from.

Fixed

  • gpuwm resume finds the configuration in the run directory it is given: as typed, as a hidden .toml, under --outdir, or as the run recorded it. --explain says which, and a refusal names every path tried and, for a path it cannot read, the errno and the way out.
  • gpuwm resume on a downscaled child's run directory says what to do instead: a finished child gets the gpuwm render ... --series line for its frames, and one that stopped inside its forecast is sent back to gpuwm downscale.
  • python -m gpuwm.prepared_domain_tree_forecast imports the tilestream it shipped with from any directory, instead of dying with an ImportError beside an older checkout.
  • An ERA5 window sized for a 16 GiB card initializes and runs instead of refusing with "specific humidity must be finite in [0, 1)": the check allows for the interpolation's own envelope and floors every admitted value at WRF's qv_min. A source small enough to window no longer stops preparation with an AttributeError.
  • gpuwm check accepts ERA5's descending pressure levels, as gpuwm run does.
  • --source hrrr-prs starts with the cloud water, cloud ice, rain, snow and graupel the wrfprs file carries instead of starting dry. Vertical velocity still starts at zero and the boundaries do not carry the five.
  • gpuwm run --wrfinput and run --met-em write their run report again instead of failing at the end with an AttributeError. The wrfbdy and wrfinput seam refusal names USE_THETA_M and what it compared, and says WRF 3.7 to 3.9.1.1 wrote a dry T_BXS where 4.0 onward writes a moist one.
  • A specified domain forced with an aerosol boundary table keeps its outer row on that table under mp_physics = 28. The nwfa and nifa boundary row was never put back, so on a 2.7 km domain over 81 levels one corner grew 74 times in an hour, from 6.94e8 to 5.13e10 kg-1, until the health gate stopped the forecast; the same hour now holds at 6.96e8 kg-1.
  • An mp_physics = 28 cold start whose analysis carries cloud, rain or ice but no droplet, rain or ice numbers now sets those numbers the scheme's way, and the prepared cache counts it under hydrometeor_initialization.cold_start_moment_closure. Before the fix such a start read 145.38 dBZ between steps and 62.89 dBZ as prepared.
  • --soil-source pointed at the run's WPS directory recovers the soil column when the source table declares more layers than that cycle carried, and names the met_em and the layer source it chose. A layer it cannot convert is refused with what it converted and which table fields to fix.
  • The prepared single-domain and domain-tree doors offer icon-global, with the same fourteen physics profiles as icon-eu.
  • The standalone rw-wps bundle carries gdt101_remap and rw_fetch, so rw-wps --source icon-global runs on a bundle install, and a build that leaves out a bridge is refused naming it.
  • The configuration reference documents ra_lw_physics and ra_sw_physics, two per-domain keys it accepted and never listed; the page promised 61 keys and printed 59.
  • python -m tools.da_nowcast run --window-end replays the hour asked for: the volumes, the lag, the echo census and the storm motion that places the domain come from that window, not the clock. On one archived hour, 15 volumes and a motion of 8.27 m/s toward 166.7 degrees became 18 volumes and 15.14 m/s toward 146.5. Only --window-end latest reads the clock, and a malformed value is refused before any download.
  • Reflectivity and hydrometeor analyses run under Thompson (mp_physics 8 and 28): a cell given mass and no number is repaired the scheme's way instead of refused (one cycle had refused 1,834 cells), and the reflectivity operator works out graupel number itself instead of raising an error.
  • The DA positivity policy covers every number concentration and volume the model carries (nwfa, nifa, Milbrandt-Yau hail number, WDM6 CCN number, P3 rime mass and volume); one filter increment had driven one to -1.005e8 per kilogram and the next leg refused the state. A field the policy does not cover is refused at the merge, and the moment conditioning uses the running scheme's condensate threshold (1e-12 under Thompson, 1e-14 under Morrison).
  • The hot start's insertion and the filter's increment are bounded together; each was admissible alone while their sum put water vapour at -1.02e-4 kg/kg. The correction handed to a nested child is bounded against the child's own background, which had received -1.014e-5 kg/kg on a boundary row.
  • The 1 km child runs on every cycling leg and is corrected by its parent's analysis instead of rebuilt from it; on the free legs alone it had lived 90 to 165 seconds. An analysis that changed nothing leaves the child bitwise alone.
  • A forecast leg that starts part way through a run makes the radiation call its land surface needs, so a cycle under a both-streams profile no longer dies at its first surface call with "GLW has no producer", and a nest born on a later leg counts its steps from its birth.
  • Each cycling analysis leg is a restart: soil, surface, accumulators and held physics tendencies carry across legs through the checkpoint set gpuwm run --restart reads, so two 60 s legs equal one 120 s run byte for byte. A cycling ensemble saved by 2.7.5 cannot be continued by 2.7.6, because it holds none of that soil, surface or accumulator state: it is refused with a message naming it, and the cycle is started again from the prepared background.
  • rw_nexrad verify checks each pack array against its own declared type, so a pack written with decode --censor-flags verifies and --clear-air-from-censor keeps every radar it was given.
  • A radar volume is dated by its own radials: each cut and the volume carry start_time and end_time beside the header's valid_time (one real volume: header 12:02:36Z, last radial 12:09:14Z), and the nowcast survey and the cycle admit a volume only once its last radial is in.
  • A surface report carries the time it was taken and serves one valid time: rw_asos decode writes observation_time on every report, so a 12:54 report is no longer filed under both 12:00 and 13:00.
  • A cloudy satellite pixel is placed beneath its retrieved cloud top instead of at the ground along the satellite's line of sight: a 9 km top at 35 N 97 W moves 9,724 m, and on one GOES-19 scan 1,933,447 pixels moved a median 6,165 m. A pixel with no retrieved top stays at the ground and is counted.
  • Every door that writes an HRRR configuration (edits, domain-fit and domain-tiles copies, cyclone-setup, catalog cases, research workspaces, cycling directories and saved drafts) writes the whole file set the route reads; they wrote only the TOML and namelist.wps, so every such edit was refused at run time. A per-domain change to a tree-wide setting is refused with "Select All domains to change them", a suite the namelists cannot state is refused naming moist_cq, and a nest added in the domain editor inherits its parent's radiation cadence.
  • A configuration that sets radiation through the combined ra_physics selector, or keeps the cumulus interval with cumulus off, matches the profile it names on every door; 9 of 22 profiles had been refused on the namelist route with "selected physics differs from profile". An HRRR replay of the nowcast door's default profile completes domain to cycle in 114 s of stage time on an RTX 4090.
  • The nowcast door and gpuwm domain offer the same physics suites; the warm-rain suite had been refused at one of them. A shortwave-only suite prepares on the HRRR background, and gpuwm domain writes namelists the importer reads back for the New Tiedtke, ArWen boundary-layer closure, prognostic-TKE and 20CRv3 suites.
  • A failed preparation writes its reason into the file it points to; python -m gpuwm.source_cli had printed a details path and left that file empty.
  • gpuwm domain, gpuwm check and gpuwm run-plan --estimate price a plan on one device, print one number and name the card priced. On a declared 16 GiB card the 12/3 km ladder had been sized at 13.73 GiB and then refused by its own check at 14.72 GiB; it now sizes and checks at 13.74 GiB, with domains of 184x146 and 368x288 instead of 204x162 and 408x320, about 19 percent fewer cells, so the plan it offers runs.
  • A machine that can read its card but cannot compile kernels prices the card it read and says so, instead of quoting the reference card. One RTX 4090 had read 1,353,931,428 bytes from gpuwm check --json and 1,205,295,780 from gpuwm run-plan --estimate.
  • A downscaled child that blows up says what went non-finite, in which cell and at which model second, the last w_max and CFL checks, and the command that draws the frames already on disk, in the refusal and in report.json (a missing reading is null, never NaN). It had said only "offline child became non-finite at step N".
  • A downscaled child that does not finish keeps its pictures: DID-NOT-FINISH.txt atop the picture folder says where and why the forecast stopped and which frames were written, and report.json records result FAIL with the reason and the kept pictures. A child set up with --child-config is recognised from what the run wrote.
  • gpuwm downscale runs a child whose parent used legacy RRTMG with o3input = 2 instead of refusing it for a missing ozone field: the child evaluates the packaged ozone climatology on its own grid, and report.json names the routing under child_ozone_routing. Two 10 minute runs differing only in that field end at most 0.0086 K apart.
  • gpuwm downscale --child-levels runs on the default preprocessing backend instead of failing on its first boundary frame with a TypeError.
  • gpuwm render and gpuwm downscale draw what they can: a product the run cannot supply (a mesh: or meshdiff: term, an xsec: term without --section, a var: product no store carries, a slug the catalog refuses) is dropped before the renderer starts and named with its reason in render-summary.json. --products composite_reflectivity,mesh:cell_area had exited 1 with no pictures, and the snow preset's var:SNOW had failed a thirteen-frame child render after 143 pictures. A request left with nothing to draw is refused by name.
  • A failed child render reports what the renderer said and counts the pictures on disk, and a picture tree or availability listing that cannot be read is reported as unreadable with its error, not as empty.
  • The terminal preset picker no longer calls products undrawable from the renderer build's import plan; it had called sixteen of the snow preset's twenty-one products undrawable on a run that then drew 143 pictures of them.
  • A vertical cut is coloured on a bar fitted to the air it shows. The bar had started at zero for every all-positive field, so a 3 km cut of temperature in kelvin used 30 of 447 colour steps (6.7 percent) and read as one dark red; it now uses 60.4 percent, and a 14 km cut 88.6 percent instead of 28.6. render-summary.json records each cut's range under section_fills, and a renderer build too old to report it is refused at the handshake.
  • xsec:QCLOUD=0.01,0.1/wa is one product on its own 0.01 to 0.1 g kg-1 bar on every frame, a frame with no signal included; the list had been split at its last comma, the command refused and the range ignored. xsec:QCLOUD~log labels its decades 0.1, 1, 10 g kg-1 under a (log scale) label instead of -1, 0, 1.
  • render-georef.json carries a transform for a regional panel whose map a later pass pushed past the image edge, clipped to the pixels that survive; only a panel with no surviving pixel is left without one.
  • The 2 m temperature plate reads at its hot end: the fixed -60 to 120 F scale drew everything at or above 100 F in neutral ink, and those three steps are now a pink band (on one field's 235,789 cells at or above 100 F, median saturation went from 0.032 to 0.925). Every step at or below 90 F is unchanged byte for byte, and the surface temperature, windowed 2 m and 2 m range products take the same repair.
  • A mixing ratio is drawn in g kg-1 on every route: a stored kg kg-1 plane drawn through var: or mesh: is converted by its units attribute, never its name, so a plane of 1.0071096e-3 to 3.8782053e-3 kg kg-1 whose fourteen ticks all read 0 reads 1.0 to 3.9 g kg-1, as a cut of the same air does. A var: panel still too small for one decimal is drawn on the decade its legend states (2e-7 to 8.3e-7 kg kg-1 reads 200 to 830 against 1e-6 g kg-1), and a clamped mesh: column maximum panel takes the same remedy.
  • A run's row in the terminal shows the forecast lead it starts from, so an analysis start and a twelve-hour forecast off the same cycle no longer read as one row.
  • gpuwm report removes a Windows user profile path reached through a mounted drive under /mnt.
  • A stale Rust shared library is refused by the name its workspace declares, gpuwm_preprocess_cpu rather than libgpuwm_preprocess_cpu.
  • A source checkout's bridge build is checked against its sources, so a git pull that moves the Rust half is refused up front, naming the binary, the file that moved past it and the cargo command, instead of failing mid-run with a decode error. gpuwm doctor reports the same; wheels and bundles are untouched.
  • pip install 'gpuwm[dev]' installs pyyaml, which four release contract tests need, and gpuwm doctor checks it by importing yaml.
  • Three tests in a source checkout pass again: the additive-dissipation switch, the resident estimate and the clock-module audit. No model bytes and nothing the model allocates changed.
  • Aerosol-aware Thompson (mp_physics = 28) agrees with WRF v4.6.1's own Fortran process rate by process rate on saved real-data columns, with reflectivity within 0.024 dB; it had been up to 8.7 dB off in 505 to 939 cells per frame.
  • Classic Thompson (mp_physics = 8) agrees with the same Fortran on the same columns, with reflectivity within 0.045 dB; it had been up to 43.9 dB off.
  • The Thompson repairs are WRF's own rules: condensate at or below 1e-12 kg/kg is zeroed on entry and on exit, a column with no microphysics is left untouched, vapour is floored at 1e-10 kg/kg, ice numbers stay inside their bounds, melting snow falls at its blended speed, collected ice uses the 12.9 micron minimum crystal mass, and rain fallout opens on WRF's L_qr gate.
  • One more WRF column test case, wp08-freeze, now matches WRF's own mp_physics = 28 code within the standard 2e-6 tolerance on every quantity, because the rain fallout now takes WRF's rain presence test from the evaporation step: 18 of 22 cases match with no exceptions, and 19 of 22 counting the one case that passes under a documented allowance.
  • tools/thompson_real_column_parity runs WRF's Fortran beside the port on the CPU, and a 42-column fixture for each scheme holds the port to it.
  • NOTICE and the Grell-Freitas gamma note no longer describe the gamma function as derived from glibc, because it is this project's own work.

Desktop 1.0.6 Fixed

  • Downscaling a nested run starts from its finest domain and offers the others by name and spacing, so a 12 km/3 km run gives a 1 km child of d02. It used to start from d01 and produce a child no finer than the nest the run already had. The output interval and the saved frame count now follow the chosen domain: a child of d02 saves every 15 minutes when d02 did, where it used to take d01's hourly cadence.

Local data assimilation stays experimental and its ordinary desktop entry point stays hidden. Advanced users enable it with gpuwm tui --enable-local-da.

Known limits: what the fine nest costs at the nowcast door is not stated yet; gpuwm cycle shows no picture while it runs; the local DA nowcast score masks a 9 km rim and scores one member, which the receipt names; the desktop's weather map cannot draw ICON global fields, and the forecast itself is unaffected.

The verification records identify completed artifact and startup checks, the short GPU forecast, and retained component evidence. They do not establish general forecast skill or whole-model parity.

Installation and usage | Full changelog