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

Bad value during integer read

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

jvithana

New member
I am trying to run a hurricane simulation and getting the following error when I am running wrf.exe at the last time step. I am not sure why it is complaining at the last time step. I am using NFL data downloaded from NCAR (fnl_20050903_18_00.grib1) . This is my second run and both ended in same error.





Timing for Writing wrfout_d01_2005-09-03_18:00:00 for domain 1: 0.18311 elapsed seconds

d01 2005-09-03_18:00:00 Input data is acceptable to use: wrfbdy_d01

3 input_wrf: wrf_get_next_time current_date: 2005-09-03_18:00:00 Status = -4

d01 2005-09-03_18:00:00 ---- ERROR: Ran out of valid boundary conditions in file wrfbdy_d01

At line 803 of file module_date_time.f90

Fortran runtime error: Bad value during integer read

Following is my nameless.input file

&time_control
run_days = 15,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2005, 2005, 2005,
start_month = 08, 08, 08,
start_day = 20, 20, 20,
start_hour = 00, 00, 00,
end_year = 2005, 2005, 2005,
end_month = 09, 09, 09,
end_day = 03, 03, 03,
end_hour = 18, 18, 18,
interval_seconds = 21600
input_from_file = .true.,.true.,.true.,
history_interval = 60, 60, 60,
frames_per_outfile = 1000, 1000, 1000,
restart = .false.,
restart_interval = 7200,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
HISTORY_OUTNAME = "wrfout_d<domain>_<date>"
rst_outname = "wrfrst_d<domain>_<date>"
/

&domains
time_step = 180,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 3,
e_we = 100, 178, 163,
e_vert = 61, 61, 61,
e_sn = 95, 178, 163,
p_top_requested = 5000,
num_metgrid_levels = 27,
num_metgrid_soil_levels = 0,
dx = 30000, 10000, 3333.33,
dy = 30000, 10000, 3333.33,
grid_id = 1, 2, 3,
parent_id = 1, 1, 2,
i_parent_start = 1, 21, 62,
j_parent_start = 1, 19, 62,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
smooth_option = 0
ocean_levels = 30,
ocean_z = 5., 15., 25., 35., 45., 55.,
65., 75., 85., 95., 105., 115.,
125., 135., 145., 155., 165., 175.,
185., 195., 210., 230., 250., 270.,
290., 310., 330., 350., 370., 390.
ocean_t = 302.3493, 302.3493, 302.3493, 302.1055, 301.9763, 301.6818,
301.2220, 300.7531, 300.1200, 299.4778, 298.7443, 297.9194,
297.0883, 296.1443, 295.1941, 294.1979, 293.1558, 292.1136,
291.0714, 290.0293, 288.7377, 287.1967, 285.6557, 284.8503,
284.0450, 283.4316, 283.0102, 282.5888, 282.1674, 281.7461
ocean_s = 34.0127, 34.0127, 34.0127, 34.3217, 34.2624, 34.2632,
34.3240, 34.3824, 34.3980, 34.4113, 34.4220, 34.4303,
34.6173, 34.6409, 34.6535, 34.6550, 34.6565, 34.6527,
34.6490, 34.6446, 34.6396, 34.6347, 34.6297, 34.6247,
34.6490, 34.6446, 34.6396, 34.6347, 34.6297, 34.6247
/

&physics
mp_physics = 6, 6, 6,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
radt = 10, 10, 10,
sf_sfclay_physics = 1, 1, 1,
sf_surface_physics = 1, 1, 1,
bl_pbl_physics = 1, 1, 1,
bldt = 0, 0, 0,
cu_physics = 1, 0, 0,
cudt = 5, 5, 5,
isfflx = 1,
ifsnow = 1,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 4,
num_land_cat = 21,
sf_urban_physics = 0, 0, 0,
sf_ocean_physics = 0,
oml_hml0 = 5,
oml_gamma = 0.2,
oml_relaxation_time = 345600,
omdt = 5,

/

&fdda
grid_fdda = 1, 0, 0, 0, 0,
gfdda_inname = "wrffdda_d<domain>",
gfdda_end_h = 84, 24, 24, 24, 24,
gfdda_interval_m = 360, 360, 360, 360, 360,
fgdt = 0, 0, 0, 0, 0,
if_no_pbl_nudging_uv = 1, 0, 1, 0, 0,
if_no_pbl_nudging_t = 1, 0, 1, 0, 0,
if_no_pbl_nudging_q = 1, 0, 1, 0, 0,
if_zfac_uv = 1, 0, 1, 0, 0,
k_zfac_uv = 10, 10, 1, 0, 0,
if_zfac_t = 1, 0, 1, 0, 0,
k_zfac_t = 10, 10, 1, 0, 0,
if_zfac_q = 1, 0, 1, 0, 0,
k_zfac_q = 10, 10, 1, 0, 0,
guv = 0.0003, 0.002, 0.0003, 0.0003, 0.0003,
gt = 0.0003, 0.002, 0.0003, 0.0003, 0.0003,
gq = 0.0003, 0.002, 0.0003, 0.0003, 0.0003,
if_ramping = 1,
dtramp_min = 60.0,
io_form_gfdda = 2,
/

&tc
insert_bogus_storm = .true.
remove_storm = .false.
latc_loc = 25.9
lonc_loc = -80.3
vmax_meters_per_second = 36.0108
rmax =110000.0
vmax_ratio = 0.90

/

&dynamics
w_damping = 1,
diff_opt = 1, 1, 1,
km_opt = 4, 4, 4,
diff_6th_opt = 0, 0, 0,
diff_6th_factor = 0.12, 0.12, 0.12,
base_temp = 290.
damp_opt = 3,
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 = 5,
specified = .true., .false.,.false.,
nested = .false., .true., .true.,

/

&grib2
/

&namelist_quilt
nio_tasks_per_group = 0,
nio_groups = 1,
/
 
Hi,
The error message that's causing the problem is:
Code:
ERROR: Ran out of valid boundary conditions in file wrfbdy_d01

According to your namelist.input file, you're asking the model to run for 15 days; however, you only have your dates/times set from
2005-08-20_00:00:00 to 2005-09-03_18:00:00

which is only 14 days and 18 hours. When real.exe runs to create the boundary file, it looks at the start/end date/times, so the boundary file was probably only created to end at 2005-09-03_18:00:00, meaning once the model gets to that point, it can't advance any further. If you'd like to run wrf for 15 days, you will need to have input to run WPS and real.exe through the full 15 days, with an ending date/time of 2005-09-04_00:00:00.
 
Top