Hi all,<br><br>I'm trying to do some plotting with hirlam rotated gribs but I'm getting an error with wgrib (v1.8.1.0d):<br><br># wgrib -V hirlam.grb<br>grib header at record 1: two values of nxny 246768 50158<br> LEN 171286 DataStart 14 UnusedBits 7 #Bits 9 nxny 246768<br>
rec 1:0:date 2010113018 PRES kpds5=1 kpds6=103 kpds7=0 levels=(0,0) grid=255 0 m above MSL 54hr fcst:<br> PRES=Pressure [Pa]<br> timerange 0 P1 54 P2 0 TimeU 1 nx 50158 ny 1 GDS grid 10 num_in_ave 0 missing 0<br> center 214 subcenter 0 process 1 Table 1 scan: WE:SN winds(grid)<br>
rotated LatLon grid lat -35.500000 to 32.180000 lon -46.500000 to 46.460000<br> nxny 50158 (582 x 424) dx 160 dy 160 scan 64 mode 136<br> transform: south pole lat -35.000000 lon -15.000000 rot angle 0.000000<br>
*** Cannot decode complex packed fields n=50158***<br><br><br>With <a href="http://grib2ctl.pl">grib2ctl.pl</a> (v0.9.12.5p46):<br><br># <a href="http://grib2ctl.pl">grib2ctl.pl</a> hirlam.grb > hirlam.ctl<br>grib header at record 1: two values of nxny 246768 50158<br>
LEN 171286 DataStart 14 UnusedBits 7 #Bits 9 nxny 246768<br>grib header at record 2: two values of nxny 246768 50158<br> LEN 154832 DataStart 14 UnusedBits 6 #Bits 9 nxny 246768<br>grib header at record 3: two values of nxny 246768 50158<br>
LEN 231734 DataStart 14 UnusedBits 0 #Bits 10 nxny 246768<br>grib header at record 4: two values of nxny 246768 50158<br> LEN 232468 DataStart 14 UnusedBits 14 #Bits 10 nxny 246768<br>grib header at record 5: two values of nxny 246768 50158<br>
LEN 137810 DataStart 14 UnusedBits 13 #Bits 7 nxny 246768<br>grib header at record 6: two values of nxny 246768 50158<br> LEN 256406 DataStart 14 UnusedBits 7 #Bits 14 nxny 246768<br>grib header at record 7: two values of nxny 246768 50160<br>
LEN 219698 DataStart 14 UnusedBits 0 #Bits 10 nxny 246768<br>grib header at record 1: two values of nxny 246768 50158<br> LEN 171286 DataStart 14 UnusedBits 7 #Bits 9 nxny 246768<br>*** Cannot decode complex packed fields n=50158***<br>
<br><br># gribmap -i hirlam.ctl<br> grib1map: opening GRIB file: hirlam.grb<br> grib1map error: GRIB file format error (rc = 53)<br><br>I have attached the grib file.<br><br>Any help appreciated.<br><br>Regards.<br>