1 # Registry file specifically for some additional diagnostic output from WRF.
5 # The new dimspec. We need to have the number of pressure levels to interpolate to.
7 dimspec np 2 namelist=num_press_levels z num_press_levels
11 rconfig integer p_lev_diags namelist,diags 1 0 - "flag to process vertical interp diagnostics: 0=nope, 1=yep" "flag"
12 rconfig integer p_lev_diags_dfi namelist,diags 1 0 - "when doing p_level diags and dfi, turn off diags during 'non forecast'"
13 rconfig integer num_press_levels namelist,diags 1 0 - "number of pressure levels to interpolate diagnostics to" "index"
14 rconfig real press_levels namelist,diags max_plevs 0 - "array of pressure levels to interpolate diagnostics to" "Pa"
15 rconfig integer use_tot_or_hyd_p namelist,diags 1 2 - "1=use total pressure, 2=use hydrostatic pressure" "flag"
16 rconfig integer extrap_below_grnd namelist,diags 1 1 - "1=no extrapolation, 2=extrapolate adiabatically" "flag"
17 rconfig real p_lev_missing namelist,diags 1 -999 - "missing values below ground, no extrapolation" "constant"
19 # Derived, this is interval in seconds that is from auxhist23 interval, computed in check_a_mundo
21 rconfig real p_lev_interval derived max_domains 0 - "interval to compute/output p level diags" "s"
23 # Arrays that will be filled with interpolated values
25 state real p_pl {np} misc 1 Z h{23} "P_PL" "Pressure level data, Pressure" "Pa"
26 state real u_pl i{np}j misc 1 Z h{23} "U_PL" "Pressure level data, U wind" "m s-1"
27 state real v_pl i{np}j misc 1 Z h{23} "V_PL" "Pressure level data, V wind" "m s-1"
28 state real t_pl i{np}j misc 1 Z h{23} "T_PL" "Pressure level data, Temperature" "K"
29 state real rh_pl i{np}j misc 1 Z h{23} "RH_PL" "Pressure level data, Relative humidity" "%"
30 state real ght_pl i{np}j misc 1 Z h{23} "GHT_PL" "Pressure level data, Geopotential Height" "m"
31 state real s_pl i{np}j misc 1 Z h{23} "S_PL" "Pressure level data, Speed" "m s-1"
32 state real td_pl i{np}j misc 1 Z h{23} "TD_PL" "Pressure level data, Dew point temperature" "K"
33 state real q_pl i{np}j misc 1 Z h{23} "Q_PL" "Pressure level data, Mixing ratio" "kg/kg"
35 # Package declarations
37 package skip_press_diags p_lev_diags==0 - -
38 package press_diags p_lev_diags==1 - state:p_pl,u_pl,v_pl,t_pl,rh_pl,ght_pl,s_pl,td_pl,q_pl
45 # The new dimspec. We need to have the number of height levels to interpolate to.
47 dimspec nz 2 namelist=num_z_levels z num_z_levels
51 rconfig integer z_lev_diags namelist,diags 1 0 - "flag to process vertical interp diagnostics: 0=nope, 1=yep" "flag"
52 rconfig integer z_lev_diags_dfi namelist,diags 1 0 - "when doing z_level diags and dfi, turn off diags during 'non forecast'"
53 rconfig integer num_z_levels namelist,diags 1 0 - "number of height levels to interpolate diagnostics to" "index"
54 rconfig real z_levels namelist,diags max_zlevs 0 - "array of height levels to interpolate diagnostics to" "m"
55 rconfig real z_lev_missing namelist,diags 1 -999 - "missing values below ground, no extrapolation" "constant"
57 # Derived, this is interval in seconds that is from auxhist22 interval, computed in check_a_mundo
59 rconfig real z_lev_interval derived max_domains 0 - "interval to compute/output z level diags" "s"
61 # Arrays that will be filled with interpolated values
63 state real z_zl {nz} misc 1 Z h{22} "Z_ZL" "Height level data, Height" "m"
64 state real u_zl i{nz}j misc 1 Z h{22} "U_ZL" "Height level data, U wind" "m s-1"
65 state real v_zl i{nz}j misc 1 Z h{22} "V_ZL" "Height level data, V wind" "m s-1"
66 state real t_zl i{nz}j misc 1 Z h{22} "T_ZL" "Height level data, Temperature" "K"
67 state real rh_zl i{nz}j misc 1 Z h{22} "RH_ZL" "Height level data, Relative humidity" "%"
68 state real ght_zl i{nz}j misc 1 Z h{22} "GHT_ZL" "Height level data, Geopotential Height" "m"
69 state real s_zl i{nz}j misc 1 Z h{22} "S_ZL" "Height level data, Speed" "m s-1"
70 state real td_zl i{nz}j misc 1 Z h{22} "TD_ZL" "Height level data, Dew point temperature" "K"
71 state real q_zl i{nz}j misc 1 Z h{22} "Q_ZL" "Height level data, Mixing ratio" "kg/kg"
72 state real p_zl i{nz}j misc 1 Z h{22} "P_ZL" "Height level data, Air Pressure" "Pa"
74 # Package declarations
76 package skip_z_diags z_lev_diags==0 - -
77 package z_diags z_lev_diags==1 - state:z_zl,u_zl,v_zl,t_zl,rh_zl,ght_zl,s_zl,td_zl,q_zl,p_zl