ERROR: Ran out of valid boundary conditions in file wrfbdy_d01

Topics specifically related to the wrf.exe program
Post Reply
robson_passos
Posts: 5
Joined: Wed Dec 16, 2020 2:17 am

ERROR: Ran out of valid boundary conditions in file wrfbdy_d01

Post by robson_passos » Tue May 11, 2021 2:07 am

Dear,
I am running WRF for 4 days of simulation. My simulation starts on the date 2016-09-20_00:00:00 and ends on the date 2016-09-23_23:00:00 with interval_seconds = 3600. However, the following error is occurring in the last hour of the simulation:
d01 2016-09-23_23: 00: 00 Input data is acceptable to use: wrfbdy_d01
2 input_wrf: wrf_get_next_time current_date: 2016-09-23_23: 00: 00 Status = -4
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 1151
---- ERROR: Ran out of valid boundary conditions in file wrfbdy_d01
-------------------------------------------
I don't understand what the problem is, as the date in the namelist.wps file is set to the correct range:
& share
wrf_core = 'ARW',
max_dom = 2,
start_date = '2016-09-20_00: 00: 00', '2016-09-20_00: 00: 00',
end_date = '2016-09-23_23: 00: 00', '2016-09-23_23: 00: 00',
interval_seconds = 3600
io_form_geogrid = 2,
/
And in the namelist.input file too:
& time_control
run_days = 4,
run_hours = 0,
run_minutes = 0,
run_seconds = 0,
start_year = 2016, 2016,
start_month = 9, 9,
start_day = 20, 20,
start_hour = 0, 0,
start_minute = 00, 00,
start_second = 00, 00,
end_year = 2016, 2016,
end_month = 9, 9,
end_day = 23, 23,
end_hour = 23, 23,
end_minute = 00, 00,
end_second = 00, 00,
interval_seconds = 3600,
input_from_file = .true., .true.,
history_interval = 10, 10,
frames_per_outfile = 144, 144,
restart = .false.,
restart_interval = 99999,
io_form_history = 2,
io_form_restart = 2,
io_form_input = 2,
io_form_boundary = 2,
debug_level = 0,
/
Could anyone clarify where the problem is?
Thank you very much in advance.
Robson

Ming Chen
Posts: 1456
Joined: Mon Apr 23, 2018 9:42 pm

Re: ERROR: Ran out of valid boundary conditions in file wrfbdy_d01

Post by Ming Chen » Tue May 11, 2021 6:19 pm

Robson,
This is because your wrfbdy flie covers a period shorter than the integration time you specify in namelist.input.
Please type the command:
ncdump -v Times wrfbdy_d01,
You will see the times when data are available in wrfbdy. You need to specify the start and end time of model integration based on when the data are available.
WRF Help Desk

robson_passos
Posts: 5
Joined: Wed Dec 16, 2020 2:17 am

Re: ERROR: Ran out of valid boundary conditions in file wrfbdy_d01

Post by robson_passos » Tue May 11, 2021 11:32 pm

Dear Ming Chen, thank you very much for your reply. In fact, the file wrfbdy_d01 has a date range from 2016-09-20_00: 00: 00 to 2016-09-23_22: 00: 00 and not from 2016-09-20_00: 00: 00 to 2016-09-23_23: 00 : 00, so this error happens, as you mentioned.

I just don't understand why the wrfbdy_d01 file has a date range until 2016-09-23_22: 00: 00, because my meteorological data in grib format has the date 2016-09-23_23: 00: 00. Do I have to download an extra hour for my simulation to run until 2016-09-23_23: 00: 00?

Thank you very much in advance,
Robson

Ming Chen
Posts: 1456
Joined: Mon Apr 23, 2018 9:42 pm

Re: ERROR: Ran out of valid boundary conditions in file wrfbdy_d01

Post by Ming Chen » Wed May 12, 2021 10:39 pm

Robson,
In your case, if the wrfbdy_d01 file has a date range until 2016-09-23_22: 00:00, then it is fine for a run ending at 2016-09-23_23: 00:00. This is because the lateral boundary tendencies for the period 2016-09-23_22: 00:00 - 2016-09-23_23: 00:00 have been included in wrfbdy at 2016-09-23_22: 00:00.

Please set
run_days = 3,
run_hours = 23,

Then try again.
WRF Help Desk

Post Reply

Return to “wrf.exe”