comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Message error after 200 iterations using MCTK in IDL

Re: Message error after 200 iterations using MCTK in IDL
type: item
description: laureroupioz writes: > Do you have an idea why the script stops after 200 iterations and how > I can solve this problem? 200 is an odd number. (Well, at least in the sense of it being a curious number.) I would guess a bug in someone's code (and probably not yours), in which a file handler was not being released properly. I think I would take this one straight to ITTVIS. Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.dfanning.com/ Sepore ma de ni thui. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2009-07-15T13:23:00-00:00

Re: Message error after 200 iterations using MCTK in IDL
type: item
description: The latest version of MCTK includes a fix for this issue, which actually relates to a limitation in the underlying HDF library used by MCTK. If you go to the Code Library section of the ITT VIS website and search for "MODIS", you'll find an entry for MCTK that includes a download link. On Jul 15, 9:10 am, laureroupioz <laureroup...@gmail.com> wrote: > Hello, > > I'm using the command convert_modis_data in order to convert and > reproject my MCD43B3*.hdf products. > I have 276 files (6 tiles for every 8 days products), the script runs > well for 200 files and then gives this message error: "unable to > attach to specified grid. Check name against HDF file contents" and > then: "Attempt to call undefined procedure/function: 'EOS_GD_CLOSE'." > Different runs have been performed changing the order of the processed > files in order to exclude the possibility of a problem coming from a > particular dataset. > To avoid a memory problem, each dataset converted and reprojected is > removed immediatly for the ENVI 'avalaible bands list' window. > > Here is an part of the script used: > > convert_modis_data, IN_FILE=grid_file, $ > OUT_PATH=pathout, OUT_ROOT=output_rootname, $ > /higher_product, /grid, SD_NAMES=sd_names, GD_NAME = grid_name, $ > OUT_METHOD=out_method, OUT_PROJ=output_projection, $ > NUM_X_PTS=50, NUM_Y_PTS=50, INTERP_METHOD=interpolation_method, $ > BACKGROUND=-10, FILL_REPLACE_VALUE=-10, OUT_PS_X=1000., $ > OUT_PS_Y=1000., R_FID_ARRAY=envi_fids, R_FNAME_ARRAY=fnames > > ; use to remove from the 'available bands list' of ENVI > FOR i=0 > ENVI_FILE_MNG, ID=envi_fids, /REMOVE > > Do you have an idea why the script stops after 200 iterations and how > I can solve this problem? > Thank you for your help. > > Laure.
creator: devin.white
date: 2009-07-15T13:25:01-00:00

Re: Message error after 200 iterations using MCTK in IDL
type: item
description: Hello David and Devin, Thank you for your answers, I will have a look to the new version. Cheers. Laure.
creator: laureroupioz
date: 2009-07-16T08:52:28-00:00