- 积分
- 30173
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-6-20
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
按照wlzhongouc所说,第一步生成read_netcdf.f90后,第2步中每个变量会有以下一段程序代码(以相对湿度为例)
status = nf_inq_var(ncid, 22,dummy,xtype,ndim,dimids,natts)
if ( status /= nf_noerr ) write (*,*) nf_strerror(status)
do j = 1,ndim
status = nf_inq_dim(ncid,dimids(j),dummy,len)
if ( status /= nf_noerr ) write (*,*) nf_strerror(status)
start(j) = 1 ; count(j) = len
enddo
status = nf_get_vara_real(ncid, 22,start,count,RH)
请教wlzhongouc及各位高手们这段的作用是什么,注解说是提取数据,但是我没看明白怎么个提取
还有如果我想把RH这个量单独提取出来,并转换成二进制文件,在程序最后应该如何写代码 |
|