Skip to content

WRF doesn't halt when beginning LBC time is not in wrfbdy_d01 file #769

@mgduda

Description

@mgduda

When restarting a model simulation at a time beyond the last valid boundary data in the wrfbdy_d01 file, the model doesn't stop, but instead appears to go into an infinite loop, generating printout like the following in all rsl files:

WRF restart, LBC starts at 2019-01-25_00:00:00 and restart starts at 2019-01-26_00:00:00
 LBC for restart: Starting valid date = 2019-01-25_00:00:00, Ending valid date = 2019-01-25_03:00:00
 LBC for restart: Restart time            = 2019-01-26_00:00:00
 LBC for restart: Looking for a bounding time
 LBC for restart: Starting valid date = 2019-01-25_03:00:00, Ending valid date = 2019-01-25_06:00:00
 LBC for restart: Starting valid date = 2019-01-25_06:00:00, Ending valid date = 2019-01-25_09:00:00
 LBC for restart: Starting valid date = 2019-01-25_09:00:00, Ending valid date = 2019-01-25_12:00:00
 LBC for restart: Starting valid date = 2019-01-25_12:00:00, Ending valid date = 2019-01-25_15:00:00
 LBC for restart: Starting valid date = 2019-01-25_15:00:00, Ending valid date = 2019-01-25_18:00:00
 LBC for restart: Starting valid date = 2019-01-25_18:00:00, Ending valid date = 2019-01-25_21:00:00
 LBC for restart: Starting valid date = 2019-01-25_21:00:00, Ending valid date = 2019-01-26_00:00:00
---- ERROR: Cannot find a valid time to start the LBC during this restart, likely ran out of time periods to test
 LBC for restart: Starting valid date = 2019-01-25_21:00:00, Ending valid date = 2019-01-26_00:00:00
---- ERROR: Cannot find a valid time to start the LBC during this restart, likely ran out of time periods to test
 LBC for restart: Starting valid date = 2019-01-25_21:00:00, Ending valid date = 2019-01-26_00:00:00
---- ERROR: Cannot find a valid time to start the LBC during this restart, likely ran out of time periods to test
 LBC for restart: Starting valid date = 2019-01-25_21:00:00, Ending valid date = 2019-01-26_00:00:00
---- ERROR: Cannot find a valid time to start the LBC during this restart, likely ran out of time periods to test
 LBC for restart: Starting valid date = 2019-01-25_21:00:00, Ending valid date = 2019-01-26_00:00:00
---- ERROR: Cannot find a valid time to start the LBC during this restart, likely ran out of time periods to test

In a small test run, I was able to generate almost 26 GB of rsl files before manually terminating WRF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions