<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi grads users<br>I want to extract the dta from the .nc files using the extraction.gs srcipt.here are some of my codes<br>reinit'<br>'sdfopen c:\fortran1\evws_200-850.nc<br>*************************************************<br>filename='h:\data_predevws\TC4JanA1_EATO.txt'<br>'set gxout print'<br>'set prnopts %6.1f 5 2'<br>n=361<br>while (n&lt;=770)<br>'set t ' n<br>'d aave(olr,lon=-40,lon=-30,lat=-10,lat=-4)'<br>res=sublin(result,2)<br>rc=write(filename,res)<br>n=n+12<br>endwhile<br>************************************<br>filename='h:\data_predevws\TC4JanA2_MEDS.txt'<br>'set gxout print'<br>'set prnopts %6.1f 5 2'<br>n=361<br>while (n &lt;=770)<br>'set t 'n<br>'d aave(olr,lon=50,lon=60,lat=38,lat=42)'<br>res=sublin(result,2)<br>rc=write(filename,res)<br>n=n+12<br>endwhile<br>*******************************<br>rc=write(filename,' ')<br>rc=close(filename)<br>When
 I run the script I get the error that no file open <br>metardata can not be read<br><br>Is their any one with a surgession on how to go through this extraction process?<br>when I use the .cdf file the scrip works efficiently so how can I chnage the .nc to .cdf<br>regards<br>kaikombo<br><br><br></td></tr></table>