Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I tried to split the file into grib1 and grib2 fields. The grib1 file looks fine and can be processed by cdo, but the grib2 file has the gridType changed to grid_simple which seems to prevent further post processing:

Code Block
languagebash
grib_copy ICMUA4317+000000 -w edition=1 ICMUA4317+000000_grib1
grib_copy ICMUA4317+000000 -w edition=2 ICMUA4317+000000_grib2

grib_ls ICMUA4317+000000_grib2 
ICMUA4317+000000_grib2
edition      centre       date         dataType     gridType     stepRange    typeOfLevel  level        shortName    packingType  
2            ecmf         20160925     fc           reduced_gg   0            hybrid       1            q            grid_simple 
2            ecmf         20160925     fc           reduced_gg   0            hybrid       2            q            grid_simple 
2            ecmf         20160925     fc           reduced_gg   0            hybrid       3            q            grid_simple 
2            ecmf         20160925     fc           reduced_gg   0            hybrid       4            q            grid_simple 
.
.
.

cdo -R -t ecmwf -f nc copy -remapbil,r360x180 ICMUA4317+000000_grib2 ICMUA4317+000000.nc
cdo(2) remapbil: Process started
Error (gribapiGetGridRegular): numberOfPoints (35718) and gridSize (343597383520) differ!


I tried to convert the mixed files that still contains the correct gridType with grib_to_netcdf but here too I get an error related to the gridType:

...