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.
文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。
转载请注明本文地址:https://www.ucloud.cn/yun/45258.html
摘要:,,群 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 ...
摘要:確切位置因平台而異。如果以編程方式使用,這個頁面也是一個強大的調試工具,能看到所有原始的協議命令通過連線,於瀏覽器進行通信。警告協議可以做很多有趣的事,但作為入門選項他令人沮喪。目前,提供了比協議高級別的。 本文翻譯自:Getting Started with Headless Chrome原文更新時間:July 28,2017作者:Eric Bidelman(Engineer @ G...
阅读 2040·2023-04-26 02:19
阅读 1795·2021-11-19 09:40
阅读 1639·2021-09-29 09:35
阅读 3460·2021-09-29 09:34
阅读 4161·2021-09-07 10:16
阅读 5410·2021-08-11 11:14
阅读 3505·2019-08-30 15:54
阅读 1553·2019-08-30 15:53