Creating GRIB Files with DMBIN
When the unpacking process is complete and the entire GRIB message is successfully decoded, the decoder passes the GRIB structures to DMBIN, which stores the information in the MySQL database. DMBIN also writes raw GRIB and BUFR data to files that the database points to. DMBIN does not use the RTMODELS.CFG file.
Once the correct GRIB file is determined, DMBIN files the grid in the database as is. It is up to the GRIB server to determine if the grid must be pieced together with other corresponding grids of the same field, time, etc. Piecing together is often necessary because most of the gridded fields that cover the globe are sent in four or eight pieces, as in the GFS-GLME dataset.