<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body 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<br>
<br>
<div class="moz-cite-prefix">On 6/8/16 5:07 AM, Rupak Rajbhandari
wrote:<br>
</div>
<blockquote
cite="mid:CAPUBxUTKO0rd0d+3R-h_rqQz0qkPTFg+ZYUY6G_ci69Uyc_A+g@mail.gmail.com"
type="cite">
<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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</body>
</html>