<p>We have some data in a netcdf file (u velocity, v velocity, geopetential,ect) to some dates and some points of a grid.<br>Now, we extract each variable in a file with following script:<br>For example to extract the temperature:<br>
 <br>&#39;reinit&#39;<br>&#39;sdfopen ereda&#39;<br>&#39;set lat 41&#39;<br>&#39;set lon 359&#39;<br>&#39;set lev 1&#39;<br>to = 1<br>* Write the variable to a file<br>*&#39;set gxout vector&#39;<br>*&#39;set fwrite z:\dummy.dat&#39;<br>
while (to&lt;5)<br>&#39;set t &#39;to<br>&#39;d t&#39;<br>rrc = write(&#39;c:\prueba_c\pruebas_archivo_ecmwf\ereda_ecmwf_t.txt&#39;,result)<br>to = to + 1<br>endwhile</p>
<div>We&#39;d like to extract all variables in a same file and the variables are in differents columns. </div>
<div>Are there any script to do this?<br clear="all"></div>
<div></div><br>-- <br>Javier Peña Álvarez<br>Energías Renovables<br><a href="mailto:javier.p@ereda.com" target="_blank">javier.p@ereda.com</a><br>EREDA<br><br>                           Tel:  +34 91 5014755<br>                           Fax: +34 91 5014756<br>
                 c/ Téllez 26, 28007 MADRID<br>                                   <a href="http://www.ereda.com/" target="_blank">www.ereda.com</a><br>