Roughness-Length
- NoahSnowRoughness
model
land_surface
noah
Surface roughness over a snow pack in WRF's unified Noah land-surface model, SUBROUTINE SNOWZ0 of phys/module_sf_noahlsm.F (WRF 4.8, sf_surface_physics = 2): how burying the vegetation under snow smooths the surface the atmosphere sees. THE PHYSICS. Roughness elements are treated as seven roughness lengths tall, so the height still standing proud of the snow is 7 z0brd - snowh. While any of it shows, the snow-covered fraction's roughness is that exposed height divided back by seven -- a linear collapse from z0brd towards zero as the pack deepens -- and once it falls below snow_z0_burial_min the surface is taken as bare snow at snow_z0 = 1 mm. The total is the cover-weighted average of the snow-free background and that value. Note that it averages LENGTHS, not their logarithms, which is not what a flux-matching argument would give; WRF's own commented-out alternative one line above makes the same arithmetic average with the bare snow roughness in place of the interpolated one, so the choice is between two arithmetic averages rather than between an arithmetic and a geometric one. IT NEEDED NO INSTRUMENTATION. Its output is the Registry variable Z0, which the kernel driver already dumps as `z0_out`, and it is computed before SNOPAC so nothing later moves it. Supplied the three arguments the routine actually reads, the component reproduces `z0_out` BITWISE at all 84 steps of the cold-season set -- the 67 with snow cover and the 17 without. TWO OF THOSE THREE ARGUMENTS ARE NOT THE OBVIOUS ONES, and both were settled by measurement rather than by reading. `z0brd` must be REDPRM's greenness-selected value and not the argument a caller passes to SFLX (FORTRAN_BUGS N96, whose list of affected quantities this extends to a fourth): the dumped argument takes 0.05 at some steps while the value the routine uses is 0.150000006 at every one. And `snowh` is the CURRENT depth, after SNOW_NEW, despite SFLX's comment above the call claiming the previous time step's -- feeding the previous depth reproduces WRF to only 7.1e-12 relative against bitwise agreement with the current one. That the discrepancy is small here is an accident of this surface: z0brd = 0.15 m puts the burial height at 1.05 m against a pack never deeper than 0.31 m, so the snow depth barely moves z0eff. On a smoother surface it would not be small. REFERENCE STEP. Unlike `snow_new.esm` and `snow_compaction.esm` next door, this routine has NO step dependence of its own -- it is four lines of algebra on the current state, with no dt in it and nothing differenced -- so the choice of replay pass cannot change its accuracy, only which state it is asked about. The 1e-6 s pass is used because it is the one where the snow-cover input is unambiguous: at the 60 s pass, case D step 553's pack disappears DURING the step and SNOPAC zeroes `sncovr` afterwards, so the dumped cover is no longer the one SNFRAC handed SNOWZ0 earlier in the same call. It is also the pass `snow_cover.esm`, which supplies that input in an assembly, is referenced against. NOT TRANSCRIBED: the entire UA_PHYS branch, which replaces the whole calculation with a logarithmic blend over buried canopy, ground and snow roughnesses; it is off in every reference run.