爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3756|回复: 1

[求助] IDL读取数据时的问题

[复制链接]
发表于 2013-11-15 22:41:12 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
用以下程序读取cloudsat数据时,读取2个量RVOD_ice_num_conc_uncertainty和Longitude,但老是提示
% Execution halted at: READ_CS_2B_CPR     36 D:\idl\2\read_CS_2B_CPR.pro

%                      $MAIN$        
是什么原因呢?请各位大神多多指教

pro read_CS_2B_CPR
lon=fltarr(37081)
lat=fltarr(37081)
Ns=intarr(37081)
r0=fltarr(37081)
bs=239.83
;RayHeader_RangeBinSize
Pt0=1814.9043
;Averaged transmit power,W
C=fltarr(37081)
Pr=fltarr(125,37081)
Z=fltarr(125,37081)
H=fltarr(125,37081)

hdfid=hdf_sd_start('d:\idl\2\2008116040946_10599_CS_2B-CWC-RVOD_GRANULE_P_R04_E02.hdf')

index_rvo=hdf_sd_nametoindex(hdfid,'RVOD_ice_num_conc_uncertainty')
index_lon=hdf_sd_nametoindex(hdfid,'Longitude')
varid_rvo=hdf_sd_select(hdfid,index_rvo)
varid_lon=hdf_sd_select(hdfid,index_lon)
hdf_sd_getdata,varid_rvo,Pr,start=[0,0],count=[125,37081],stride=[1,1]
hdf_sd_getdata,varid_lon,lon,start=[0,0],count=[125,37081],stride=[1,1]
hdf_sd_endaccess,varid_rvo
hdf_sd_endaccess,varid_lon

hdf_sd_end,hdfid
hdf_close,fid

end

密码修改失败请联系微信:mofangbao
发表于 2015-9-28 22:32:10 | 显示全部楼层
你好,你的问题解决了吗,我刚刚学习IDL,望能与您互相学习
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表