X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Jul 2007 07:08 AM by  anon
Mosaic__doit: Error: 'An attempt to subscrip UST with K is out of range'
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
19 Jul 2007 07:08 AM
    Hi, I have just started using ENVI and upon trying to mosaic two images I get the error mentioned in the subject. Any idea which part of the mosaic_doit command could cause this? The relavent code is: ENVI_FILE_QUERY, r_fid_AL_BH_N, ns=nafr_ns, nl=nafr_nl ENVI_FILE_QUERY, r_fid_AL_BH_S, ns=safr_ns, nl=safr_nl mosfids=[r_fid_AL_BH_N,r_fid_AL_BH_S] dims = [[-1,0,nafr_ns-1,0,nafr_nl-1],[-1,0,safr_ns-1,0,safr_nl-1]] pos=[[0],[0]] envi_doit, 'mosaic_doit', fid=mosfids, pos=[[0],[0]], dims=dims, /in_memory, r_fid = r_fid_mos,xsize=totns, $ ysize=totnl, x0=x0m, y0=y0m, georef=0, out_dt=2, pixel_size=[1,1], background=255, use_see_through=0 Best regards, Simon.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    19 Jul 2007 07:08 AM
    Hello Simon, You will need to specify a see-through value for every band being processed. From the ENVI online help: The number of elements in the USE_SEE_THROUGH array is equal to the number of input files specified by FID Also be sure to specify the SEE_THROUGH_VAL. -mm

    Deleted User



    New Member


    Posts:
    New Member


    --
    19 Jul 2007 07:08 AM
    Hi, I have just started using ENVI and upon trying to mosaic two images I get the error mentioned in the subject. Any idea which part of the mosaic_doit command could cause this? The relavent code is: ENVI_FILE_QUERY, r_fid_AL_BH_N, ns=nafr_ns, nl=nafr_nl ENVI_FILE_QUERY, r_fid_AL_BH_S, ns=safr_ns, nl=safr_nl mosfids=[r_fid_AL_BH_N,r_fid_AL_BH_S] dims = [[-1,0,nafr_ns-1,0,nafr_nl-1],[-1,0,safr_ns-1,0,safr_nl-1]] pos=[[0],[0]] envi_doit, 'mosaic_doit', fid=mosfids, pos=[[0],[0]], dims=dims, /in_memory, r_fid = r_fid_mos,xsize=totns, $ ysize=totnl, x0=x0m, y0=y0m, georef=0, out_dt=2, pixel_size=[1,1], background=255, use_see_through=0 Best regards, Simon.
    You are not authorized to post a reply.