linux 安装eccodes环境
有linux的sudo 权限
第一步 在linux安装 gcc 和gfortran的环境
第二步 安装 cmake
第三步 下载 对应的eccodes包
第四步
> tar -xzf eccodes-x.y.z-Source.tar.gz> mkdir build ; cd build> cmake -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes ../eccodes-x.y.z-Source...> make> ctest> make install第五步 添加环境变量
export ECC_PY=/path/to/where/you/install/eccodes/lib64/python2.7/site-packages
export PYTHONPATH=$ECC_PY:$PYTHONPATH
export ECC_BIN=/path/to/install/bin
export PATH=$ECC_BIN:$PATH

浙公网安备 33010602011771号