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
ENVI_INIT_TILE tiling problem [message #65634] Sat, 14 March 2009 06:10 Go to previous message
a.l.j.ford is currently offline  a.l.j.ford
Messages: 7
Registered: March 2009
Junior Member
I'm using interpolation to fill some holes in elevation data. Because
of memory limitations I'm trying Envi's tiling capability for the
first time! My code compiles OK, but when I run it (I have it embedded
in an Envi User Function) I get this error in my IDL window:

% Variable is undefined: F_NS.
% Execution halted at: ENVI_INIT_TILE

Here is the offending section of code. I have no idea where F_NS is
(I'd understand if it was simply NS, i.e. number of samples) and
despite searching I cannot deduce what is wrong or how to fix it. Does
anyone have any ideas?? BTW, the elevation data has a single band and
my_pos is set to [0].

tile_id=ENVI_INIT_TILE(output_DSM, my_pos)
FOR i=0, num_tiles-1 DO BEGIN
tile_data_interp=ENVI_GET_TILE(tile_id, i)

;Processing within Tiling

tile_data_interp = REPLICATE(0.0, dims[2], dims[4])
tile_data_interp = TRI_SURF(output_DSM, /REGULAR, XGRID=[1, 1],
YGRID=[1, 1], NX=dims[2], NY=dims[4])

; Close Tiling

ENDFOR
ENVI_TILE_DONE, tile_id
[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 Oct 10 06:18:06 PDT 2025

Total time taken to generate the page: 0.96196 seconds