[gradsusr] xdfopen error

Rupak Rajbhandari rupak.rajbhandari at gmail.com
Thu Jun 9 04:16:22 EDT 2016


Jim,

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.

It is reporting the ERROR before scanning the descriptor file. I think the
ERROR has something got to do with '*gadxdf*', whatever it is.

-rupak


On Thu, Jun 9, 2016 at 12:35 AM, James T. Potemra <jimp at hawaii.edu> wrote:

> Rupak,
> Looks like you are specifying the path incorrectly.  In the hiaware.ctl
> file you have
> c:\climatedata\hiaware\... (PC format)
> but in your script you use (or imply)  a UNIX format
> (c:/climatedata/hiaware/...)
>
> Jim
>
>
> On 6/8/16 5:07 AM, Rupak Rajbhandari wrote:
>
> Hi,
>
> 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!
>
> But when I tried to open the same file from a script, it refuses to open.
> It is reporting error before scanning the file.
>
> Am I missing something?
>
> I am using OpenGrADS 2.1
> -rupak
>
> GrADS error
>
> *gadxdf: Can't open description*
> *Scanning Descriptor File: c:/climatedata/hiaware/nc/hiaware.ctl*
> *gadxdf: Can't open description file*
>
> Descriptor File
>
> *DSET C:\climatedata\hiware\nc\HIAWARE_IGBtotal_eref_1981.nc*
> *TITLE This is only a test*
> *OPTIONS 365_day_calendar yrev*
> *UNDEF -9999.*
> *XDEF longitude 190 LINEAR   19.5857  0.0972*
> *YDEF latitude  320 LINEAR   63.9894  0.1112*
> **ZDEF             1 LINEAR 1 1*
> *TDEF time 365 LINEAR 0Z01JAN1981 1DY*
> *VARS 1*
> *ETref=>rf   0 99*
> *ENDVARS*
>
> script file
>
> *'reinit'*
> *'xdfopen   c:/climatedata/hiaware/nc/hiaware.ctl'*
> * say result*
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing listgradsusr at gradsusr.orghttp://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160609/7693304b/attachment.html 


More information about the gradsusr mailing list