reading grib file larger than 2Gb
Added by Giovanni Leoncini almost 11 years ago
Hi all,
I am running cdo on 64bit windows machine and when I try to convert a grib file larger than 2Gb I get this error:
Assertion failed: pxp->bf_offset <= offset && offset < pxp->bf_offset + (off_t)
pxp->bf_extent, file posixio.c, line 325
when I try to split it by name I get an lseek error:
Error (file_fill_buffer) : lseek error at pos -2147470368 file lme_2tl_1990012300.grb
System error message : Invalid argument
can I actually do something with a grib file larger than 2Gb? or do I need to do something else?
thanks in advance
Giovanni
Replies (2)
RE: reading grib file larger than 2Gb - Added by Ralf Mueller almost 11 years ago
this is a known problem. Use cygwin for getting the most out of CDO on windows machines.
RE: reading grib file larger than 2Gb - Added by Giovanni Leoncini almost 11 years ago
Ralph,
thanks for your reply. I have asked the question because the only thing I could find on this is line in the windows documentation "2GB limit: Some problems with netcdf files larger than 2GB occurred (#995)" and an old message.
thanks again
Giovanni