[gradsusr] cat *grib* > big_grib messes time frames

Ivan Toman ivtoman at inet.hr
Mon Oct 29 10:15:57 EDT 2018

Hello GrADS users,

I'm experiencing problem with concatenating multiple gribs into single 
one if there are more than 255 grib files. If there is 255 or less, 
something like

cat *wrfprs* > grib.grb2

works as expected.

But, if I include 256 or more wrfprs gribs, time frames start to mess 
around (ie first frame in big grib is obvously not first frame/analysis 
of wrf simulation, although wgrib2 and GrADS say it is correct time).

I don't think there is size problem because gribs are relatively small 
and resulting big grib is under 400MB. I use grib2 format.

Did anyone experienced similar problem? Any other method to concatenate 
gribs into single one that might work better?

Thank you

Ivan Toman

More information about the gradsusr mailing list