Any limit to the number of files opened ?

See Hai Ooi axl419 at YAHOO.COM
Tue Sep 12 17:56:47 EDT 2006


Dear Davide Sotil Bertanzetti,

     Thank you.  I shall make an attempt in accordance
with your suggested options in a day or two.

     Best regards.

OOI See-hai


--- Davide Sotil Bertanzetti <davide at CEAM.ES> wrote:

> Ok so I can't help you... or maybe yes.
>
> I don't know if this could be usefull to you, and I
> haven't thought about it
> very much, but, if I were in your case, these are
> the 2 options that I think
> I would investigate in order try to solve this new
> problem:
>
> 1-GRADS script. Make a GRADS script, or modify
> yours, with a loop wich opens
> 2 file at a time (one for the u-wind and one for the
> v-wind) extracting the
> required info for all times and summing it in a
> sum-variable. As you are
> making geographical means, maybe this could be done
> using the "sum"
> function. Then close the files, starting a new loop
> wich open 2 new files,
> and so on, until files are over and the sum-variable
> has all the required
> values for the mean.
>
> 2-Templates. Make a script wich reads the "TDEF"
> value from all the
> descriptors files in order to sum them. Then, the
> same script could
> automatically make the new 2 descriptors file, one
> for the u-wind and one
> for the v-wind.
>
> If you are using Windows, option 2 could not be as
> usefull and easy as they
> could be in a unix/linux environment.
>
> Maybe option 1 is a possibility for you, modifying
> your current script. Maybe.
>
>
> Davide Sotil Bertanzetti.




Send instant messages to your online friends http://uk.messenger.yahoo.com



More information about the gradsusr mailing list