comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » error handling
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: error handling [message #63440 is a reply to message #1347] Mon, 10 November 2008 11:42 Go to previous messageGo to previous message
bulrushmower is currently offline  bulrushmower
Messages: 19
Registered: February 2008
Junior Member
On Nov 10, 1:06 pm, bulrushmo...@gmail.com wrote:
> On Nov 10, 12:12 pm, David Fanning <n...@dfanning.com> wrote:
>
>
>
>
>
>> bulrushmo...@gmail.com writes:
>>> Here is my source code. I am using MCTK tool to convert MODIS HDF
>>> data. The data processing is just converting the projection. It always
>>> runst for nearly a hundred data, then stops, saying 'can not attach
>>> the grid file...etc'. I would like to have the code right down the
>>> error in the log file, and then continue the loop for the next data.
>
>> Well, if this code runs for "nearly a hundred times",
>> and as you appear to be opening a logical unit number
>> with your ENVI_BATCH_INIT command, but not closing it--
>> I would say you are probably just running out of logical
>> unit numbers, since there are only "about 100" available.
>
>> I'm not sure CATCH error handling will help in this
>> case. Any chance you can close the logical unit
>> number ENVI opens?
>
>> Cheers,
>
>> David
>
>> --
>> David Fanning, Ph.D.
>> Coyote's Guide to IDL Programming (www.dfanning.com)
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> It happened when even I did not set up that Envi_batch_unit, and write
> a log file.
> Is the code about error handling is in right track? Am I missing
> something?
>
> Thanks- Hide quoted text -
>
> - Show quoted text -

Indeed, I tried to process the data 125 each time. It works fine, no
any error reported. Original processings was stopped at almost after
processing 206 data. So, there is something the logical unit of the
data. But, I could not figure out what is that.

thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot: idl_guide4 UK_NCAS-Meteo-Library
Next Topic: Re: Empty arrays?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 08:58:58 PDT 2025

Total time taken to generate the page: 1.39505 seconds