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

real.exe NetCDF error: NetCDF: Variable not found

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 run real.exe to generate the lateral boundary conditions. The boundary conditions are created and at the end of the rsl files, the following line is printed: real_em: SUCCESS COMPLETE REAL_EM INIT

However, when searched in the rsl.error files a number of errors were noticed. Does it make sense to print SUCCESS but a number of errors are listed? What is the issue with my simulation? Some files have been attached to trace the errors. The grib data is being downloaded from the following link:

Your feedback is highly appreciated.



  • namelist.input
    6.4 KB · Views: 50
  • rsl.error.txt
    109.1 KB · Views: 66
Hi Martin,
I believe these are just extra print statements that are added to the rsl files because you have debug turned on (and to a very high number). The debug option was put in the namelist several years ago for some developmental purposes, and for whatever reason, was never removed until V4.0. So we actually don't even recommend using it, as it typically doesn't provide useful information, and fills the rsl file up with junk that can make it tough to read. Can you set debug_level = 0 and run real.exe again. Let me know if you are still seeing the errors. If so, please attach your new namelist and rsl.error.0000 file. Thanks!

Thanks for getting back. With debug level set to 0, no errors are printed in the rsl files.

Thanks for your clarification on this matter.