thanks everyone,<br>i think with the write commnad i can do what i need. The only problem is that i do not hav much control on where to append the new data. For example if i write<br>write(txtfile,variable,append)<br>everytime i call to this function it will append a new value just below the old one i.e. columns, and i would like to fill the file in rows. Does anyone know how to control this??<br>
Thanks in advance<br>Gonzalo<br><br><div class="gmail_quote">El 19 de junio de 2009 00:14, Rafael Mundaray <span dir="ltr">&lt;<a href="mailto:remm69@gmail.com">remm69@gmail.com</a>&gt;</span> escribió:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey Gonzalo try with this... I made this some years old... And I have several modifications of its...<br>But this is the original that I made...<br>You can use it to obtain a txt file with all data in all grid points in your model file...<br>

<br>----------------------<br>Por tu nombre creo que hablas español aquí te escribo lo de arriba en español pero mejor explicado...<br>El archivo abre el .ctl de grads que estes usando... Esa línea debes modificarla, al igual que el nombre del archivo que vas a crear, también las rutas obviamente... Y debes cambiar el nombre de la variable donde pongo display...<br>

Prueba y cualquier cosa me dices...<br><font color="#888888">-- <br>Ing. Rafael E. Mundaray M.<br>
</font></blockquote></div><br>