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.exe skipping the processing of the first GFS data file in WPS 4.6.0

Kees

New member
I am using WPS 4.6.0 in a docker container. For some reason ungrib.exe does not process the first of a set of files. It always gives me the error that the file with the start date in the namelist.wps is missing, even though it is physically there and the GRIBFILE links are all present. The ungrib.log file (attached) shows that the inventory headers for that missing file are absent. As a result I can not proceed and run metgrid.exe. I am attached both the namelist.wps and the ungrib.log files for reference. It is not a matter of space.

I would appreciate help.
 

Attachments

  • namelist2.wps
    1.2 KB · Views: 2
  • ungrib.log
    115.3 KB · Views: 2
Interestingly, the above problem occurred when I was using a gfs dataset. With an fnl dataset covering the same time frame, ungrib.exe worked fine without skipping the first file.
Any clue?
 
It would seem that something is wrong with the data file you have for (at least) that initial time. Where are you obtaining your data? I just used the gfs 0.25 degree data from NCAR'S Research Data Archive for the dates you're using and it ran without any problems. Give that a try if you aren't already using it. If you are, you may want to try to download the files again and try, and if it's still failing, reach out to the RDA support group to see if they have any suggestions.
 
Code:
 e_we              =  100,
 e_sn              =  89,

Looking at your namelist I see that the domain is less than the recommended size.
In this post (WRF namelist.wps Best Prac) it recommends a minimum of 100x100 grid.

Try changing to this and see if that fixes it.
Code:
e_we              =  105,

 e_sn              =  105,

and then to link the files try these commands:

Bash:
ln -sf ungrib/Variable_Tables/Vtable.GFS ./Vtable
you'll need to be in the WPS folder for that command to work. ^

Bash:
 ./link_grib.csh (path to your downloaded files)
 
Thanks, William, for that good suggestion. There must have been a problem with the downloaded data files that caused the problem on Thursday. I am not sure what happened. The set I downloaded for yesterday worked fine!
 
Top