Any limit to the number of files opened ?

See Hai Ooi axl419 at YAHOO.COM
Wed Sep 13 09:28:05 EDT 2006


Dear Davide Sotil Bertanzetti,

     I notice that using a single data descriptor file
to aggregate multiple data files and handle them as if
they were one individual file could not meet my
objective.  I therefore modified my script to
accommodate two 10-year data subsets in order to
successfully generate the output I required (see the
attach). I also notice that there is a limit to the
total number of files to be opened.  It is 32.
Perhaps GrADS developer can confirm that.

     Finally, I wish to thank you again for your kind
guidance.

     Best regards.

Sincerely,

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o_pentad23.gmf
Type: application/octet-stream
Size: 99032 bytes
Desc: 3436215285-o_pentad23.gmf
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20060913/fbef94f7/attachment.obj 


More information about the gradsusr mailing list