Tante grazie Davide. Finalmente ha funzionato lo script. Ci sono riuscita!! Ho usato proprio il tuo consiglio.<br><br>saluti<br><br>cristina<br><br><div class="gmail_quote">2012/6/18 Davide Sacchetti <span dir="ltr"><<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">the only solution I know is:<br>
<br>
having x,y,z,t fixed:<br>
<br>
'd temp' -> get temp_value from result<br>
'd dewpoint' -> get dewpoint_value from result<br>
...<br>
string=temp_value' 'dewpoint_value' ...<br>
rc=write(asciifile,string,append)<br>
<br>
hoping it helps<br>
bye bye<br>
Davide<br>
<div><div class="h5"><br>
<br>
<br>
On Mon, 2012-06-18 at 10:24 -0300, Cristina wrote:<br>
> Hi All,<br>
><br>
> I am using this script to extract data in ascii:<br>
><br>
> ...<br>
> i=1<br>
> while (i<744)<br>
> 'set t 'i''<br>
> 'set gxout print'<br>
> 'set prnopts %10.2f 17 1'<br>
> 'd 'var''<br>
><br>
><br>
> ascii = result<br>
> asciifile = var.txt<br>
> numbers = sublin(result,2)<br>
> rc=write(asciifile,numbers,append)<br>
> i=i+1<br>
> endwhile<br>
> ...<br>
><br>
> I am interested to export many variables like u10,v10,t2,rh2,swd,rainc etc at a given point in this format:<br>
><br>
> temp dewpoint pressure ... var4<br>
> ...........................................................<br>
> .. .... ......<br>
> .. .... ......<br>
><br>
> For a specified period and specific location (lat lon)<br>
><br>
> Any help greatly appreciated<br>
><br>
><br>
> Regards<br>
><br>
> Cristina<br>
</div></div>> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
--<br>
--> Attenzione cambio indirizzo: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a><br>
--<br>
Davide Sacchetti<br>
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria<br>
ARPAL Unitą Tecnica Complessa di livello Regionale<br>
V.le Brigare Partigiane 2 16121 Genova (I)<br>
tel: +39 010 6437535 fax: +39 010 6437520<br>
mail: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a> web: <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br><br>