Dear Vijay,<br><br>I&#39;m not familiar with ctl files, anyway you can generate a ctl file to open several files at the same time with the dset %d2%mc%y2 ... instruction  . When you want to open it (the ctl file) you just need to use the &#39;open&#39; instruction. As for me when I&#39;m not working with several files I use xconv to convert every  one of them to grib format that generates automatically a ctl file.<br>
<br>Regards<br>Luis<br><br><div class="gmail_quote">On Fri, Apr 15, 2011 at 7:22 AM, vijay pawar <span dir="ltr">&lt;<a href="mailto:vijay.pawar87@gmail.com">vijay.pawar87@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have prepared a ctl file <div><br></div><div><div>dset E:\2Months\sst\1991\apr\<a href="http://avhrr-only-v2.19910401.nc" target="_blank">avhrr-only-v2.19910401.nc</a></div><div>title Daily-OI-V2, final, Data (Ship, Buoy, AVHRR, GSFC-ice)</div>

<div>undef -9.96921e+36</div><div>xdef 1440 linear 0.125 0.25</div><div>ydef 720 linear -89.875 0.25</div><div>zdef 1 linear 0 1</div><div>tdef 1 linear 00Z01APR1991 1mn</div><div>vars 4</div><div>sst 1 -999 Daily sea surface temperature</div>

<div>anom 1 -999 Daily sea surface temperature anomalies</div><div>err 1 -999 Estimated error standard deviation of analysed_sst</div><div>ice 1 -999 Sea ice concentration</div><div>end vars</div></div><div><br></div><div>

when i open it with xdfopen comman i get the following error</div><div><br></div><div><br></div><div><div>Scanning Descriptor File:  E:\2Months\sst\1991\apr\01apr.ctl.txt</div><div>XDFopen Error:  Missing or invalid dimension size.</div>

<div>  --&gt; The invalid description file record is:</div><div>  --&gt; xdef 1440 linear 0.125 0.25</div><div>  The data file was not opened.</div></div><div><br></div><div>*AND when i add the line dtype netcdf i get an error</div>

<div><div>Scanning Descriptor File:  E:\2Months\sst\1991\apr\01apr.ctl.txt</div><div>XDFOpen Error:  Unknown keyword in description file</div><div>  --&gt; The invalid description file record is:</div><div>  --&gt; dtype netcdf</div>

<div>  The data file was not opened.</div></div><div><br></div><div>*And when I use open comman i get d following error</div><div><div>Scanning description file:  E:\2Months\sst\1991\apr\01apr.ctl.txt</div><div>Open Error:  Invalid variable record</div>

<div>  --&gt; The invalid description file record is:</div><div>  --&gt; sst 1 -999 Daily sea surface temperature</div></div><div><br></div><div>do we have to create the control file for every nc file or if we create just one ctl file by using wild cards eg dset %d2%mc%y2 ......and save it in the directory will it work?If yes which command should be used to open it.please help</div>

<div><br></div><div>Thank you</div><div>Vijay</div><font color="#888888"><div><br></div><div><br></div>
</font><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>
<br></blockquote></div><br>