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

Categorical Precipitation Types

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
Hi All,

I am struggling to output in the following grab2 parameters:


I am running WRFV4.1.3 compiled using the PGI compiler and using UPPV4 compiled with gfortran to process the wrfout files. The 3 parameters listed above are included in my grib2 output, but when I view the data in a program such as Panoply the scale goes from 0 to 0 and all the values are all zero in the array. I was also having issues getting the Categorical_Rain_surface to output as well, but when I Googled the issue I ran across this post ( so I adjusted the RAINCV and RAINNCV entries in the Registry.EM_COMMON for WRF, WRFPLUS, and WRFDA and then recompiled. I now get data for Categorical_Rain_surface when viewed in Panoply, and the scale looks correct from 0 to 1, but the output for the 3 other parameters is still zero. I do not see any obvious entries (at least obvious to me) variables in the same Registry file to adjust for the Snow, Freezing Rain, and Ice Pellets. I posted in the WRF forum and the suggestion there was that it may be a UPP issue. Would someone have any idea of what I can adjust to get those parameters listed above as well?

Thanks for all the help!
Adding those two variables in the Registry should have fixed the output of precipitation type.

Can you send the specific postcntrl.xml file that you are using?