Driver-Interface
- NoahSurfaceDriver
model
land_surface
noah
The per-point glue between the atmosphere, the surface layer and Noah's SFLX in WRF's Noah driver, SUBROUTINE lsm of phys/module_sf_noahdrv.F (WRF 4.8, sf_surface_physics = 2), together with the few lines of SUBROUTINE SFLX (module_sf_noahlsm.F) that select the surface properties and form the surface humidity: everything a Noah column needs besides its process components (soil_veg_parameters, potential_evaporation, canopy_resistance, evapotranspiration, soil_heat, soil_moisture). FORCING (the driver's preamble, lines 'PSFC = P8W3D(I,1,J)' to 'PRCP = RAINBL(I,J)/DT'): the pressure at the lowest model level is the mean of the two lowest interface pressures, sfcprs = (p_sfc + p_w2)/2; the humidities are converted from mixing ratios to SPECIFIC humidities, q2 = qv/(1 + qv) and q2sat = qgh/(1 + qgh), where qgh is the surface layer's saturation mixing ratio at the lowest level (sfclayrev's QGH, which is how the surface layer hands Noah its saturation humidity); the slope of the saturation humidity is Bolton's, dqsdt2 = q2sat a2 (a3 - a4)/(sfctmp - a4)^2 with the driver's A2 = 17.67, A3 = 273.15, A4 = 29.65 (= wrf.svp2, wrf.svpt0, wrf.svp3); the lowest-level potential temperature is referenced to the SURFACE pressure, th2 = sfctmp (p0/sfcprs)^kappa/(p0/p_sfc)^kappa with kappa = R_d/cp; the downward longwave is scaled by the emissivity ENTERING the step and the net shortwave by the albedo entering the step (WRF's EMISS and ALBEDO fields, i.e. the previous step's values), lwdn = glw emiss_in, solnet = swdown (1 - albedo_in); and the precipitation rate is the step's accumulated grid-scale rain over the step, prcp = rainbl/dt_rain. SURFACE PROPERTIES (SFLX, snow-free branch 'IF (SNEQV == 0.0)'): albedo = alb, emissi = embrd and z0 = z0brd, the greenness-selected background values of REDPRM (soil_veg_parameters). The SNOW branch (SNFRAC, ALCALC, SNOWZ0, CSNOW, SNOW_NEW and SNOPAC) is transcribed in the snow_* components but is NOT selected here: `snow_branch_active` reports whether WRF would have taken it (a pack, sneqv > 1e-7 m, or precipitation that SFLX classes as snowfall or freezing rain), and a consumer that mounts this component asserts it zero. SURFACE HUMIDITY (SFLX after NOPAC): q1 = q2 + eta_kinematic cp/rch, the specific humidity at the surface that sustains the evapotranspiration flux through the bulk transfer coefficient rch = rho cp_penman ch, with the module's cp = 1004.5 in the numerator (PENMAN's rch carries cp = 1004.6, FORTRAN_BUGS N88, so the two do not cancel exactly); the driver hands the surface layer its MIXING ratio, qsfc = q1/(1 - q1). The driver's remaining assignments are renames (TSK = T1, HFX = SHEAT, QFX = ETA_KINEMATIC, LH = ETA, GRDFLX = SSOIL, ZNT = Z0) and belong on a consumer's coupling edges, not here. NOT TRANSCRIBED: the urban (sf_urban_physics) and sea-ice paths, the MYJ surface-layer test on CHKLOWQ, FASDAS, and irrigation.