[Wrf-users] Ungrid error

Richard Newton richard.newton-6 at postgrad.manchester.ac.uk
Mon Apr 11 12:27:46 MDT 2016


Hello,

Ungrib needs GRIB format files in order to run. You are linking netCDF files with ./link_grib.csh, creating GRIBFILE.***s  This will throw the error “ERROR: Grib2 file or date problem, stopping in edition_num.” In order to convert from netCDF format to GRIB2 format, one option is to use CDO (link: https://code.zmaw.de/projects/cdo/wiki/cdo#Installation-and-Supported-Platforms). Then remove all the old GRIBFILE.*** and rerun ./link_grib.csh with the GRIB files instead.

Hope this helps,
Richard

Richard Newton
PhD Student
School of Earth, Atmospheric and Environmental Sciences
University of Manchester

From: Benjamin Alabi [mailto:alabibenjamin2 at gmail.com]
Sent: 11 April 2016 18:16
To: wrf-users at ucar.edu
Subject: [Wrf-users] Ungrid error

sir, i need assistance on the error i encounter when running ./ungrid.exe. i  was using grip1 data to run it on WPSV3.7.1
this is my namelist.wps

&share
 wrf_core = 'ARW',
 max_dom = 3,
 start_date = '2006-03-05_00:00:00', '2006-03-05_00:00:00', '2006-03-05_00:00:00',
 end_date   = '2006-03-14_00:00:00', '2006-03-14_00:00:00', '2006-03-14_00:00:00',
 interval_seconds = 21600,
 io_form_geogrid = 2,
/

&geogrid
 parent_id         = 1,1,2,
 parent_grid_ratio = 1,3,3,
 i_parent_start    = 1,36,44,
 j_parent_start    = 1,30,26,
 e_we          = 100,133,193,
 e_sn          = 82,103,121,
 geog_data_res = '10m','2m','30s',
 dx = 36000,
 dy = 36000,
 map_proj =  'mercator',
 ref_lat   = 9.652,
 ref_lon   = 5.048,
 truelat1  = 9.652,
 truelat2  = 0,
 stand_lon = 5.048,
 geog_data_path = '/home/amarachi/Build_WRF/geog_complete',
/

&ungrib
 out_format = 'WPS',
 prefix = 'FILE',
/

&metgrid
 fg_name = 'FILE',
 io_form_metgrid = 2,
/
the step after running geogrid.exe,

(1) ./link_grib.csh /home/amarachi/Build_WRF/fnl_data/*.nc

(2) ln -sf ungrib/Variable_Tables/Vtable.GFS Vtable

(3) ./ungrid.exe
it gave this following error:

*** Starting program ungrib.exe ***

Start_date = 2006-03-05_00:00:00 , End_date = 2006-03-14_00:00:00

output format is WPS

Path to intermediate files is ./

ERROR: Grib2 file or date problem, stopping in edition_num.

could anyone guide me. Thanks.





Alabi Benjamin





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160411/6d43d09d/attachment.html 


More information about the Wrf-users mailing list