Run

Run cindyhg Thu, 04/25/2019 - 09:59

Next, run PB2NC on the command line using the following command:

pb2nc \
$MET_TUTORIAL_DATA/input/sample_obs/prepbufr/ndas.t00z.prepbufr.tm12.20070401.nr \
$MET_TUTORIAL_DATA/output/pb2nc/tutorial_pb.nc \
$MET_TUTORIAL_DATA/config/PB2NCConfig_tutorial \
-v 2

PB2NC is now filtering the observations from the input PrepBufr file using the configuration settings we specified and writing the output to the NetCDF file name we chose. This should take a few minutes to run. As it runs, you should see several status messages printed to the screen to indicate progress. You may use the -v command line option to turn off or change the amount of log information printed to the screen.

Runtime Errors

Listed below are two common error messages from the BUFRLIB:

  1. +++++++++++++++++++++++WARNING+++++++++++++++++++++++++
    BUFRLIB: OPENBF - INPUT BUFR FILE IN UNIT 11 IS EMPTY
    +++++++++++++++++++++++WARNING+++++++++++++++++++++++++

    For this error message, ensure that BUFRLIB was built with the *same* family of compilers used to build MET.

  2. **************BUFR ARCHIVE LIBRARY ABORT*****************
    BUFRLIB: OPENBF - FIRST 4 BYTES READ FROM RECORD IN INPUT FILE
    CONNECTED TO UNIT 11 NOT 'BUFR', DOES NOT CONTAIN BUFR DATA
    **************BUFR ARCHIVE LIBRARY ABORT*****************
  3. For this error message, refer to the PB2NC Tool: General page and follow the instructions regarding the --disable-block4 configure option.