comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ENVI_INIT_TILE tiling problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: ENVI_INIT_TILE tiling problem [message #65711 is a reply to message #65634] Mon, 16 March 2009 05:47 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> But this now results in the following error, which I don't understand
> and can't find a reference to (including in tri_surf.pro, unless I've
> missed something?). Any ideas?
>
> % Array dimensions must be greater than 0.
> % Error occurred at: TRI_SURF 136 C:\Program Files\ITT
> \IDL64\lib\tri_surf.pro
>
> output_DSM is certainly a 2D array, as I'm able to TVSCL it to view
> the contents.
>
> output_DSM contains lots of holes (value of 0) which I'd like to
> interpolate over using TRI_SURF.

lines 135 and 136 are:
if n_elements(xgrid) eq 2 then begin
x = findgen(nx) * xgrid[1] + xgrid[0]
NX being computed form the Z input (your output_dsm array)


so, the problem is your Z input... double check, just before calling
tri_surf, what is the content and size of output_dsm!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: CATCH error problem
Next Topic: STRING(structure) curiosity

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Nov 28 10:31:55 PST 2025

Total time taken to generate the page: 0.47990 seconds