<div dir="ltr">Jim,<div><br></div><div>Before I posted the query, I have tried all that sorts of things. My understanding is that GrADS likes 'slashes' but accepts 'backslashes' as well. </div><div><br></div><div>It is reporting the ERROR before scanning the descriptor file. I think the ERROR has something got to do with '<b><i>gadxdf</i></b>', whatever it is.</div><div><br></div><div>-rupak</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 9, 2016 at 12:35 AM, James T. Potemra <span dir="ltr"><<a href="mailto:jimp@hawaii.edu" target="_blank">jimp@hawaii.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Rupak,</p>
Looks like you are specifying the path incorrectly. In the
hiaware.ctl file you have<br>
c:\climatedata\hiaware\... (PC format)<br>
but in your script you use (or imply) a UNIX format
(c:/climatedata/hiaware/...)<br>
<br>
Jim<div><div class="h5"><br>
<br>
<div>On 6/8/16 5:07 AM, Rupak Rajbhandari
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I have a 'nc' file which demanded description file due to
365_day_calender. I wrote a .ctl file and I could open the
file (xdfopen). I could dispaly, write, etc. Fine!</div>
<div><br>
</div>
<div>But when I tried to open the same file from a script, it
refuses to open.</div>
<div>It is reporting error before scanning the file.</div>
<div><br>
</div>
<div>Am I missing something?</div>
<div><br>
</div>
<div>I am using OpenGrADS 2.1</div>
<div>-rupak</div>
<div><br>
</div>
<div>GrADS error</div>
<div><br>
</div>
<div><i>gadxdf: Can't open description</i></div>
<div><i>Scanning Descriptor File:
c:/climatedata/hiaware/nc/hiaware.ctl</i></div>
<div><i>gadxdf: Can't open description file</i></div>
<div><br>
</div>
<div>Descriptor File</div>
<div><br>
</div>
<div>
<div><i>DSET
C:\climatedata\hiware\nc\HIAWARE_IGBtotal_eref_1981.nc</i></div>
<div><i>TITLE This is only a test</i></div>
<div><i>OPTIONS 365_day_calendar yrev</i></div>
<div><i>UNDEF -9999.</i></div>
<div><i>XDEF longitude 190 LINEAR 19.5857 0.0972</i></div>
<div><i>YDEF latitude 320 LINEAR 63.9894 0.1112</i></div>
<div><i>*ZDEF 1 LINEAR 1 1</i></div>
<div><i>TDEF time 365 LINEAR 0Z01JAN1981 1DY</i></div>
<div><i>VARS 1</i></div>
<div><i>ETref=>rf 0 99</i></div>
<div><i>ENDVARS</i></div>
</div>
<div><br>
</div>
<div>script file</div>
<div><br>
</div>
<div>
<div><i>'reinit'</i></div>
<div><i>'xdfopen c:/climatedata/hiaware/nc/hiaware.ctl'</i></div>
<div><i> say result</i></div>
</div>
<div><i><br>
</i></div>
<div><i><br>
</i></div>
<div><i><br>
</i></div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
gradsusr mailing list
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>