永发信息网

Linux下无root权限安装netcdf

答案:1  悬赏:80  手机版
解决时间 2021-03-26 20:43
  • 提问者网友:姑娘长的好罪过
  • 2021-03-26 02:55
Linux下无root权限安装netcdf
最佳答案
  • 五星知识达人网友:上分大魔王
  • 2021-03-26 04:33
1:在网上找到各种版本的安装包(下面有附件)
2:解压,然后打开解压后的文件夹 在这个目录下面打开终端
3:./configure --prefix=/home/t../software(这个路径就是你想把你的netcdf安装的位置)
4:sudo apt install netcdf-bin

5:输入密码
6:测试 在终端输入ncdump
ncdump [-c|-h] [-v ...] [[-b|-f] [c|f]] [-l len] [-n name] [-p n[,n]] [-k] [-x] [-s] [-t|-i] [-g ...] [-w] file
[-c] Coordinate variable data and header information
[-h] Header information only, no data
[-v var1[,...]] Data for variable(s) ,... only
[-b [c|f]] Brief annotations for C or Fortran indices in data
[-f [c|f]] Full annotations for C or Fortran indices in data
[-l len] Line length maximum in data section (default 80)
[-n name] Name for netCDF (default derived from file name)
[-p n[,n]] Display floating-point values with less precision
[-k] Output kind of netCDF file
[-s] Output special (virtual) attributes
[-t] Output time data as date-time strings
[-i] Output time data as date-time strings with ISO-8601 'T' separator
[-g grp1[,...]] Data and metadata for group(s) ,... only
[-w] With client-side caching of variables for DAP URLs
[-x] Output XML (NcML) instead of CDL
file Name of netCDF file (or URL if DAP access enabled)
netcdf library version 4.4.0 of Mar 29 2016 11:41:40 $

出现下列就说明成功了
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯