ncl基础

netCDF 格式

读取

ncdump file_name | less
ncdump -h file_name | less == ncl_filedump
ncdump -v

ncl

ncl_filedump

parts of netCDF

dimension size
lat=fixed
lon=fixed
time=12(有unlimited)
file attributes
variables(names,type ,attributes)

coordinate variables

float lat(lat)
long_name =“latitude”
units=“degrees_north”(ncl需要这个来画图)
— degrees_east
— Month of Year

Variables(Time ,lat,lon)

long_name
units
missing_value
FillValue(缺测值,遇到这个值不作任何处理,不显示,不做计算)
画 图 不 全 需 要 补 全 画图不全需要补全

读取属性和坐标

values
@attributes
&coordinates

ncl 0> nf=addfile(“wrfout_d01_2016-09-07_03:00:00”,“r”) ;create:“c”
ncl 1> print(nf)
ncl 2> mu=nf->MU
ncl 3> print(mu@unit)
ncl 4> print(mu&XLAT)
ncl 5> printVarSummary(var) ;overview of variable

wrf

dimensions:
south_north
west_east
需要转换

其他格式

grib 二进制 requires external parameter tables
hdf
HDF-EOS

ncl对数据的处理

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值