成人国产在线小视频_日韩寡妇人妻调教在线播放_色成人www永久在线观看_2018国产精品久久_亚洲欧美高清在线30p_亚洲少妇综合一区_黄色在线播放国产_亚洲另类技巧小说校园_国产主播xx日韩_a级毛片在线免费

資訊專欄INFORMATION COLUMN

How to enable JPG feature in ecCodes on MacOS

sumory / 1110人閱讀

Grid point fields in some grib files are encoded into the JPEG 2000 code. To process these fields with eccodes, you need to enable the JPG feature. On MacOS, there are some details should be showed.

According to the wiki page about ecCodes installation, ecCodes uses CMake for compilation and installation. If you wish to enable JPG feature of ecCodes, you are advised to configure the build with:

cmake -DENABLE_JPG=ON ...

This option of cmake should look for Jasper or OpenJPG. Install openjpeg package with Homebrew for MacOS:

brew install openjpeg

openjpeg has been installed at /usr/local/Cellar/openjpeg/2.3.1.

Then we need to make cmake recognize the installed openjpeg.

cmake -DENABLE_JPG=ON -DOPENJPEG_INCLUDE_DIR=/usr/local/Cellar/openjpeg/2.3.1/include/openjpeg-2.3

In the printed debug information, you will see:

-- The following OPTIONAL packages have been found:

 * Git
 * HDF5
 * NumPy
 * CMath
 * JPEG
 * OpenJPEG

You have enabled JPG feature successfully.

文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請注明本文地址:http://systransis.cn/yun/45258.html

相關(guān)文章

  • Hack一部Android手機(jī)只需要5分鐘?

    摘要:,,群 Assassin-Trojan---Hack Others’ Android Devices Within 5mins showImg(https://segmentfault.com/img/remote/1460000018924873); hack the android device with only one instruction on your terminal ...

    gggggggbong 評論0 收藏0
  • 【譯】Headless Chrome 入門指南

    摘要:確切位置因平臺(tái)而異。如果以編程方式使用,這個(gè)頁面也是一個(gè)強(qiáng)大的調(diào)試工具,能看到所有原始的協(xié)議命令通過連線,於瀏覽器進(jìn)行通信。警告協(xié)議可以做很多有趣的事,但作為入門選項(xiàng)他令人沮喪。目前,提供了比協(xié)議高級別的。 本文翻譯自:Getting Started with Headless Chrome原文更新時(shí)間:July 28,2017作者:Eric Bidelman(Engineer @ G...

    toddmark 評論0 收藏0

發(fā)表評論

0條評論

最新活動(dòng)
閱讀需要支付1元查看
<