dat file does not exit
Davide Sacchetti
davide.sacchetti at ARPAL.ORG
Thu Feb 15 11:39:43 EST 2007
you could use what "open" returns (variable "result", available only in
a script context)
Bye bye
Davide
On Thu, 2007-02-15 at 17:27 +0100, Meredith Croke wrote:
> Hello Everyone,
>
> I am trying to produce a .dat file of 15 days worth of data, each with
> forecast hours out to 384. The problem I am running into is, I am missing a
> few of these files due to server problems, when the script can't find the
> data file I get a segmentation fault and grads closes. Is there a way I can
> write in my script after the open command that if the file does not exist,
> skip and move onto the next forecast hour? I tried creating fake data files
> with nothing in them in the hopes I would get either some kindof text output
> or 9999 in my tab delimited file but I just got an I/O error and the script
> stopped running.
>
> Thanks in advance for your help.
>
> Meredith
--
Sacchetti Davide
ARPAL UO3 Centro Meteo Idrologico Regione Liguria - Dir. Scientifica
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535
mail: davide.sacchetti at arpal.org web: www.meteoliguria.it
More information about the gradsusr
mailing list