<div dir="ltr">Hi, Thank you for walking me through the process. the folder 1981 exists, but the files were renamed to mld19810101.gpv by an external script. I tried to change the data file to mld19810101.gpv in an attempt to open the first file and it gives me a warning message:<br>

<br>ga-&gt; open mld.ctl<br>Scanning description file:  mld.ctl<br>Warning: OPTIONS keyword &quot;template&quot; is used, but the <br>   DSET entry contains no substitution templates.<br>Data file mld19810101.gpv is open as file 1<br>

LON set to 99.5 285 <br>LAT set to -15.5 65 <br>LEV set to 0.5 0.5 <br>Time values set: 1981:1:1:0 1981:1:1:0 <br>E set to 1 1<br><br>Is it possible to create .ctl file corresponding to each datafile? I also tried to do &quot;d mld&quot; and gives me a message <br>

Contouring: 50 to 450 interval 50. However, data were not displayed. Thanks much.<br><br><br><br><div class="gmail_quote">On Tue, Jul 31, 2012 at 1:09 PM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Your control file has time templated.  The time index defaults to 1 when you first open the control file.  So check if the file 1981/mld.19810101_0000 exists.  I guessed the name of this file based off of the DSET entry in the control file (which tells Grads where to look for the data files) and the TDEF entry.  Since the path I just mentioned seems relative, make sure you run Grads from the directory that contains these files.  Otherwise the control file will not find the data and you&#39;ll get that error.  So check on that first.<span class="HOEnZb"><font color="#888888"><div>


<br></div></font></span><div><span class="HOEnZb"><font color="#888888">Jeff</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 11:03 PM, irene alabia <span dir="ltr">&lt;<a href="mailto:irenealabia@gmail.com" target="_blank">irenealabia@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">When  i run the open mld.ctl, I get the following lines:<div><br><br>ga-&gt; open mld.ctl <br>
Scanning description file:  mld.ctl<br>Data file %y4/mld.%y4%m2%d2_%h2%n2 is open as file 1<br>LON set to 99.5 285 <br>

LAT set to -15.5 65 <br>LEV set to 0.5 0.5 <br>Time values set: 1981:1:1:0 1981:1:1:0 <br>E set to 1 1 <br><br></div>and running the d mld gives an error msg.<br>ga-&gt; d mld  <br>Cannot contour grid - all undefined values <br>


<span><font color="#888888">

<br>Irene</font></span><div><div><br><br><div class="gmail_quote">On Tue, Jul 31, 2012 at 12:46 PM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

What happens when you run the commands<div>&#39;open mld.ctl&#39;</div><div>&#39;d mld&#39;</div><div>Any error messages?  Do the data display?</div><span><font color="#888888"><div><br></div></font></span><div>

<span><font color="#888888">Jeff</font></span><div><div><br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 10:36 PM, irene alabia <span dir="ltr">&lt;<a href="mailto:irenealabia@gmail.com" target="_blank">irenealabia@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><br>Thank you for the quick reply. Attached is the entire control file.<br><br>Thanks much<div><div>





<br><br><div class="gmail_quote">On Tue, Jul 31, 2012 at 12:13 PM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please show the entire control file.<div><br></div><div>Jeff Duda<br><br><div class="gmail_quote"><div><div>

On Mon, Jul 30, 2012 at 10:04 PM, irene alabia <span dir="ltr">&lt;<a href="mailto:irenealabia@gmail.com" target="_blank">irenealabia@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Dear Grads-users,<br><br>I am working with data files which I believed are created using Fortran code. I am new to Grads and I tried the basic commands  to explore the data files but cant get past the opening phase. the file has a control file which looks like this:<br>










<br>ga-&gt; open mld.ctl <br>Scanning description file:  mld.ctl<br>Data file %y4/mld.%y4%m2%d2_%h2%n2 is open as file 1<br>LON set to 99.5 285 <br>LAT set to -15.5 65 <br>LEV set to 0.5 0.5 <br>Time values set: 1981:1:1:0 1981:1:1:0 <br>










E set to 1 1 <br><br>ga-&gt; q file<br>File 1 : Mixed layer depth (delta_sigma = 0.05)<br>  Descriptor: mld.ctl<br>  Binary: %y4/mld.%y4%m2%d2_%h2%n2<br>  Type = Gridded<br>  Xsize = 372  Ysize = 162  Zsize = 54  Tsize = 1080  Esize = 1<br>










  Number of Variables = 2<br>     mld  1  99  Mixed layer depth (unit in m ; d_sigma=0.05)<br>     rsig  1  99  Surface density<br><br> Any help to read and save the files for each Zlevels is very much appreciated. Thanks in advance.<br>










<br>Best regards,<br>Irene<br></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>







<br>
</font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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><br clear="all"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>
</div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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><br clear="all"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>
</div></div></div>
<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></div>