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

wrfout in grib2 format

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.

cjones

Member
hello,

I am using WRF 4.0.1 and everything runs fine. However, I now want to save the WRF output in grib2 instead of netcdf format.

I specify io_form_history = 10 in namelist.input
but i get an error message in the rsl.error.xxxx files like this:


SOIL TEXTURE CLASSIFICATION = STAS FOUND 19 CATEGORIES
open_hist_w : error opening wrfout_d01_2019-09-30_00:00:00 for writing. 100
Timing for Writing wrfout_d01_2019-09-30_00:00:00 for domain 1: 0.00927 elapsed seconds
d01 2019-09-30_00:00:00 Input data is acceptable to use: wrflowinp_d01
d01 2019-09-30_00:00:00 Input data processed for aux input 4 for domain 1
d01 2019-09-30_00:00:00 Input data is acceptable to use: wrfbdy_d01
Timing for processing lateral boundary for domain 1: 2.11458 elapsed seconds
Tile Strategy is not specified. Assuming 1D-Y
WRF TILE 1 IS 1 IE 24 JS 1 JE 12
WRF NUMBER OF TILES = 1
open_hist_w : error opening wrfout_d02_2019-09-30_00:00:00 for writing. 100
Timing for Writing wrfout_d02_2019-09-30_00:00:00 for domain 2: 0.00704 elapsed seconds
d02 2019-09-30_00:00:00 Input data is acceptable to use: wrflowinp_d02
d02 2019-09-30_00:00:00 Input data processed for aux input 4 for domain 2

the model continues to run but the it doesn't write the output.

using the option for grib1 seems to work.

any ideas are greatly appreciated.

Cheers,

Charles Jones
 
Hi,
Upon doing some research, I've found previous emails in the past couple of years stating that we are aware that the GRIB2 option does not work, but haven't had the resources to correct the problem. The person who would know for sure is out of the office this week, but I can try to get back to you on that.

If the above is no longer accurate, and since you are able to get GRIB1 output to work, but not GRIB2, it could also be a library problem. You would need the jasper, zlib, and libpng libraries installed, with JASPERLIB and JASPERINC set in your environment script PRIOR to building WRF. If you think this may be the problem, correct that, then issue a 'clean -a', reconfigure, and recompile. If the problem persists, it is very likely that the option just isn't working.
 
Top