<html><head></head><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_1455026246007_25521">Dear All,</div><div id="yui_3_16_0_1_1455026246007_25521"><br></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr">I am running a program to plot AOT from Aeronet data, I succeeded in plotting the 1st year, when I tried to plot the remaining years which are of same file type same properties it gives an error;</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr"><br></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">fatal:asciiread: Unable to open input file (Book.dat)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">fatal:["Execute.c":8576]:Execute: Error occurred at or near line 5. and also this error came from the virtual machine which I think is the cause of the initial error. Virtual Machine error reads;</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">" Problem connecting to a software source.</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">There was a (possibly temporary) problem connecting toa software source". Failure: repodata/primary.sqlite.bz2 from sl-security: [Errno 256]No more mirrors to try.</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">I tried to figure out how to solve the error but I could not, kindly assist. Here is the program script in case is needed;</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">begin</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">;dir = "/home/Najib/Desktop/"</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">filen = "Book.dat"</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">;z1 = asciiread(dir+filen,(/270/),"string")</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">z1 = asciiread(filen,(/270/),"string")</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">printVarSummary(z1)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">new_str = str_split_csv(z1,",",1)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">printVarSummary(new_str)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">;Variables = new_str(0,0:6)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">;new_str = str_split_csv(z1,",",1)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">;printVarSummary(new_str)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">variables = new_str(0,0:6)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">print(variables)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">Day = stringtoint(new_str(1:269,0))</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">AOT_675 = stringtofloat(new_str(1:269,1)) </div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">AOT_500 = stringtofloat(new_str(1:269,2))</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">AOT_440 = stringtofloat(new_str(1:269,3))</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">AOT_440_675 = stringtofloat(new_str(1:269,4))</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">Alpha = stringtoint(new_str(1:269,5))</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">AOT_550 = stringtofloat(new_str(1:269,6))</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">x = Day</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">y = AOT_550</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">printVarSummary(x)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">printVarSummary(y)</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br id="yui_3_16_0_1_1455026246007_26112" class=""></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">;</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> ;**************************************************</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">; create plot</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">;**************************************************</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> wks = gsn_open_wks("ps","AOT_550")</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br id="yui_3_16_0_1_1455026246007_26120" class=""></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res = True</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@tiMainString = "Figure 2"</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@tiYAxisString = "AOT_550 (nm)"</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@tiXAxisString = "Days" ; x axis title</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br id="yui_3_16_0_1_1455026246007_26127" class=""></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@xyLineColors = (/"black"/) ; line colors</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@xyLineThicknesses = (/2/) ; line thicknesses</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@xyDashPatterns = (/2/) ; line patterns</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br id="yui_3_16_0_1_1455026246007_26133" class=""></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">; res@xyMarkLineModes = (/"Markers"/) </div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@xyMarkLineModes = (/"Lines"/) </div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@xyMarkerColors = (/ "black"/) ; color</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@xyLineColors = (/ "black"/) ; color</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@xyMarkers = (/2/) ; style</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br id="yui_3_16_0_1_1455026246007_26140" class=""></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@trXMinF = 1. ; Control limits of X</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@trXMaxF = max(x) ; and Y axes.</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@trYMinF = 0. ; Control limits of X</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> res@trYMaxF = 3. ; Control limits of X</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""> plot = gsn_xy(wks,x,y,res) ; Draw an XY plot with 1 curve.</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br id="yui_3_16_0_1_1455026246007_26148" class=""></div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class="">end</div><div id="yui_3_16_0_1_1455026246007_25521" dir="ltr" class=""><br id="yui_3_16_0_1_1455026246007_26152" class=""></div><div dir="ltr" id="yui_3_16_0_1_1455026246007_25764" class=""><br id="yui_3_16_0_1_1455026246007_25766" class=""></div></div></body></html>