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

Some auxiliary output files have double the time steps

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.


New member

I am running WRF and saving some variables to a file at hourly intervals. Some of the netcdf files have 59 time steps instead of 24. I am assuming it's some sort of corrupted file problem. Has this problem come up before? The files in question are at:


and this is one example of a file that is a problem:


While this one is correct:



I've not seen this before, but when I look at the times listed in the '' file, I see these weird empty quotes at the end.
Times =
(plus more - I didn't include them all)
Can you let me know which version of WRF you're using, whether it's been modified at all, and can you point me to the directory where WRF is built and you're running the case? I'd like to take a look at the namelist, output files, etc. Thanks!
Hello Kelley,

My run directory is here: /glade/scratch/gbromley/control_umd/wrf/run

I copied the WRF files from the WRFHELP precompiled code directories. It's WRFv4.2. There are no special options besides some extra aux output.

I discovered that if I just cut out the first 24 time steps, everything seems fine, which is awesome since that means the data is probably fine overall. I can probably write a script to do this for all files. If I can stop this from happening with future files though would be great (it's still happening with the most recent aux out files).


I'm glad you've figured out a workaround for now. I apologize for taking so long to get back to you, but I've been trying to find ways to reproduce it and it's been unsuccessful. My latest attempt used the following:
your namelist (with dates modified)
your wrfrst_d01_2011-10-20_00:00:00 file
I used your met_em* files to create a wrfbdy_d01 file for that time period.
I ran a restart through the 23rd, since it looks like your file "" has the issue.
But my times in each sfc* file look okay.

Is there anything you can think of that I would need to do differently? If not, then perhaps next time you come across the problem, save the following files so that I can try to reproduce with your exact files:
wrfbdy_d01 for that time period
wrfrst* for that time period
namelist.input for that time period
rsl.* files for your simulation
sfc* files for your simulation