Greetings,
I wrote an IDL procedure which utilizes the MODIS Conversion Toolkit. The procedure works perfectly from an IDL command line. However, I have been unable to run it using Python. The procedure, which I named "modislstout.pro", uses three arguments for the input file path, input filename, and output directory. In Python I do the following:
>>> import envipy
>>> envipy.RunTool('modislstout','I:\\Data\\ET\\Files\\MODIS\\167','MOD11_L2.A2011167.0000.005.NRT.hdf','I:\\Data\\ET\\Files\\MODIS\\167\\test\\')
The only output I get is "0", and the files that normally would be generated using modislstout.pro are not generated. I have tried compiling the PRO file to a SAV file, and placing said SAV file in the save_add directory, but that hasn't helped either.
Any idea what I doing wrong?
Sincerely,
Guy Serbin
|