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

Error from a pre-v4 version of WRF initialization routines

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.

dandan

New member
When I run WRF-Chem v4.0, an error occurred in real.exe.

STARTING WITH BACKGROUND CHEMISTRY
Subroutine input_chem_profile:
READING MEGAN 2 EMISSIONS DATA
mediation_integrate: med_read_wrf_chem_bioemissions: Open file wrfbiochemi_d01
mediation_integrate: med_read_wrf_chem_bioemissions: Read biogenic emissions at time 2015-12-01_00:00:00
d01 2015-12-01_00:00:00 Error trying to read metadata
d01 2015-12-01_00:00:00 File name that is causing troubles = wrfbiochemi_d01
d01 2015-12-01_00:00:00 wrfbiochemi_d01
d01 2015-12-01_00:00:00 Error trying to read metadata
d01 2015-12-01_00:00:00 You can try 1) ensure that the input file was created with WRF v4 pre-processors, or
d01 2015-12-01_00:00:00 2) use force_use_old_data=T in the time_control record of the namelist.input file
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 324
---- ERROR: The input file appears to be from a pre-v4 version of WRF initialization routines

It seems that the error comes from the input file, i.e., wrfbiochemi_d01. But the file is OK for WRF V3. Could you tell me how to solve it.
 
This topic has been moved to the WRF-Chem running section, as it is more appropriate here. Someone will hopefully get to this question soon.
 
The metadata in your wrfbiochemi_d01 file is wrong (this changed from version 3.9 to version 4.0 of the model).

You will need to create the wrfbiochemi_d01 again, using a wrfinput_d01 file created using version 4.0 of the code. Run REAL for WRF only, then use the wrfinput_d01 from this for creating the new wrfbiochemi_d01 file, and then run REAL again in order to create the wrfinput_d01 input file for WRF-Chem.
 
Top