Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
HALLO: I wanted to interpolate the irregularly data (satellite data) to regularly_gridded data,and used TRIANGULATE and TRIGRID function ,but after run the .pro ,there was a problem: Attempt to store into an expression: <FLOAT Array[912]>. Execution halted at: HALOE_TRIGRID 176 E:\haloe\haloe_trigrid.pro $MAIN$ MY CODE: fidr=ncdf_open('h:\haloe\HALOE_Version19_sr_2004_03.nc') varid=ncdf_varid(fidr,'latitude') ncdf_varget,fidr,varid,lat varid=ncdf_varid(fidr,'longitude') ncdf_varget,fidr,varid,lon varid= ncdf_varid(fidr,'theta') ncdf_varget,fidr,varid,theta ncdf_close,fidr index_theta=where(theta[0,*] ne 1.00000e+024) TRIANGULATE, lon[0,index_theta], lat[0,index_theta], Tri,sphere=s,fvalue=f,/degrees grid_data = trigrid(f,[2.5,2.5],[0,-80,357.5,80],sphere=s,/degrees) . . . What's the problem? Please help me! thanks!