<p dir="ltr">Besides the data format which must be grib, check also the starting and ending dates of four data . Also I think you can download fnl data directly in grib format</p>
<div class="gmail_quote">On Apr 11, 2016 9:33 PM, &quot;Richard Newton&quot; &lt;<a href="mailto:richard.newton-6@postgrad.manchester.ac.uk">richard.newton-6@postgrad.manchester.ac.uk</a>&gt; wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Cambria&quot;,serif">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Cambria&quot;,serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Cambria&quot;,serif">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 “</span>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:
<a href="https://code.zmaw.de/projects/cdo/wiki/cdo#Installation-and-Supported-Platforms" target="_blank">
https://code.zmaw.de/projects/cdo/wiki/cdo#Installation-and-Supported-Platforms</a>). Then remove all the old GRIBFILE.*** and rerun ./link_grib.csh with the GRIB files instead.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hope this helps,<u></u><u></u></p>
<p class="MsoNormal">Richard<span style="font-size:11.0pt;font-family:&quot;Cambria&quot;,serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Cambria&quot;,serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#767171">Richard Newton<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#767171">PhD Student<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#767171">School of Earth, Atmospheric and Environmental Sciences<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#767171">University of Manchester<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Cambria&quot;,serif"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Benjamin Alabi [mailto:<a href="mailto:alabibenjamin2@gmail.com" target="_blank">alabibenjamin2@gmail.com</a>]
<br>
<b>Sent:</b> 11 April 2016 18:16<br>
<b>To:</b> <a href="mailto:wrf-users@ucar.edu" target="_blank">wrf-users@ucar.edu</a><br>
<b>Subject:</b> [Wrf-users] Ungrid error<u></u><u></u></span></p><div class="elided-text">
<p class="MsoNormal" style="margin-left:36.0pt"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
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<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
this is my namelist.wps<br>
<br>
&amp;share<br>
 wrf_core = &#39;ARW&#39;,<br>
 max_dom = 3,<br>
 start_date = &#39;2006-03-05_00:00:00&#39;, &#39;2006-03-05_00:00:00&#39;, &#39;2006-03-05_00:00:00&#39;,
<br>
 end_date   = &#39;2006-03-14_00:00:00&#39;, &#39;2006-03-14_00:00:00&#39;, &#39;2006-03-14_00:00:00&#39;,
<br>
 interval_seconds = 21600,<br>
 io_form_geogrid = 2,<br>
/<br>
<br>
&amp;geogrid<br>
 parent_id         = 1,1,2,<br>
 parent_grid_ratio = 1,3,3,<br>
 i_parent_start    = 1,36,44,<br>
 j_parent_start    = 1,30,26,<br>
 e_we          = 100,133,193,<br>
 e_sn          = 82,103,121,<br>
 geog_data_res = &#39;10m&#39;,&#39;2m&#39;,&#39;30s&#39;,<br>
 dx = 36000,<br>
 dy = 36000,<br>
 map_proj =  &#39;mercator&#39;,<br>
 ref_lat   = 9.652,<br>
 ref_lon   = 5.048,<br>
 truelat1  = 9.652,<br>
 truelat2  = 0,<br>
 stand_lon = 5.048,<br>
 geog_data_path = &#39;/home/amarachi/Build_WRF/geog_complete&#39;,<br>
/<br>
<br>
&amp;ungrib<br>
 out_format = &#39;WPS&#39;,<br>
 prefix = &#39;FILE&#39;,<br>
/<br>
<br>
&amp;metgrid<br>
 fg_name = &#39;FILE&#39;,<br>
 io_form_metgrid = 2,<br>
/<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt">the step after running geogrid.exe, 
<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
(1) ./link_grib.csh /home/amarachi/Build_WRF/fnl_data/*.nc<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
(2) ln -sf ungrib/Variable_Tables/Vtable.GFS Vtable<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
(3) ./ungrid.exe<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt">it gave this following error:<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
*** Starting program ungrib.exe ***<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
Start_date = 2006-03-05_00:00:00 , End_date = 2006-03-14_00:00:00<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
output format is WPS<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
Path to intermediate files is ./<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
ERROR: Grib2 file or date problem, stopping in edition_num.<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
could anyone guide me. Thanks.<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
<u></u> <u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
<u></u> <u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
Alabi Benjamin<u></u><u></u></p>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
<u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt"><u></u> <u></u></p>
<div>
<div>
<div>
<p style="margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt">
<u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div></div>
</div>

<br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div>