Message error after 200 iterations using MCTK in IDL [message #67354] |
Wed, 15 July 2009 06:10 |
laureroupioz
Messages: 6 Registered: July 2009
|
Junior Member |
|
|
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.
|
|
|