Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Solar variables swddni, swddif,swddnic2 showing zero values

Israt246

New member
Hi,
I ran WRF 4.4 for WRF-Solar. I edited the Registry.EM_COMMON file for swddni, swddif,swddnic2 (added h in the column), and then in the WRF directory, I ran the following commands:
./clean -a
./configure
./compile em_real

I did not make any change to WPS. WPS was successful and after running wrf.exe, the simulation failed after giving some wrfout files, probably due to a memory issue. However, I checked the generated wrfout files, and swddni, swddif,swddnic2 all show zero values. Following are the namelist.input settings:

&time_control
run_days = 0,
run_hours = 60,
run_minutes = 0,
run_seconds = 0,
start_year = 2019, 2019,
start_month = 10, 10,
start_day = 31, 31,
start_hour = 00, 00,
start_minute = 00,00,
start_second = 00,00,00,
end_year = 2019, 2019,
end_month = 11,11,
end_day = 2, 2,
end_hour = 12, 12,
interval_seconds = 21600,



input_from_file = .true., .true., .true.,
history_interval = 60, 60, 60,
frames_per_outfile = 1, 1, 1,
restart = .false.,
restart_interval = 5000,
io_form_history = 2,
io_form_restart = 2,
io_form_input = 2,
io_form_boundary = 2,
debug_level = 0,
output_diagnostics = 0,
auxinput4_inname = 'wrflowinp_d<domain>',
auxinput4_interval = 10800, 0,
io_form_auxinput4 = 2,
auxhist3_outname = 'wrfxtrm_d<domain>_<date>',
io_form_auxhist3 = 2,
auxhist3_interval = 5000, 5000, 60,
frames_per_auxhist3 = 1, 1, 1,
/

&domains
time_step = 20,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 2,
s_we = 1, 1, 1,
e_we = 237, 184, 421,
s_sn = 1, 1, 1,
e_sn = 203, 184, 457,
s_vert = 1, 1, 1,
e_vert = 51, 51, 51, max_dz=1050,
p_top_requested = 5000,
num_metgrid_levels = 40,
num_metgrid_soil_levels = 4,
use_adaptive_time_step = .true.
dx = 12000, 4000, 1333.33,
dy = 12000, 4000, 1333.33,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 126, 87,
j_parent_start = 1, 94, 144,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
smooth_option = 0,
/

&physics

mp_physics = 8, 8, 8,
ra_lw_physics = 4, 4, 4,
ra_sw_physics = 4, 4, 4,
radt = 5, 5, 5,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 2, 2, 2,
bl_pbl_physics = 5, 5, 5,
bldt = 0, 0, 0,
bl_mynn_tkeadvect = .true., .true., .true.,
cu_physics = 0, 0, 0,
cu_rad_feedback = .false., .false., .false.,
ishallow = 1,
cudt = 0, 0, 0,
bl_mynn_edmf = 0, 0, 0,
shcu_physics = 5, 5, 5,
isfflx = 1,
ifsnow = 1,
icloud = 1,
icloud_bl = 0,
surface_input_source = 1,
num_soil_layers = 4,
sf_urban_physics = 0, 0, 0,
num_land_cat = 21,
aer_opt = 1,
swint_opt = 2,
usemonalb = .true.,
pxlsm_smois_init = 1,
maxiens = 1,
topo_wind = 0, 0, 1,
sf_lake_physics = 1, 1,
sst_update = 1,
prec_acc_dt = 60, 60,

/

&fdda
/

&dynamics
w_damping = 0,
diff_opt = 1,
km_opt = 4,
diff_6th_opt = 0, 0, 0,
diff_6th_factor = 0.12, 0.12, 0.12,
base_temp = 290.,
damp_opt = 0,
zdamp = 5000., 5000., 5000.,
dampcoef = 0.2, 0.2, 0.2,
khdif = 0, 0, 0,
kvdif = 0, 0, 0,
non_hydrostatic = .true., .true., .true.,
moist_adv_opt = 1, 1, 1,
scalar_adv_opt = 1, 1, 1,
/

&bdy_control
spec_bdy_width = 5,
spec_zone = 1,
relax_zone = 4,
specified = .true., .false., .false.,
nested = .false., .true., .true.,
/

&grib2
/

&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/

&diags
solar_diagnostics = 1,
/

I have also attached the namelist.input and namelist.wps as text files. I used WPSV4.1 and WRFV4.4. I would highly appreciate any help regarding the issue.
Thank you.
-Israt
 

Attachments

  • namelist.input.txt
    4.6 KB · Views: 3
  • namelist.wps.txt
    1.2 KB · Views: 2
Your namelist.input looks fine except that the following options could be better:

radt = 12, 12, 12,
time_step =60
cu_physics = 1, 0


I wonder whether you look at all your wrfout files? Are the solar radiation variables remain zero in all the wrfout files?
 
Hi Ming,
Thank you for your fast response! I checked the wrfout files and they are not all zero. It makes sense now since solar variables should be available during day time hours. I was curious about the namelist options that you suggested. Can you please tell me why radt=12, time_step=60 is preferred? Also, WRF-Solar® User Guide | Research Applications Laboratory says "Cu parameterization should be turned off since the WRF-Solar shallow cumulus scheme also accounts for deep convection", then shouldn't cu_physics should be set to zero for all domains?
Best,
Israt
 
Top