<div dir="ltr"><div><div>Dear Hoop,<br></div>Thank you very much for your reply. I tried it for 2 files after saving <a href="http://sdfopent.gs" target="_blank">sdfopent.gs</a> in my scripts directory. But getting the following error.<br><br><br></div><div>My data directory: /home/data/pre/1995/01/</div><div>Number of Times: 2 (<a href="http://pre_1995_01_01.nc" target="_blank">pre_1995_01_01.nc</a> and <a href="http://pre_1995_01_02.nc" target="_blank">pre_1995_01_02.nc</a>)<br></div><div>(Kindly Note: each file has only one time data, so I changed the deltahr = 1 in the <a href="http://sdfopent.gs" target="_blank">sdfopent.gs</a> script at line 150)<br><br></div><div></div><div>Now I used the following command and got the subquent messages.<br></div><div><br>ga-> sdfopent /home/data/pre/1995/01/ <a href="http://pre_1995_01_01.nc" target="_blank">pre_1995_01_01.nc</a> pre_1995_01_%<a href="http://h2.nc" target="_blank">h2.nc</a> 2<br></div><div>Defaulting optional DDF arg to out.ddf<br>yr1=1995.<br>netCDFfile= /home/data/pre/1995/01/ <a href="http://pre_1995_01_01.nc" target="_blank">pre_1995_01_01.nc</a><br>Template= pre_1995_01_%<a href="http://h2.nc" target="_blank">h2.nc</a><br>NumTimes= 2<br>Time1= 00Z01JAN1995<br>Tstep= 1hr<br>DDF= out.ddf<br>gadsdf: Time dimension time is not an SDF dimension.<br>SDF Descriptor file out.ddf was not successfully opened & parsed.<br>Scanning Descriptor File: out.ddf<br>gadsdf: Time dimension time is not an SDF dimension.<br>SDF Descriptor file out.ddf was not successfully opened & parsed.<br><br>SET Error: No files open yet<br>SET Error: No files open yet<br><br></div><div>I must be doing some mistake, can anybody please help me to sort this problem. Thank you so much.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 April 2016 at 02:23, Hoop <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','hoop@colorado.edu');" target="_blank">hoop@colorado.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mano,<br>
<br>
The standard script library:<br>
<br>
<a href="http://cola.gmu.edu/grads/gadoc/library.html" rel="noreferrer" target="_blank">http://cola.gmu.edu/grads/gadoc/library.html</a><br>
<br>
includes the script <a href="http://sdfopent.gs" rel="noreferrer" target="_blank">sdfopent.gs</a>. It takes two additional<br>
arguments beyond the one for sdfopen. The second argument<br>
is a template, like "pre_%y4_%m2_%<a href="http://d2.nc" rel="noreferrer" target="_blank">d2.nc</a>", and the third is<br>
a count of time steps in the entire series. The first argument<br>
would be the first path in the time series. See:<br>
<br>
<a href="ftp://cola.gmu.edu/grads/scripts/sdfopent.gs" rel="noreferrer" target="_blank">ftp://cola.gmu.edu/grads/scripts/sdfopent.gs</a><br>
<br>
-Hoop<br>
<br>
On 04/04/16 10:00, <a href="javascript:_e(%7B%7D,'cvml','gradsusr-request@gradsusr.org');" target="_blank">gradsusr-request@gradsusr.org</a> wrote:<br>
> Date: Mon, 4 Apr 2016 18:27:49 +0900<br>
> From: lpasmanoranjan <<a href="javascript:_e(%7B%7D,'cvml','lpasmanoranjan@gmail.com');" target="_blank">lpasmanoranjan@gmail.com</a>><br>
> Subject: [gradsusr] How to use template option for .nc file (there is<br>
> no .ctl file)<br>
> To: GrADS Users Forum <<a href="javascript:_e(%7B%7D,'cvml','gradsusr@gradsusr.org');" target="_blank">gradsusr@gradsusr.org</a>><br>
><br>
> Dear Users,<br>
> I am having a problem in viewing the following dataset as template option.<br>
> I have hourly dataset in .nc as following:<br>
><br>
> 1995/01/<a href="http://pre_1995_01_01.nc" rel="noreferrer" target="_blank">pre_1995_01_01.nc</a><br>
> 1995/01/<a href="http://pre_1995_01_02.nc" rel="noreferrer" target="_blank">pre_1995_01_02.nc</a><br>
> 1995/01/<a href="http://pre_1995_01_03.nc" rel="noreferrer" target="_blank">pre_1995_01_03.nc</a><br>
> 1995/01/<a href="http://pre_1995_01_04.nc" rel="noreferrer" target="_blank">pre_1995_01_04.nc</a><br>
> 1995/01/<a href="http://pre_1995_01_05.nc" rel="noreferrer" target="_blank">pre_1995_01_05.nc</a><br>
> 1995/01/<a href="http://pre_1995_01_06.nc" rel="noreferrer" target="_blank">pre_1995_01_06.nc</a><br>
> and so on for 10 years<br>
><br>
> *All individual datasets can be viewed in grads with sdfopen command*<br>
><br>
> Can anybody please help me how to use template option.<br>
><br>
> Thank you for any kind of help or suggestion in this regard.<br>
><br>
> Kind Regards<br>
> Mano<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','gradsusr@gradsusr.org');" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br><br></div></div>
<br><br>-- <br><div dir="ltr"><div>Kind Regards,<br></div>Mano<br></div><br>