Skip to content

DART with WRF 4+ #661

Closed
Closed
@hkershaw-brown

Description

@hkershaw-brown

Issue created from comment in #404

In addition to making the WRFv3.9.1-DART Tutorial compatible with Derecho as part of the completed issue #627 which was resolved by PR #636 -- I have continued to test WRFv4+ versions with the Tutorial as a continuation of issue #627. I currently have WRFv4 working with the tutorial. This is not a complete wrf model_mod refactor as outlined in this thread, but only includes basic requirements to get DART working with WRFv4+ versions including:

  1. Implementing the sigma hybrid coordinates which are the default in WRFv4+ and are part of PR Add WRF hybrid vertical coordinate  #650.

  2. Swapping T (potential temperature) with THM (moist/dry potential temperature) as discussed in bug THM WRF v3 vs v4 #385.
    The T to THM change mostly includes only namelist changes, but also requires a model_mod.f90 edit where
    T is swapped with THM:

    wrf%dom(id)%type_t = get_type_ind_from_type_string(id,'T')

  3. Requires T to THM modifications to add_bank_perts.ncl including here:

    pert_fields = (/"U", "V", "T", "QVAPOR","MU"/)

  4. Requires T to THM modifications to input.nml and param.csh here:

    'T','QTY_POTENTIAL_TEMPERATURE','TYPE_T','UPDATE','999',

    set extract_vars_a = ( U V PH T MU QVAPOR QCLOUD QRAIN QICE QSNOW QGRAUP QNICE QNRAIN \
    U10 V10 T2 Q2 PSFC TSLB SMOIS TSK RAINC RAINNC GRAUPELNC )
    set extract_vars_b = ( U V W PH T MU QVAPOR QCLOUD QRAIN QICE QSNOW QGRAUP QNICE QNRAIN \
    U10 V10 T2 Q2 PSFC TSLB SMOIS TSK RAINC RAINNC GRAUPELNC \
    REFL_10CM VT_DBZ_WT )
    set cycle_vars_a = ( U V PH T MU QVAPOR QCLOUD QRAIN QICE QSNOW QGRAUP QNICE QNRAIN \
    U10 V10 T2 Q2 PSFC TSLB SMOIS TSK )
    set increment_vars_a = ( U V PH T MU QVAPOR QCLOUD QRAIN QICE QSNOW QGRAUP QNICE QNRAIN U10 V10 T2 Q2 PSFC )

  5. Also requires additional flag use_theta_m=0 within &dynamics section of WRF namelist.input. Makes T=THM.

Finally, during runtime the CONUS tutorial example tends to generate CFL errors 30 minutes after the first analysis step. CFL warnings/errors are related to issues with vertical stability sometimes related to complex terrain. These warnings were overcome by editing WRF namelist.input settings to:

&domains
time_step = 30
smooth_cg_topo = .true.
&dynamics
epssm = 0.9

These settings using WRFv4.0 allowed the tutorial example to run to completion and provided diagnostics similar to WRF3.9.1. Not clear if these instability issues were related to using WRFv4.0, where a more updated version (WRFv4.5) may be more stable. I could provide additional instructions within the WRF-DART tutorial for WRFv4+ users. This should help prepare them for issues related to hybrid coordinates and the T/THM transition.

Originally posted by @braczka in #404 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    wrfWeather Research & Forecasting Model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions