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 trying to read metadata

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.

Shi2018

New member
I find some error messages "Error trying to read metadata" when I try to run a TC case with WRF v4.0.3, but I don't understand what “metadata” is referring to here. A part of error messages are here:
...INITIALIZE THREE Noah LSM RELATED TABLES
Timing for Writing wrfout_d01_2005-09-01_00:00:00 for domain 1: 0.48175 elapsed seconds
d01 2005-09-01_00:00:00 Error trying to read metadata
d01 2005-09-01_00:00:00 Error trying to read metadata...

I also find a strange expression "PATH_TO_FILES = ~/WRFV3/" in namelist.output, but I don't have a folder named "WRFV3". I don't know if this is the cause of the error. What role does PATH_TO_FILES play here? If I need to modify it, which section should I add it to in namelist.input?

Here is my namelist.input:
&time_control
run_days = 0,
run_hours = 120,
run_minutes = 0,
run_seconds = 0,
start_year = 2005, 2000, 2000,
start_month = 09, 01, 01,
start_day = 01, 24, 24,
start_hour = 00, 12, 12,
start_minute = 00, 00, 00,
start_second = 00, 00, 00,
end_year = 2005, 2000, 2000,
end_month = 09, 01, 01,
end_day = 06, 25, 25,
end_hour = 00, 12, 12,
end_minute = 00, 00, 00,
end_second = 00, 00, 00,
interval_seconds = 86400
input_from_file = .true.,.false.,.false.,
history_interval = 60, 60, 60,
frames_per_outfile = 10000000, 1000, 1000,
restart = .false.,
restart_interval = 10000000,
io_form_history = 2
io_form_restart = 2
io_form_input = 2
io_form_boundary = 2
io_form_auxinput4 = 2
debug_level = 0
auxinput4_inname = "wrflowinp_d<domain>"
auxinput4_interval = 360, 360, 360,
force_use_old_data = T
/

&domains
time_step = 25,
time_step_fract_num = 0,
time_step_fract_den = 1,
max_dom = 1,
s_we = 1, 1, 1,
e_we = 200, 112, 94,
s_sn = 1, 1, 1,
e_sn = 150, 97, 91,
s_vert = 1, 1, 1,
e_vert = 31, 28, 28,
num_metgrid_levels = 31
dx = 12000, 10000, 3333,
dy = 12000, 10000, 3333,
grid_id = 1, 2, 3,
parent_id = 0, 1, 2,
i_parent_start = 0, 31, 30,
j_parent_start = 0, 17, 30,
parent_grid_ratio = 1, 3, 3,
parent_time_step_ratio = 1, 3, 3,
feedback = 1,
smooth_option = 0,
nproc_x = 8,
nproc_y = 7,
hypsometric_opt = 1,
/

&physics
mp_physics = 2, 3, 3,
ra_lw_physics = 1, 1, 1,
ra_sw_physics = 1, 1, 1,
radt = 10, 30, 30,
sf_sfclay_physics = 2, 1, 1,
sf_surface_physics = 2, 1, 1,
bl_pbl_physics = 2, 1, 1,
bldt = 0, 0, 0,
cu_physics = 0, 1, 0,
cudt = 5, 5, 5,
isfflx = 1,
ifsnow = 0,
icloud = 1,
surface_input_source = 1,
num_soil_layers = 5,
num_land_cat = 24,
sf_urban_physics = 0,
mp_zero_out = 0,
maxiens = 1,
maxens = 3,
maxens2 = 3,
maxens3 = 16,
ensdim = 144,
sst_update = 1,
/

&fdda
/

&dynamics
w_damping = 0,
diff_opt = 1,
km_opt = 4,
diff_6th_opt = 0,
diff_6th_factor = 0.12,
base_temp = 290.
damp_opt = 0,
zdamp = 5000., 5000., 5000.,
dampcoef = 0.01, 0.01, 0.01
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,,
use_baseparam_fr_nml = .true.,
use_theta_m = 0
hybrid_opt = 0
/

&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 = 0,
/

Appreciate any help!
 
I guess you are running this case using WRFV4, but your input data is produced by WRFV3. Please let me know if I am wrong,

Due to changes in the vertical coordinate, the input data for WRFv4 is no longer consistent with that for WRFV3. An easy way yo get around this is to rerun REAL using WRFV4.

We did provide the option force_use_old_data, but somehow it doesn't always work as expected.
 
Hello Ming Chen

Yes, my input data is produced by WRFV2 and I am running this case using WRFV4. Actually, I am using WRFV4 in COAWST 3.4, and the input data is from a a typhoon case in COAWST 3.4, which is not generated by myself with WPS. I did use the force_use_old_data and other options (hypsometric_opt = 1, use_theta_m = 0, hybrid_opt = 0), but It seems that I need to try to reproduce the input data as you said.

Thanks for the reply.
 
Yes, please reproduce the input data for WRFv4. The data from WRFv2 and WRFv3.4 are too old for running with WRFV4.
 
Top