运行和验证

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令验证grib_api。

    cd /path/to/grib_api/bin
    ./grib_ls /path/to/grib_api/share/grib_api/samples/sh_sfc_grib1.tmpl
    ./grib_compare  /path/to/grib_api/share/grib_api/samples/sh_sfc_grib1.tmpl  /path/to/grib_api/share/grib_api/samples/sh_sfc_grib2.tmpl

    结果回显如下,出现图中信息则为运行成功。