[gradsusr] ultra long records of grib2 data

Becker, Bernd bernd.becker at metoffice.gov.uk
Fri Aug 4 07:25:11 EDT 2017


Hi ,
I would like to "quickly check" a large grib file and fail on  this shortcoming:


         /* Check for ultra long length -- which we do not yet handle */

         if (gagby(cgrib,8,4)!=0 || gagbb(cgrib+12,0,1)!=0) {
         printf("grib2map error: grib2 record too long! record %d at byte %jd\n",record,iseek);
         fflush(stdout);
         goto err;
         }

in gribmap.  Has anybody invested in a workaround yet?

(snippet from http://grads.sourcearchive.com/documentation/2.0.a9-1/gagmap_8c_source.html)


in the meantime: Is there perhaps a keyword that I may set to "long" or "even longer" somewhere?

Many thanks,
Bernd.




 --
[insurance_email_footer_V2]
Bernd D. Becker   Senior Scientist, Insurance and Capital Markets.
Met Office Hadley Centre    FitzRoy Road  Exeter
Devon EX1 3PB  United Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.gov.uk
http://www.metoffice.gov.uk/research/people/bernd-becker

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170804/4335821e/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 10960 bytes
Desc: image001.jpg
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20170804/4335821e/attachment.jpg 


More information about the gradsusr mailing list