美文网首页MacOS 部署
MacOS eccodes 安装

MacOS eccodes 安装

作者: Mr_窦先生 | 来源:发表于2021-11-29 08:42 被阅读0次

    安装步骤

      1. tar -xzf eccodes-2.6.0-Source.tar.gz
      1. cd eccodes-2.6.0-Source
      1. mkdir build ; cd build
      1. cmake -DCMAKE_INSTALL_PREFIX=/usr/local/eccodes ../../eccodes-2.6.0-Source
      1. make
      1. ctest
      1. sudo make install

    错误: 如碰到 dyld: Library not loaded: /usr/local/opt/jpeg/lib/libjpeg.8.dylib 解决办法 sudo ln -s /usr/local/Cellar/jpeg/8d/lib/libjpeg.8.dylib /usr/local/opt/jpeg/lib/libjpeg.8.dylib

    使用

    Tools 使用参考网站

    https://software.ecmwf.int/wiki/display/ECC/BUFR+tools+examples

    API 使用参考网站

    <pre class="md-fences md-end-block ty-contain-cm modeLoaded" spellcheck="false" lang="" cid="n41" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: var(--monospace); font-size: 0.9em; display: block; break-inside: avoid; text-align: left; white-space: normal; background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: rgb(248, 248, 248); position: relative !important; border: 1px solid rgb(231, 234, 237); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding: 8px 4px 6px; margin-bottom: 15px; margin-top: 15px; width: inherit; caret-color: rgb(51, 51, 51); color: rgb(51, 51, 51); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; background-position: inherit inherit; background-repeat: inherit inherit;">- cd /usr/local/eccodes/lib/python2.7

    • 执行命令: sudo cp -R * /usr/local/lib/python2.7/site-packages/

    • cd /usr/local/eccodes/lib/

    • 执行命令: sudo cp *.dylib /usr/local/lib</pre>

    https://software.ecmwf.int/wiki/display/ECC/BUFR+examples http://download.ecmwf.int/test-data/eccodes/html/namespaceec_codes.html

    参考网站

    https://software.ecmwf.int/wiki/display/ECC/ecCodes+installation

    相关文章

      网友评论

        本文标题:MacOS eccodes 安装

        本文链接:https://www.haomeiwen.com/subject/mfvkxrtx.html