BUFR files: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The GEOS-5 software uses [http://www.nco.ncep.noaa.gov/sib/decoders/BUFRLIB/ NCEP's bufrlib] software. Since the BUFR library software handles 'endian' conversion internally, it needs to read the BUFR files in native mode (without endian conversion). Versions of the BUFR library prior to 10.2.0 use Fortran routines to carry out I/O and so the BUFR | The GEOS-5 software uses [http://www.nco.ncep.noaa.gov/sib/decoders/BUFRLIB/ NCEP's bufrlib] software. Since the BUFR library software handles 'endian' conversion internally, it needs to read the BUFR files in native mode (without endian conversion). Versions of the BUFR library prior to 10.2.0 use Fortran routines to carry out I/O and so the BUFR files were required to have Fortran file markers in native format. The most recent versions of the BUFR library (implemented in DAS versions after GEOSadas-5_12) use C routines for I/O and ignore any file markers if present. | ||
== Determining file marker type == | == Determining file marker type == | ||
Line 36: | Line 36: | ||
Note that all of the files listed under a section in the 'obsys.rc' need to have the same kind of file markers. If you are combining files from different sources, you may need to 'unblock', 'reblock' or 'block' the files to make them all consistent. | Note that all of the files listed under a section in the 'obsys.rc' need to have the same kind of file markers. If you are combining files from different sources, you may need to 'unblock', 'reblock' or 'block' the files to make them all consistent. | ||
Beginning on 31 July 2013, all the BUFR files that we receive from NCEP have been unblocked - written without any file markers. Prior to that date we received a mixture of unblocked files and files with big-endian file markers. The version of the 'block' routine implemented in the DAS in 2009 uses the C routines to read the BUFR files so it can read files with any file markers and write out BUFR files with the little-endian file markers. Thus it is possible to use data both prior to 31 July 2013 and after that date by just using '.ublk' in the specification and having 'block' process all the files to write the little-endian file markers. |