[ncl-talk] unable to run NCL on Ubuntu
Geeta Geeta
geetag54 at yahoo.com
Wed May 27 12:40:27 MDT 2015
Thanks Alessandra.
I am getting a Plot. But It is not reading /plotting the data from the DIRECTORY in which my DATA is there.
that's what is surprising me.
Geeta.
On Thursday, 28 May 2015 12:08 AM, Alessandra Giannini <alesall at iri.columbia.edu> wrote:
Hi Geeta,
[you should reply to all ncl-talk…]
at any rate, I am not at all clear what your mystery is.
You are getting a plot. Is this not what you expect? If not, in what way does it not conform to your expectation?
On May 27, 2015, at 2:35 PM, Geeta Geeta <geetag54 at yahoo.com> wrote:
> Hi.
> this is the new test.ncl in which I have just changed the path of the file.
>
> aditya at agniilap:~/geeta/ncl/myscripts_ncl$ ncl test.ncl
> Copyright (C) 1995-2014 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.2.1
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
>
> Variable: a
> Type: file
> File path: $NCARG_ROOT/lib/ncarg/data/cdf/test.nc
> Number of global attributes: 6
> Number of dimensions: 13
> Number of variables: 107
> aditya at agniilap:~/geeta/ncl/myscripts_ncl$ ls -lrt
> total 183132
> -rw-rw-r-- 1 aditya aditya 18838952 May 27 22:27 fnl_20150423_12_00.grib2
> -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:29 fnl_20150423_12_00.nc
> -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:34 test.nc
> -rw-rw-r-- 1 aditya aditya 451983 May 27 23:50 ce.ps
> -rwxr-xr-x 1 aditya aditya 534 May 28 00:03 test.ncl
> -rw-rw-r-- 1 aditya aditya 234152 May 28 00:03 ce.png
> aditya at agniilap:~/geeta/ncl/myscripts_ncl$
>
> Unable to solve the mystery.
>
> Geeta.
>
>
>
> On Wednesday, 27 May 2015 11:57 PM, Alessandra Giannini <alesall at iri.columbia.edu> wrote:
>
>
>
> Hi,
>
> I am not sure you need the
>
> end
>
> line when you copy and paste, and execute line by line, but if so, how come you have no
>
> begin
>
> ?
>
>
>
> On May 27, 2015, at 2:23 PM, Geeta Geeta <geetag54 at yahoo.com> wrote:
>
> > This is continuation of my mails.
> > The script given on the NCL site runs perfectly on my system. the ps file is created well.
> >
> > aditya at agniilap:~/geeta/ncl/myscripts_ncl$ echo $NCARG_ROOT
> > /home/aditya/geeta/ncl
> > aditya at agniilap:~/geeta/ncl/myscripts_ncl$ ncl
> > Copyright (C) 1995-2014 - All Rights Reserved
> > University Corporation for Atmospheric Research
> > NCAR Command Language Version 6.2.1
> > The use of this software is governed by a License Agreement.
> > See http://www.ncl.ucar.edu/ for more details.
> > ncl 0> a = addfile("$NCARG_ROOT/lib/ncarg/data/cdf/uv300.nc","r")
> > ncl 1> u = a->U(1,:,:)
> > ncl 2> wks = gsn_open_wks("ps","ce")
> > ncl 3> plot = gsn_csm_contour_map_ce(wks,u,False)
> > ncl 4> end
> > fatal:syntax error: line 4 before or near end
> > end
> > --^
> >
> > fatal:error in statement
> > ncl 5> quit
> > aditya at agniilap:~/geeta/ncl/myscripts_ncl$ ls -lrt
> > total 182900
> > -rw-rw-r-- 1 aditya aditya 18838952 May 27 22:27 fnl_20150423_12_00.grib2
> > -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:29 fnl_20150423_12_00.nc
> > -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:34 test.nc
> > -rw-rw-r-- 1 aditya aditya 542 May 27 23:41 test.ncl
> > -rw-rw-r-- 1 aditya aditya 451983 May 27 23:50 ce.ps
> > aditya at agniilap:~/geeta/ncl/myscripts_ncl$
> >
> > pls suggest
> > Geeta.
>
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
>
>
> <test.ncl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150527/8148caf3/attachment.html
More information about the ncl-talk
mailing list