<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_1_1432748405764_51373"><span id="yui_3_16_0_1_1432748405764_51427">Thanks Alessandra. <br></span></div><div dir="ltr" id="yui_3_16_0_1_1432748405764_51428"><span id="yui_3_16_0_1_1432748405764_51427">I am getting a Plot. But It is not reading /plotting the data from the DIRECTORY in which my DATA is there. <br></span></div><div id="yui_3_16_0_1_1432748405764_52440" dir="ltr"><span id="yui_3_16_0_1_1432748405764_51427">that's what is surprising me. <br></span></div><div id="yui_3_16_0_1_1432748405764_52434" dir="ltr"><span id="yui_3_16_0_1_1432748405764_51427"></span></div><div id="yui_3_16_0_1_1432748405764_52435"> </div><div id="yui_3_16_0_1_1432748405764_52438"><div id="yui_3_16_0_1_1432748405764_52437">Geeta. </div></div> <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, 28 May 2015 12:08 AM, Alessandra Giannini <alesall@iri.columbia.edu> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><br clear="none">Hi Geeta,<br clear="none"><br clear="none">[you should reply to all ncl-talkā¦]<br clear="none"><br clear="none">at any rate, I am not at all clear what your mystery is. <br clear="none">You are getting a plot. Is this not what you expect? If not, in what way does it not conform to your expectation?<br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none">On May 27, 2015, at 2:35 PM, Geeta Geeta <<a shape="rect" ymailto="mailto:geetag54@yahoo.com" href="mailto:geetag54@yahoo.com">geetag54@yahoo.com</a>> wrote:<br clear="none"><br clear="none">> Hi. <br clear="none">> this is the new test.ncl in which I have just changed the path of the file. <br clear="none">> <br clear="none">> <a shape="rect" ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ ncl test.ncl<br clear="none">> Copyright (C) 1995-2014 - All Rights Reserved<br clear="none">> University Corporation for Atmospheric Research<br clear="none">> NCAR Command Language Version 6.2.1<br clear="none">> The use of this software is governed by a License Agreement.<br clear="none">> See <a shape="rect" href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/ </a>for more details.<br clear="none">> <br clear="none">> Variable: a<br clear="none">> Type: file<br clear="none">> File path: $NCARG_ROOT/lib/ncarg/data/cdf/test.nc<br clear="none">> Number of global attributes: 6<br clear="none">> Number of dimensions: 13<br clear="none">> Number of variables: 107<br clear="none">> <a shape="rect" ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ ls -lrt<br clear="none">> total 183132<br clear="none">> -rw-rw-r-- 1 aditya aditya 18838952 May 27 22:27 fnl_20150423_12_00.grib2<br clear="none">> -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:29 fnl_20150423_12_00.nc<br clear="none">> -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:34 test.nc<br clear="none">> -rw-rw-r-- 1 aditya aditya 451983 May 27 23:50 ce.ps<br clear="none">> -rwxr-xr-x 1 aditya aditya 534 May 28 00:03 test.ncl<br clear="none">> -rw-rw-r-- 1 aditya aditya 234152 May 28 00:03 ce.png<br clear="none">> <a shape="rect" ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ <br clear="none">> <br clear="none">> Unable to solve the mystery.<br clear="none">> <br clear="none">> Geeta.<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Wednesday, 27 May 2015 11:57 PM, Alessandra Giannini <<a shape="rect" ymailto="mailto:alesall@iri.columbia.edu" href="mailto:alesall@iri.columbia.edu">alesall@iri.columbia.edu</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> Hi, <br clear="none">> <br clear="none">> I am not sure you need the <br clear="none">> <br clear="none">> end<br clear="none">> <br clear="none">> line when you copy and paste, and execute line by line, but if so, how come you have no <br clear="none">> <br clear="none">> begin<br clear="none">> <br clear="none">> ?<br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On May 27, 2015, at 2:23 PM, Geeta Geeta <<a shape="rect" ymailto="mailto:geetag54@yahoo.com" href="mailto:geetag54@yahoo.com">geetag54@yahoo.com</a>> wrote:<br clear="none">> <br clear="none">> > This is continuation of my mails. <br clear="none">> > The script given on the NCL site runs perfectly on my system. the ps file is created well. <br clear="none">> > <br clear="none">> > <a shape="rect" ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ echo $NCARG_ROOT<br clear="none">> > /home/aditya/geeta/ncl<br clear="none">> > <a shape="rect" ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ ncl<br clear="none">> > Copyright (C) 1995-2014 - All Rights Reserved<br clear="none">> > University Corporation for Atmospheric Research<br clear="none">> > NCAR Command Language Version 6.2.1<br clear="none">> > The use of this software is governed by a License Agreement.<br clear="none">> > See <a shape="rect" href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/ </a>for more details.<br clear="none">> > ncl 0> a = addfile("$NCARG_ROOT/lib/ncarg/data/cdf/uv300.nc","r")<br clear="none">> > ncl 1> u = a->U(1,:,:) <br clear="none">> > ncl 2> wks = gsn_open_wks("ps","ce") <br clear="none">> > ncl 3> plot = gsn_csm_contour_map_ce(wks,u,False) <br clear="none">> > ncl 4> end<br clear="none">> > fatal:syntax error: line 4 before or near end <br clear="none">> > end<br clear="none">> > --^<br clear="none">> > <br clear="none">> > fatal:error in statement<br clear="none">> > ncl 5> quit<br clear="none">> > <a shape="rect" ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ ls -lrt<br clear="none">> > total 182900<br clear="none">> > -rw-rw-r-- 1 aditya aditya 18838952 May 27 22:27 fnl_20150423_12_00.grib2<br clear="none">> > -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:29 fnl_20150423_12_00.nc<br clear="none">> > -rw-rw-r-- 1 aditya aditya 83991480 May 27 22:34 test.nc<br clear="none">> > -rw-rw-r-- 1 aditya aditya 542 May 27 23:41 test.ncl<br clear="none">> > -rw-rw-r-- 1 aditya aditya 451983 May 27 23:50 ce.ps<br clear="none">> > <a shape="rect" ymailto="mailto:aditya@agniilap" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ <br clear="none">> > <br clear="none">> > pls suggest<br clear="none">> > Geeta.<br clear="none">> <br clear="none">> > _______________________________________________<br clear="none">> > ncl-talk mailing list<br clear="none">> > List instructions, subscriber options, unsubscribe:<br clear="none">> > <a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><div class="yqt2730319921" id="yqtfd18790"><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <test.ncl><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>