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

Ungrib Error: invalid reference to variable in NAMELIST input

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
Hello everyone,

I have WPS4.3.1 and WRF 4.3.3.

When I try editing namelis.wps as suggested here:
I get the following message error:

"forrtl: severe (19): invalid reference to variable in NAMELIST input, unit 10, file /home/cr2/mlagos/WPS/namelist.wps, line 7, position 9"

Where is the Prefix =, line; when I comment this line, the ungrib.exe works, but I am afraid of deleting the GFS/intermediate files and the final met_* files.

Any help?



  • namelist.wps
    792 bytes · Views: 31
I moved your inquiry to the ungrib section, as the error is specific to ungrib and wasn't related to the previous question it was posted to.

The namelist variable "prefix" is not valid in the &share section of namelist.wps. It should be in the &ungrib section. Take a look at this tutorial that walks you through the steps of using SST input.