<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1432748405764_21557">Hi. <br style="" class="">I have loaded the pre-compiled binaries on Ubuntu by following the procedure on the Web. <br style="" class="">I could successfully run&nbsp;&nbsp; &nbsp; <br></div><div id="yui_3_16_0_1_1432748405764_21650" dir="ltr">ng4ex gsun01n -clean&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and the window opened with a sinusodial wave plot. <br style="" class=""></div><div id="yui_3_16_0_1_1432748405764_21649" dir="ltr"><br></div><div id="yui_3_16_0_1_1432748405764_21651" dir="ltr"><br></div><div id="yui_3_16_0_1_1432748405764_21652" dir="ltr">I was trying out a small script and got the following error.&nbsp;<br style="" class="">;;;;;;Error................................<br style="" class=""><a style="" class="" id="yui_3_16_0_1_1432749959133_2323" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ ncl test.ncl<br style="" class="">&nbsp;Copyright (C) 1995-2014 - All Rights Reserved<br style="" class="">&nbsp;University Corporation for Atmospheric Research<br style="" class="">&nbsp;NCAR Command Language Version 6.2.1<br style="" class="">&nbsp;The use of this software is governed by a License Agreement.<br style="" class="">&nbsp;See <a style="" class="" id="yui_3_16_0_1_1432749959133_2330" href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/ </a>for more details.<br style="" class="">fatal:["FileSupport.c":3605]:_NclFindFileExt:
 Requested file &lt;$NCARG_ROOT/myscipts_ncl/test.nc&gt; or 
&lt;$NCARG_ROOT/myscipts_ncl/test&gt; does not exist<br style="" class=""><br style="" class="">fatal:["FileSupport.c":3973]:($NCARG_ROOT/myscipts_ncl/test.nc) has no file extension, can't determine type of file to open<br style="" class="">fatal:file (a) isn't defined<br style="" class="">fatal:["Execute.c":8578]:Execute: Error occurred at or near line 11 in file test.ncl</div><div id="yui_3_16_0_1_1432748405764_21653" dir="ltr"><br></div><div id="yui_3_16_0_1_1432748405764_21703" dir="ltr">;;;;;;;;;;;;;;;;;;;;;;All my files exist in the <a style="" class="" href="mailto:Directory..........aditya@agniilap">Directory..........aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ ls -l<br style="" class="">total 182456<br style="" class="">-rw-rw-r-- 1 aditya aditya 18838952 May 27 22:27 fnl_20150423_12_00.grib2<br style="" class="">-rw-rw-r-- 1 aditya aditya 83991480 May 27 22:29 fnl_20150423_12_00.nc<br style="" class="">-rw-rw-r-- 1 aditya aditya 83991480 May 27 22:34 test.nc<br style="" class="">-rw-rw-r-- 1 aditya aditya&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 528 May 27 22:44 test.ncl<br style="" class=""><a style="" class="" href="mailto:aditya@agniilap">aditya@agniilap</a>:~/geeta/ncl/myscripts_ncl$ <br></div><div id="yui_3_16_0_1_1432748405764_21760" dir="ltr"><br></div><div id="yui_3_16_0_1_1432748405764_21721" dir="ltr">;;;;;;;;;;;;;;;;;test.nc has valid data;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div><div id="yui_3_16_0_1_1432748405764_21720" dir="ltr">aditya@agniilap:~/geeta/ncl/myscripts_ncl$ ncdump -h test.nc | egrep "HGT_P0_L100"<br style="" class="">&nbsp;&nbsp;&nbsp; float HGT_P0_L100_GLL0(lv_ISBL0, lat_0, lon_0) ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:initial_time = "04/23/2015 (12:00)" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:forecast_time_units = "hours" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:forecast_time = 0 ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:level_type = "Isobaric surface (Pa)" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:parameter_template_discipline_category_number = 0, 0, 3, 5 ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:parameter_discipline_and_category = "Meteorological products, Mass" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:grid_type = "Latitude/longitude" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:_FillValue = 1.e+20f ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:units = "gpm" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:long_name = "Geopotential height" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:production_status = "Operational products" ;<br style="" class="">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; HGT_P0_L100_GLL0:center = "US National Weather Service - NCEP (WMC)" ;<br style="" class="">aditya@agniilap:~/geeta/ncl/myscripts_ncl$ <br style="" class=""><br style="" class="">;;;;;;;;;;;;Following
 is the script;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div><div id="yui_3_16_0_1_1432748405764_21782" dir="ltr">load 
"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br style="" class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br style="" class="">begin<br style="" class="">a=addfile("$NCARG_ROOT/myscipts_ncl/test.nc","r")<br style="" class="">GPM850=a-&gt;HGT_P0_L100_GLL0(20,:,:)<br style="" class="">printVarSummary(a)<br style="" class="">wks = gsn_open_wks("png","ce")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; open a png file<br style="" class="">&nbsp; plot = gsn_csm_contour_map_ce(wks,GPM850,False)&nbsp;&nbsp;&nbsp;&nbsp; ; create a default plot<br style="" class="">end</div><div id="yui_3_16_0_1_1432748405764_21971" dir="ltr"><br></div><div id="yui_3_16_0_1_1432748405764_21972" dir="ltr">;;;;;;;;;;;;Environment variable setting</div><div id="yui_3_16_0_1_1432748405764_21981" dir="ltr">aditya@agniilap:~/geeta/ncl/myscripts_ncl$ echo $NCARG_ROOT<br style="" class="">/home/aditya/geeta/ncl<br style="" class="">aditya@agniilap:~/geeta/ncl/myscripts_ncl$&nbsp;</div><div id="yui_3_16_0_1_1432748405764_22023" dir="ltr"><br></div><div id="yui_3_16_0_1_1432748405764_22022" dir="ltr">I am unable to sort out this Error. Pls help. <br style="" class=""><br></div><div id="yui_3_16_0_1_1432748405764_21562"><div id="yui_3_16_0_1_1432748405764_21561">Geeta. </div></div></div></body></html>