MET Online Tutorial for METv1.1

PB2NC Tool: Run

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

    bin/pb2nc \
    data/sample_obs/prepbufr/ndas.t00z.prepbufr.tm12.20070401.nr.blk \
    tutorial/out/pb2nc/tutorial_pb.nc \
    tutorial/config/PB2NCConfig_tutorial \
    -v 2

PB2NC is now filtering the observations from the Fortran-blocked input PrepBufr file using the configuration settings we specified and writing the output 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 message from the BUFRLIB:

  • First common error message:
    +++++++++++++++++++++++WARNING+++++++++++++++++++++++++
    BUFRLIB: OPENBF - INPUT BUFR FILE IN UNIT 11 IS EMPTY
    +++++++++++++++++++++++WARNING+++++++++++++++++++++++++
  • Second common error message:
    **************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*****************

Users who encounter either of these runtime errors should consider the following:

  • Ensure that BUFRLIB was built with the *same* family of compilers used to build MET.
  • Go back to the PB2NC Tool: General page and follow the steps for running the cwordsh utility.
  • Users running MET on a 64-bit machine should refer to the note on Running MET on 64-bit Machines.