[ncl-talk] unable to run NCL on Ubuntu

Geeta Geeta geetag54 at yahoo.com
Wed May 27 12:23:24 MDT 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150527/6012feb0/attachment.html 


More information about the ncl-talk mailing list